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

Side by Side Diff: mojo/shell/BUILD.gn

Issue 1109993002: Adds support for mojo apps to live in their own directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 7 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//third_party/mojo/src/mojo/public/mojo.gni") 6 import("//third_party/mojo/src/mojo/public/mojo.gni")
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") 7 import("//third_party/mojo/src/mojo/public/mojo_application.gni")
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 89
90 source_set("lib") { 90 source_set("lib") {
91 sources = [ 91 sources = [
92 "child_process.cc", 92 "child_process.cc",
93 "child_process.h", 93 "child_process.h",
94 "child_process_host.cc", 94 "child_process_host.cc",
95 "child_process_host.h", 95 "child_process_host.h",
96 "context.cc", 96 "context.cc",
97 "context.h", 97 "context.h",
98 "filename_util.cc",
99 "filename_util.h",
100 "init.cc", 98 "init.cc",
101 "init.h", 99 "init.h",
102 "out_of_process_native_runner.cc", 100 "out_of_process_native_runner.cc",
103 "out_of_process_native_runner.h", 101 "out_of_process_native_runner.h",
104 "task_runners.cc", 102 "task_runners.cc",
105 "task_runners.h", 103 "task_runners.h",
106 "url_resolver.cc", 104 "url_resolver.cc",
107 "url_resolver.h", 105 "url_resolver.h",
108 ] 106 ]
109 107
(...skipping 10 matching lines...) Expand all
120 "//third_party/mojo/src/mojo/edk/system", 118 "//third_party/mojo/src/mojo/edk/system",
121 "//third_party/mojo/src/mojo/public/cpp/bindings", 119 "//third_party/mojo/src/mojo/public/cpp/bindings",
122 "//third_party/mojo/src/mojo/public/interfaces/application", 120 "//third_party/mojo/src/mojo/public/interfaces/application",
123 "//mojo/services/network/public/interfaces", 121 "//mojo/services/network/public/interfaces",
124 "//mojo/shell/application_manager", 122 "//mojo/shell/application_manager",
125 "//mojo/services/tracing:bindings", 123 "//mojo/services/tracing:bindings",
126 "//url", 124 "//url",
127 ] 125 ]
128 126
129 public_deps = [ 127 public_deps = [
130 ":switches", 128 ":common",
131 ] 129 ]
132 130
133 if (is_android) { 131 if (is_android) {
134 sources += [ 132 sources += [
135 "android/android_handler.cc", 133 "android/android_handler.cc",
136 "android/android_handler.h", 134 "android/android_handler.h",
137 "android/android_handler_loader.cc", 135 "android/android_handler_loader.cc",
138 "android/android_handler_loader.h", 136 "android/android_handler_loader.h",
139 "android/background_application_loader.cc", 137 "android/background_application_loader.cc",
140 "android/background_application_loader.h", 138 "android/background_application_loader.h",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 177
180 # This target has to include the public thunk headers, which generally 178 # This target has to include the public thunk headers, which generally
181 # shouldn't be included without picking an implementation. We are providing 179 # shouldn't be included without picking an implementation. We are providing
182 # the implementation but the thunk header target cannot declare that we are 180 # the implementation but the thunk header target cannot declare that we are
183 # permitted to include it since it's in the public SDK and we are not. 181 # permitted to include it since it's in the public SDK and we are not.
184 # Suppress include checking so we can still check the rest of the targets in 182 # Suppress include checking so we can still check the rest of the targets in
185 # this file. 183 # this file.
186 check_includes = false 184 check_includes = false
187 } 185 }
188 186
189 source_set("switches") { 187 source_set("common") {
190 sources = [ 188 sources = [
189 "filename_util.cc",
190 "filename_util.h",
191 "switches.cc", 191 "switches.cc",
192 "switches.h", 192 "switches.h",
193 ] 193 ]
194 194
195 deps = [ 195 deps = [
196 "//base", 196 "//base",
197 ] 197 ]
198 } 198 }
199 199
200 if (is_android) { 200 if (is_android) {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 "//third_party/mojo/src/mojo/public/cpp/system:system", 403 "//third_party/mojo/src/mojo/public/cpp/system:system",
404 404
405 #"//mojo/services/http_server/public/cpp", 405 #"//mojo/services/http_server/public/cpp",
406 #"//mojo/services/http_server/public/interfaces", 406 #"//mojo/services/http_server/public/interfaces",
407 "//mojo/services/network/public/interfaces", 407 "//mojo/services/network/public/interfaces",
408 "//mojo/shell/test:bindings", 408 "//mojo/shell/test:bindings",
409 ] 409 ]
410 410
411 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] 411 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ]
412 } 412 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698