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

Side by Side Diff: ash/sysui/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 | « ash/mus/BUILD.gn ('k') | chrome/app/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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo_application.gni")
7 import("//mojo/public/mojo_application_manifest.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//services/shell/public/cpp/service.gni")
8 import("//services/shell/public/service_manifest.gni")
9 9
10 source_set("lib") { 10 source_set("lib") {
11 sources = [ 11 sources = [
12 "app_list_presenter_mus.cc", 12 "app_list_presenter_mus.cc",
13 "app_list_presenter_mus.h", 13 "app_list_presenter_mus.h",
14 "context_menu_mus.cc", 14 "context_menu_mus.cc",
15 "context_menu_mus.h", 15 "context_menu_mus.h",
16 "keyboard_ui_mus.cc", 16 "keyboard_ui_mus.cc",
17 "keyboard_ui_mus.h", 17 "keyboard_ui_mus.h",
18 "pointer_watcher_delegate_mus.cc", 18 "pointer_watcher_delegate_mus.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 public_deps = [ 66 public_deps = [
67 "//ash/sysui/public/interfaces", 67 "//ash/sysui/public/interfaces",
68 "//mash/shelf/public/interfaces", 68 "//mash/shelf/public/interfaces",
69 ] 69 ]
70 70
71 if (is_chromeos) { 71 if (is_chromeos) {
72 deps += [ "//chromeos" ] 72 deps += [ "//chromeos" ]
73 } 73 }
74 } 74 }
75 75
76 mojo_application_manifest("manifest") { 76 service_manifest("manifest") {
77 application_name = "ash_sysui" 77 name = "ash_sysui"
78 source = "manifest.json" 78 source = "manifest.json"
79 } 79 }
80 80
81 mojo_native_application("sysui") { 81 service("sysui") {
82 output_name = "ash_sysui" 82 output_name = "ash_sysui"
83 sources = [ 83 sources = [
84 "main.cc", 84 "main.cc",
85 ] 85 ]
86 deps = [ 86 deps = [
87 ":lib", 87 ":lib",
88 "//ash/resources:ash_test_resources_100_percent", 88 "//ash/resources:ash_test_resources_100_percent",
89 "//ash/resources:ash_test_resources_200_percent", 89 "//ash/resources:ash_test_resources_200_percent",
90 "//ash/strings:ash_test_strings", 90 "//ash/strings:ash_test_strings",
91 "//services/shell/public/cpp", 91 "//services/shell/public/cpp",
92 ] 92 ]
93 93
94 data_deps = [ 94 data_deps = [
95 ":manifest", 95 ":manifest",
96 "//services/ui", 96 "//services/ui",
97 ] 97 ]
98 98
99 # TODO: Load locale-specific strings and explicit resource dependencies. 99 # TODO: Load locale-specific strings and explicit resource dependencies.
100 resources = [ 100 resources = [
101 "$root_out_dir/ash_test_resources_100_percent.pak", 101 "$root_out_dir/ash_test_resources_100_percent.pak",
102 "$root_out_dir/ash_test_resources_200_percent.pak", 102 "$root_out_dir/ash_test_resources_200_percent.pak",
103 "$root_out_dir/ash_test_strings.pak", 103 "$root_out_dir/ash_test_strings.pak",
104 ] 104 ]
105 } 105 }
OLDNEW
« no previous file with comments | « ash/mus/BUILD.gn ('k') | chrome/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698