| 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/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//mojo/tools/embed/rules.gni") | 9 import("//mojo/tools/embed/rules.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 public_deps = [ | 117 public_deps = [ |
| 118 ":native_application_support", | 118 ":native_application_support", |
| 119 ":switches", | 119 ":switches", |
| 120 ] | 120 ] |
| 121 } | 121 } |
| 122 | 122 |
| 123 # TODO(vtl): Split this target into parent/child/common libs. | 123 # TODO(vtl): Split this target into parent/child/common libs. |
| 124 source_set("lib") { | 124 source_set("lib") { |
| 125 sources = [ | 125 sources = [ |
| 126 "background_application_loader.cc", |
| 127 "background_application_loader.h", |
| 126 "child_process_host.cc", | 128 "child_process_host.cc", |
| 127 "child_process_host.h", | 129 "child_process_host.h", |
| 128 "command_line_util.cc", | 130 "command_line_util.cc", |
| 129 "command_line_util.h", | 131 "command_line_util.h", |
| 130 "context.cc", | 132 "context.cc", |
| 131 "context.h", | 133 "context.h", |
| 132 "filename_util.cc", | 134 "filename_util.cc", |
| 133 "filename_util.h", | 135 "filename_util.h", |
| 134 "in_process_native_runner.cc", | 136 "in_process_native_runner.cc", |
| 135 "in_process_native_runner.h", | 137 "in_process_native_runner.h", |
| 136 "out_of_process_native_runner.cc", | 138 "out_of_process_native_runner.cc", |
| 137 "out_of_process_native_runner.h", | 139 "out_of_process_native_runner.h", |
| 140 "service_cache_loader.cc", |
| 141 "service_cache_loader.h", |
| 138 "task_runners.cc", | 142 "task_runners.cc", |
| 139 "task_runners.h", | 143 "task_runners.h", |
| 140 "tracer.cc", | 144 "tracer.cc", |
| 141 "tracer.h", | 145 "tracer.h", |
| 142 "url_resolver.cc", | 146 "url_resolver.cc", |
| 143 "url_resolver.h", | 147 "url_resolver.h", |
| 144 ] | 148 ] |
| 145 | 149 |
| 146 deps = [ | 150 deps = [ |
| 147 ":child_controller_bindings", | 151 ":child_controller_bindings", |
| 148 "//base", | 152 "//base", |
| 149 "//base/third_party/dynamic_annotations", | 153 "//base/third_party/dynamic_annotations", |
| 150 "//base:base_static", | 154 "//base:base_static", |
| 151 "//mojo/application", | 155 "//mojo/application", |
| 152 "//mojo/common", | 156 "//mojo/common", |
| 153 "//mojo/common:tracing_impl", | 157 "//mojo/common:tracing_impl", |
| 154 "//mojo/edk/system", | 158 "//mojo/edk/system", |
| 155 "//mojo/public/cpp/bindings", | 159 "//mojo/public/cpp/bindings", |
| 156 "//mojo/public/interfaces/application", | 160 "//mojo/public/interfaces/application", |
| 157 "//mojo/services/network/public/interfaces", | 161 "//mojo/services/network/public/interfaces", |
| 158 "//shell/application_manager", | 162 "//shell/application_manager", |
| 163 "//services/service_cache", |
| 159 "//services/tracing:bindings", | 164 "//services/tracing:bindings", |
| 160 "//url", | 165 "//url", |
| 161 ] | 166 ] |
| 162 | 167 |
| 163 public_deps = [ | 168 public_deps = [ |
| 164 ":common_lib", | 169 ":common_lib", |
| 165 ] | 170 ] |
| 166 | 171 |
| 167 if (is_android) { | 172 if (is_android) { |
| 168 sources += [ | 173 sources += [ |
| 169 "android/android_handler.cc", | 174 "android/android_handler.cc", |
| 170 "android/android_handler.h", | 175 "android/android_handler.h", |
| 171 "android/android_handler_loader.cc", | 176 "android/android_handler_loader.cc", |
| 172 "android/android_handler_loader.h", | 177 "android/android_handler_loader.h", |
| 173 "android/background_application_loader.cc", | |
| 174 "android/background_application_loader.h", | |
| 175 "android/intent_receiver_manager_factory.cc", | 178 "android/intent_receiver_manager_factory.cc", |
| 176 "android/intent_receiver_manager_factory.h", | 179 "android/intent_receiver_manager_factory.h", |
| 177 "android/intent_receiver_manager_impl.cc", | 180 "android/intent_receiver_manager_impl.cc", |
| 178 "android/intent_receiver_manager_impl.h", | 181 "android/intent_receiver_manager_impl.h", |
| 179 "android/keyboard_impl.cc", | 182 "android/keyboard_impl.cc", |
| 180 "android/keyboard_impl.h", | 183 "android/keyboard_impl.h", |
| 181 "android/native_viewport_application_loader.cc", | 184 "android/native_viewport_application_loader.cc", |
| 182 "android/native_viewport_application_loader.h", | 185 "android/native_viewport_application_loader.h", |
| 183 "android/ui_application_loader_android.cc", | 186 "android/ui_application_loader_android.cc", |
| 184 "android/ui_application_loader_android.h", | 187 "android/ui_application_loader_android.h", |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 "child_controller.mojom", | 372 "child_controller.mojom", |
| 370 ] | 373 ] |
| 371 | 374 |
| 372 deps = [ | 375 deps = [ |
| 373 "//mojo/public/interfaces/application", | 376 "//mojo/public/interfaces/application", |
| 374 ] | 377 ] |
| 375 } | 378 } |
| 376 | 379 |
| 377 test("mojo_shell_tests") { | 380 test("mojo_shell_tests") { |
| 378 sources = [ | 381 sources = [ |
| 382 "background_application_loader_unittest.cc", |
| 379 "child_process_host_unittest.cc", | 383 "child_process_host_unittest.cc", |
| 380 "command_line_util_unittest.cc", | 384 "command_line_util_unittest.cc", |
| 381 "context_unittest.cc", | 385 "context_unittest.cc", |
| 382 "data_pipe_peek_unittest.cc", | 386 "data_pipe_peek_unittest.cc", |
| 383 "in_process_native_runner_unittest.cc", | 387 "in_process_native_runner_unittest.cc", |
| 384 "native_runner_unittest.cc", | 388 "native_runner_unittest.cc", |
| 385 "shell_test_base.cc", | 389 "shell_test_base.cc", |
| 386 "shell_test_base.h", | 390 "shell_test_base.h", |
| 387 "shell_test_base_android.cc", | 391 "shell_test_base_android.cc", |
| 388 "shell_test_base_unittest.cc", | 392 "shell_test_base_unittest.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 405 "//shell/application_manager", | 409 "//shell/application_manager", |
| 406 ] | 410 ] |
| 407 | 411 |
| 408 data_deps = [ | 412 data_deps = [ |
| 409 ":mojo_shell_child", | 413 ":mojo_shell_child", |
| 410 "//services/test_service:test_app", | 414 "//services/test_service:test_app", |
| 411 "//services/test_service:test_request_tracker_app", | 415 "//services/test_service:test_request_tracker_app", |
| 412 ] | 416 ] |
| 413 | 417 |
| 414 if (is_android) { | 418 if (is_android) { |
| 415 sources += [ "android/background_application_loader_unittest.cc" ] | |
| 416 | |
| 417 deps += [ ":jni_headers" ] | 419 deps += [ ":jni_headers" ] |
| 418 | 420 |
| 419 apk_deps = [ | 421 apk_deps = [ |
| 420 ":copy_mojo_shell_test_assets", | 422 ":copy_mojo_shell_test_assets", |
| 421 ":mojo_shell_tests_java", | 423 ":mojo_shell_tests_java", |
| 422 ] | 424 ] |
| 423 | 425 |
| 424 apk_asset_location = mojo_shell_test_assets_dir | 426 apk_asset_location = mojo_shell_test_assets_dir |
| 425 } | 427 } |
| 426 } | 428 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 455 "//mojo/public/cpp/system:system", | 457 "//mojo/public/cpp/system:system", |
| 456 "//mojo/services/http_server/public/cpp", | 458 "//mojo/services/http_server/public/cpp", |
| 457 "//mojo/services/http_server/public/interfaces", | 459 "//mojo/services/http_server/public/interfaces", |
| 458 "//mojo/services/network/public/interfaces", | 460 "//mojo/services/network/public/interfaces", |
| 459 "//shell/test:bindings", | 461 "//shell/test:bindings", |
| 460 ":embed_pingable", | 462 ":embed_pingable", |
| 461 ] | 463 ] |
| 462 | 464 |
| 463 data_deps = [ "//services/http_server:http_server($default_toolchain)" ] | 465 data_deps = [ "//services/http_server:http_server($default_toolchain)" ] |
| 464 } | 466 } |
| OLD | NEW |