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

Side by Side Diff: shell/BUILD.gn

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/window_manager/window_manager_api_unittest.cc ('k') | shell/android/android_handler.h » ('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 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("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 # We don't support building in the component build since mojo apps are 9 # We don't support building in the component build since mojo apps are
10 # inherently components. 10 # inherently components.
11 assert(!is_component_build) 11 assert(!is_component_build)
12 12
13 group("shell") {
14 testonly = true
15
16 deps = [
17 ":mojo_shell",
18 ":tests",
19 ]
20
21 if (!is_win) {
22 deps += [ ":mojo_launcher" ]
23 }
24 }
25
26 group("tests") {
27 testonly = true
28 deps = [
29 ":external_application_unittests",
30 ":mojo_shell_tests",
31 ]
32 }
33
13 if (is_android) { 34 if (is_android) {
14 import("//build/config/android/config.gni") 35 import("//build/config/android/config.gni")
15 import("//build/config/android/rules.gni") 36 import("//build/config/android/rules.gni")
16 } 37 }
17 38
18 if (!use_prebuilt_mojo_shell) { 39 if (!use_prebuilt_mojo_shell) {
19 executable("mojo_shell") { 40 executable("mojo_shell") {
20 sources = [ 41 sources = [
21 "desktop/mojo_main.cc", 42 "desktop/mojo_main.cc",
22 ] 43 ]
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 "//base/third_party/dynamic_annotations", 152 "//base/third_party/dynamic_annotations",
132 "//base:base_static", 153 "//base:base_static",
133 "//mojo/application", 154 "//mojo/application",
134 "//mojo/application_manager", 155 "//mojo/application_manager",
135 "//mojo/common", 156 "//mojo/common",
136 "//mojo/common:tracing_impl", 157 "//mojo/common:tracing_impl",
137 "//mojo/edk/system", 158 "//mojo/edk/system",
138 "//mojo/public/cpp/bindings", 159 "//mojo/public/cpp/bindings",
139 "//mojo/public/interfaces/application", 160 "//mojo/public/interfaces/application",
140 "//mojo/services/public/interfaces/network", 161 "//mojo/services/public/interfaces/network",
141 "//mojo/shell/domain_socket", 162 "//shell/domain_socket",
142 "//mojo/spy", 163 "//mojo/spy",
143 "//services/tracing:bindings", 164 "//services/tracing:bindings",
144 "//url", 165 "//url",
145 ] 166 ]
146 167
147 if (is_win) { 168 if (is_win) {
148 deps -= [ "//mojo/shell/domain_socket" ] 169 deps -= [ "//shell/domain_socket" ]
149 } 170 }
150 171
151 if (is_android) { 172 if (is_android) {
152 sources += [ 173 sources += [
153 "android/android_handler.h", 174 "android/android_handler.h",
154 "android/android_handler.cc", 175 "android/android_handler.cc",
155 "android/android_handler_loader.h", 176 "android/android_handler_loader.h",
156 "android/android_handler_loader.cc", 177 "android/android_handler_loader.cc",
157 "network_application_loader.cc", 178 "network_application_loader.cc",
158 "network_application_loader.h", 179 "network_application_loader.h",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 "external_application_registrar_connection.h", 326 "external_application_registrar_connection.h",
306 ] 327 ]
307 328
308 deps = [ 329 deps = [
309 ":external_application_registrar_bindings", 330 ":external_application_registrar_bindings",
310 "//base", 331 "//base",
311 "//mojo/common", 332 "//mojo/common",
312 "//mojo/edk/system", 333 "//mojo/edk/system",
313 "//mojo/public/cpp/bindings", 334 "//mojo/public/cpp/bindings",
314 "//mojo/public/interfaces/application", 335 "//mojo/public/interfaces/application",
315 "//mojo/shell/domain_socket", 336 "//shell/domain_socket",
316 "//url", 337 "//url",
317 ] 338 ]
318 339
319 if (is_win) { 340 if (is_win) {
320 deps -= [ "//mojo/shell/domain_socket" ] 341 deps -= [ "//shell/domain_socket" ]
321 } 342 }
322 } 343 }
323 344
324 # GYP version: mojo/mojo.gyp:mojo_shell_tests 345 # GYP version: mojo/mojo.gyp:mojo_shell_tests
325 test("mojo_shell_tests") { 346 test("mojo_shell_tests") {
326 sources = [ 347 sources = [
327 "child_process_host_unittest.cc", 348 "child_process_host_unittest.cc",
328 "data_pipe_peek_unittest.cc", 349 "data_pipe_peek_unittest.cc",
329 "dynamic_application_loader_unittest.cc", 350 "dynamic_application_loader_unittest.cc",
330 "in_process_dynamic_service_runner_unittest.cc", 351 "in_process_dynamic_service_runner_unittest.cc",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 ":external_application_registrar_bindings", 415 ":external_application_registrar_bindings",
395 "//base", 416 "//base",
396 "//base/test:test_support", 417 "//base/test:test_support",
397 "//testing/gtest", 418 "//testing/gtest",
398 "//url", 419 "//url",
399 "//mojo/application", 420 "//mojo/application",
400 "//mojo/application_manager", 421 "//mojo/application_manager",
401 "//mojo/common", 422 "//mojo/common",
402 "//mojo/edk/system", 423 "//mojo/edk/system",
403 "//mojo/environment:chromium", 424 "//mojo/environment:chromium",
404 "//mojo/shell/domain_socket", 425 "//shell/domain_socket",
405 "//mojo/shell/domain_socket:tests", 426 "//shell/domain_socket:tests",
406 ] 427 ]
407 428
408 if (is_win) { 429 if (is_win) {
409 sources -= [ 430 sources -= [
410 "incoming_connection_listener_unittest.cc", 431 "incoming_connection_listener_unittest.cc",
411 "external_application_listener_unittest.cc", 432 "external_application_listener_unittest.cc",
412 ] 433 ]
413 434
414 deps -= [ 435 deps -= [
415 ":lib", 436 ":lib",
416 ":external_application_registrar_connection", 437 ":external_application_registrar_connection",
417 ":external_application_registrar_bindings", 438 ":external_application_registrar_bindings",
418 "//mojo/shell/domain_socket", 439 "//shell/domain_socket",
419 "//mojo/shell/domain_socket:tests", 440 "//shell/domain_socket:tests",
420 ] 441 ]
421 } 442 }
422 } 443 }
OLDNEW
« no previous file with comments | « services/window_manager/window_manager_api_unittest.cc ('k') | shell/android/android_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698