Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: services/ui/demo/BUILD.gn

Issue 2138433002: Add unit test for mus_demo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | services/ui/demo/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
7 import("//testing/test.gni")
7 8
8 mojo_native_application("mus_demo") { 9 mojo_native_application("mus_demo") {
9 sources = [ 10 sources = [
10 "main.cc", 11 "main.cc",
11 "mus_demo.cc", 12 "mus_demo.cc",
12 "mus_demo.h", 13 "mus_demo.h",
13 ] 14 ]
14 15
15 deps = [ 16 deps = [
16 "//base", 17 "//base",
(...skipping 11 matching lines...) Expand all
28 ":manifest", 29 ":manifest",
29 "//services/ui", 30 "//services/ui",
30 ] 31 ]
31 } 32 }
32 33
33 mojo_application_manifest("manifest") { 34 mojo_application_manifest("manifest") {
34 application_name = "mus_demo" 35 application_name = "mus_demo"
35 source = "manifest.json" 36 source = "manifest.json"
36 } 37 }
37 38
39 mojo_application_manifest("test_manifest") {
40 type = "exe"
41 application_name = "mus_demo_unittests"
42 source = "test_manifest.json"
43 }
44
45 test("mus_demo_unittests") {
46 testonly = true
47
48 sources = [
49 "mus_demo_unittests.cc",
50 ]
51
52 deps = [
53 ":demo",
54 "//base",
55 "//services/shell/public/cpp",
56 "//services/shell/public/cpp:service_test_support",
57 "//services/ui/common:run_all_shelltests",
58 "//services/ui/public/interfaces",
59 "//testing/gtest",
60 ]
61
62 data_deps = [
63 ":test_manifest",
64 ]
65 }
66
38 group("demo") { 67 group("demo") {
39 deps = [ 68 deps = [
40 ":mus_demo", 69 ":mus_demo",
41 ] 70 ]
42 } 71 }
OLDNEW
« no previous file with comments | « no previous file | services/ui/demo/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698