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

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

Issue 2164503006: Rename mojo_application GN templates to service* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 | « services/ui/common/BUILD.gn ('k') | services/ui/gpu/BUILD.gn » ('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("//services/shell/public/cpp/service.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//services/shell/public/service_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 mojo_native_application("mus_demo") { 9 service("mus_demo") {
10 sources = [ 10 sources = [
11 "main.cc", 11 "main.cc",
12 "mus_demo.cc", 12 "mus_demo.cc",
13 "mus_demo.h", 13 "mus_demo.h",
14 ] 14 ]
15 15
16 deps = [ 16 deps = [
17 "//base", 17 "//base",
18 "//components/bitmap_uploader", 18 "//components/bitmap_uploader",
19 "//mojo/public/cpp/bindings", 19 "//mojo/public/cpp/bindings",
20 "//services/shell/public/cpp", 20 "//services/shell/public/cpp",
21 "//services/shell/public/cpp:sources", 21 "//services/shell/public/cpp:sources",
22 "//services/ui/public/cpp", 22 "//services/ui/public/cpp",
23 "//services/ui/public/interfaces", 23 "//services/ui/public/interfaces",
24 "//skia", 24 "//skia",
25 "//ui/gfx/geometry", 25 "//ui/gfx/geometry",
26 ] 26 ]
27 27
28 data_deps = [ 28 data_deps = [
29 ":manifest", 29 ":manifest",
30 "//services/ui", 30 "//services/ui",
31 ] 31 ]
32 } 32 }
33 33
34 mojo_application_manifest("manifest") { 34 service_manifest("manifest") {
35 application_name = "mus_demo" 35 name = "mus_demo"
36 source = "manifest.json" 36 source = "manifest.json"
37 } 37 }
38 38
39 mojo_application_manifest("test_manifest") { 39 service_manifest("test_manifest") {
40 type = "exe" 40 type = "exe"
41 application_name = "mus_demo_unittests" 41 name = "mus_demo_unittests"
42 source = "test_manifest.json" 42 source = "test_manifest.json"
43 } 43 }
44 44
45 test("mus_demo_unittests") { 45 test("mus_demo_unittests") {
46 testonly = true 46 testonly = true
47 47
48 sources = [ 48 sources = [
49 "mus_demo_unittests.cc", 49 "mus_demo_unittests.cc",
50 ] 50 ]
51 51
(...skipping 10 matching lines...) Expand all
62 data_deps = [ 62 data_deps = [
63 ":test_manifest", 63 ":test_manifest",
64 ] 64 ]
65 } 65 }
66 66
67 group("demo") { 67 group("demo") {
68 deps = [ 68 deps = [
69 ":mus_demo", 69 ":mus_demo",
70 ] 70 ]
71 } 71 }
OLDNEW
« no previous file with comments | « services/ui/common/BUILD.gn ('k') | services/ui/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698