Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
| 11 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
| 12 } | 12 } |
| 13 | 13 |
| 14 if (!use_prebuilt_mojo_shell) { | 14 if (!use_prebuilt_mojo_shell) { |
| 15 | 15 |
| 16 # GYP version: mojo/mojo.gyp:mojo_shell | |
| 17 executable("mojo_shell") { | 16 executable("mojo_shell") { |
| 18 sources = [ | 17 sources = [ |
| 19 "desktop/mojo_main.cc" | 18 "desktop/mojo_main.cc" |
| 20 ] | 19 ] |
| 21 | 20 |
| 22 deps = [ | 21 deps = [ |
| 23 ":lib", | 22 ":lib", |
| 24 "//base", | 23 "//base", |
| 25 "//build/config/sanitizers:deps", | 24 "//build/config/sanitizers:deps", |
| 26 "//mojo/common", | 25 "//mojo/common", |
| 27 "//mojo/environment:chromium", | 26 "//mojo/environment:chromium", |
| 28 ] | 27 ] |
| 29 | |
| 30 if (is_component_build) { | |
| 31 deps += ["//ui/gl"] | |
| 32 } | |
| 33 } | 28 } |
| 34 | 29 |
| 35 } # !use_prebuilt_mojo_shell | 30 } # !use_prebuilt_mojo_shell |
| 36 | 31 |
| 37 # GYP version: mojo/mojo.gyp:mojo_shell_lib | 32 executable("mojo_launcher") { |
| 33 sources = [ | |
| 34 "launcher_main.cc" | |
| 35 ] | |
| 36 | |
| 37 deps = [ | |
| 38 ":external_application_registrar_bindings", | |
| 39 ":external_application_registrar_connection", | |
| 40 ":in_process_dynamic_service_runner", | |
| 41 "//base", | |
| 42 "//mojo/common", | |
| 43 "//mojo/edk/system", | |
| 44 "//mojo/environment:chromium", | |
| 45 ] | |
| 46 } | |
| 47 | |
| 48 source_set("in_process_dynamic_service_runner") { | |
| 49 sources = [ | |
| 50 "dynamic_service_runner.cc", | |
| 51 "dynamic_service_runner.h", | |
| 52 "in_process_dynamic_service_runner.cc", | |
| 53 "in_process_dynamic_service_runner.h", | |
| 54 ] | |
| 55 | |
| 56 deps = [ | |
| 57 "//mojo/gles2", | |
|
Chris Masone
2014/11/04 01:35:34
Is this going to remain necessary always, or could
| |
| 58 ] | |
| 59 } | |
| 60 | |
| 38 source_set("lib") { | 61 source_set("lib") { |
| 39 sources = [ | 62 sources = [ |
| 40 "app_child_process.cc", | 63 "app_child_process.cc", |
| 41 "app_child_process.h", | 64 "app_child_process.h", |
| 42 "app_child_process_host.cc", | 65 "app_child_process_host.cc", |
| 43 "app_child_process_host.h", | 66 "app_child_process_host.h", |
| 44 "child_process.cc", | 67 "child_process.cc", |
| 45 "child_process.h", | 68 "child_process.h", |
| 46 "child_process_host.cc", | 69 "child_process_host.cc", |
| 47 "child_process_host.h", | 70 "child_process_host.h", |
| 48 "context.cc", | 71 "context.cc", |
| 49 "context.h", | 72 "context.h", |
| 50 "dynamic_application_loader.cc", | 73 "dynamic_application_loader.cc", |
| 51 "dynamic_application_loader.h", | 74 "dynamic_application_loader.h", |
| 52 "dynamic_service_runner.cc", | |
| 53 "dynamic_service_runner.h", | |
| 54 "external_application_listener.h", | 75 "external_application_listener.h", |
| 55 "external_application_listener_posix.cc", | 76 "external_application_listener_posix.cc", |
| 56 "external_application_listener_win.cc", | 77 "external_application_listener_win.cc", |
| 57 "filename_util.cc", | 78 "filename_util.cc", |
| 58 "filename_util.h", | 79 "filename_util.h", |
| 59 "in_process_dynamic_service_runner.cc", | |
| 60 "in_process_dynamic_service_runner.h", | |
| 61 "incoming_connection_listener_posix.cc", | 80 "incoming_connection_listener_posix.cc", |
| 62 "incoming_connection_listener_posix.h", | 81 "incoming_connection_listener_posix.h", |
| 63 "init.cc", | 82 "init.cc", |
| 64 "init.h", | 83 "init.h", |
| 65 "mojo_url_resolver.cc", | 84 "mojo_url_resolver.cc", |
| 66 "mojo_url_resolver.h", | 85 "mojo_url_resolver.h", |
| 67 "out_of_process_dynamic_service_runner.cc", | 86 "out_of_process_dynamic_service_runner.cc", |
| 68 "out_of_process_dynamic_service_runner.h", | 87 "out_of_process_dynamic_service_runner.h", |
| 69 "switches.cc", | 88 "switches.cc", |
| 70 "switches.h", | 89 "switches.h", |
| 71 "task_runners.cc", | 90 "task_runners.cc", |
| 72 "task_runners.h", | 91 "task_runners.h", |
| 73 "test_child_process.cc", | 92 "test_child_process.cc", |
| 74 "test_child_process.h", | 93 "test_child_process.h", |
| 75 "ui_application_loader_android.cc", | 94 "ui_application_loader_android.cc", |
| 76 "ui_application_loader_android.h", | 95 "ui_application_loader_android.h", |
| 77 ] | 96 ] |
| 78 | 97 |
| 79 deps = [ | 98 deps = [ |
| 80 ":app_child_process_bindings", | 99 ":app_child_process_bindings", |
| 81 ":external_application_registrar_bindings", | 100 ":external_application_registrar_bindings", |
| 82 ":external_service_bindings", | 101 ":external_service_bindings", |
| 102 ":in_process_dynamic_service_runner", | |
| 83 "//base", | 103 "//base", |
| 84 "//base/third_party/dynamic_annotations", | 104 "//base/third_party/dynamic_annotations", |
| 85 "//base:base_static", | 105 "//base:base_static", |
| 86 "//mojo/application", | 106 "//mojo/application", |
| 87 "//mojo/application_manager", | 107 "//mojo/application_manager", |
| 88 "//mojo/common", | 108 "//mojo/common", |
| 89 "//mojo/edk/system", | 109 "//mojo/edk/system", |
| 90 "//mojo/gles2", | |
| 91 "//mojo/public/interfaces/application", | 110 "//mojo/public/interfaces/application", |
| 92 "//mojo/services/public/interfaces/network", | 111 "//mojo/services/public/interfaces/network", |
| 93 "//mojo/shell/domain_socket", | 112 "//mojo/shell/domain_socket", |
| 94 "//mojo/spy", | 113 "//mojo/spy", |
| 95 ] | 114 ] |
| 96 | 115 |
| 97 if (is_android) { | 116 if (is_android) { |
| 98 sources += [ | 117 sources += [ |
| 99 "network_application_loader.cc", | 118 "network_application_loader.cc", |
| 100 "network_application_loader.h", | 119 "network_application_loader.h", |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 "//base/test:test_support", | 285 "//base/test:test_support", |
| 267 "//testing/gtest", | 286 "//testing/gtest", |
| 268 "//url", | 287 "//url", |
| 269 "//mojo/application_manager", | 288 "//mojo/application_manager", |
| 270 "//mojo/common", | 289 "//mojo/common", |
| 271 "//mojo/edk/system", | 290 "//mojo/edk/system", |
| 272 "//mojo/environment:chromium", | 291 "//mojo/environment:chromium", |
| 273 "//mojo/shell/domain_socket:tests", | 292 "//mojo/shell/domain_socket:tests", |
| 274 ] | 293 ] |
| 275 } | 294 } |
| OLD | NEW |