Index: mojo/shell/BUILD.gn |
diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn |
deleted file mode 100644 |
index ff5f349ddaf203c4bf9892b227175b6a28924b96..0000000000000000000000000000000000000000 |
--- a/mojo/shell/BUILD.gn |
+++ /dev/null |
@@ -1,202 +0,0 @@ |
-# Copyright 2014 The Chromium Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-import("//mojo/public/tools/bindings/mojom.gni") |
-import("//build/config/ui.gni") |
- |
-executable("mojo_shell") { |
- deps = [ |
- ":lib", |
- "//base", |
- "//mojo/common", |
- "//mojo/environment:chromium", |
- ] |
- |
- if (is_component_build) { |
- deps += ["//ui/gl"] |
- } |
- |
- sources = [ |
- "desktop/mojo_main.cc" |
- ] |
-} |
- |
-# GYP version: mojo/mojo.gyp:mojo_shell_lib |
-source_set("lib") { |
- deps = [ |
- ":app_child_process_bindings", |
- ":external_application_registrar_bindings", |
- ":external_service_bindings", |
- "//base", |
- "//base/third_party/dynamic_annotations", |
- "//base:base_static", |
- "//mojo/application", |
- "//mojo/application_manager", |
- "//mojo/common", |
- "//mojo/edk/system", |
- "//mojo/gles2", |
- "//mojo/public/interfaces/application", |
- "//mojo/services/public/interfaces/network", |
- "//mojo/spy", |
- ] |
- |
- sources = [ |
- "app_child_process.cc", |
- "app_child_process.h", |
- "app_child_process_host.cc", |
- "app_child_process_host.h", |
- "child_process.cc", |
- "child_process.h", |
- "child_process_host.cc", |
- "child_process_host.h", |
- "context.cc", |
- "context.h", |
- "dynamic_application_loader.cc", |
- "dynamic_application_loader.h", |
- "dynamic_service_runner.h", |
- "external_application_listener.h", |
- "external_application_listener_posix.cc", |
- "external_application_listener_win.cc", |
- "filename_util.cc", |
- "filename_util.h", |
- "in_process_dynamic_service_runner.cc", |
- "in_process_dynamic_service_runner.h", |
- "incoming_connection_listener_posix.cc", |
- "incoming_connection_listener_posix.h", |
- "init.cc", |
- "init.h", |
- "mojo_url_resolver.cc", |
- "mojo_url_resolver.h", |
- "out_of_process_dynamic_service_runner.cc", |
- "out_of_process_dynamic_service_runner.h", |
- "switches.cc", |
- "switches.h", |
- "task_runners.cc", |
- "task_runners.h", |
- "test_child_process.cc", |
- "test_child_process.h", |
- "ui_application_loader_android.cc", |
- "ui_application_loader_android.h", |
- ] |
- |
- if (is_android) { |
- deps += [ |
- "//mojo/services/native_viewport:lib", |
- "//mojo/services/network:lib", |
- ] |
- sources += [ |
- "network_application_loader.cc", |
- "network_application_loader.h", |
- ] |
- } |
-} |
- |
-mojom("app_child_process_bindings") { |
- sources = [ |
- "app_child_process.mojom" |
- ] |
-} |
- |
-mojom("external_service_bindings") { |
- sources = [ |
- "external_service.mojom" |
- ] |
-} |
- |
-mojom("external_application_registrar_bindings") { |
- sources = [ |
- "external_application_registrar.mojom" |
- ] |
- |
- deps = [ "//mojo/public/interfaces/application" ] |
-} |
- |
-source_set("external_application_registrar_connection") { |
- sources = [ |
- "external_application_registrar_connection.cc", |
- "external_application_registrar_connection.h", |
- ] |
- |
- deps = [ |
- ":external_application_registrar_bindings", |
- "//net" |
- ] |
-} |
- |
-# GYP version: mojo/mojo.gyp:mojo_shell_tests |
-test("mojo_shell_tests") { |
- deps = [ |
- ":lib", |
- "//base", |
- "//base:i18n", |
- "//base/test:test_support", |
- "//testing/gtest", |
- "//net:test_support", |
- "//url", |
- "//mojo/application_manager", |
- "//mojo/common", |
- "//mojo/edk/system", |
- "//mojo/environment:chromium", |
- "//mojo/services/test_service:bindings", |
- ] |
- |
- datadeps = [ |
- "//mojo/services/test_service:mojo_test_app", |
- "//mojo/services/test_service:mojo_test_request_tracker_app", |
- ] |
- |
- sources = [ |
- "child_process_host_unittest.cc", |
- "dynamic_application_loader_unittest.cc", |
- "in_process_dynamic_service_runner_unittest.cc", |
- "mojo_url_resolver_unittest.cc", |
- "shell_test_base.cc", |
- "shell_test_base.h", |
- "shell_test_base_unittest.cc", |
- "shell_test_main.cc", |
- ] |
- |
- if (is_android) { |
- deps += [ |
- # TODO(GYP): |
- #'../testing/android/native_test.gyp:native_test_native_code', |
- ] |
- } |
-} |
- |
-# GYP version: mojo/mojo.gyp:mojo_shell_test_support |
-source_set("test_support") { |
- sources = [ |
- "shell_test_helper.cc", |
- "shell_test_helper.h", |
- ] |
- |
- deps = [ |
- ":lib", |
- "//mojo/edk/system", |
- ] |
-} |
- |
-# GYP version: mojo/mojo.gyp:external_application_tests |
-test("mojo_external_application_tests") { |
- deps = [ |
- ":lib", |
- ":external_application_registrar_connection", |
- "//base", |
- "//base/test:test_support", |
- "//testing/gtest", |
- "//net:test_support", |
- "//url", |
- "//mojo/application_manager", |
- "//mojo/common", |
- "//mojo/edk/system", |
- "//mojo/environment:chromium", |
- ] |
- |
- sources = [ |
- "incoming_connection_listener_unittest.cc", |
- "external_application_listener_unittest.cc", |
- "external_application_test_main.cc", |
- ] |
-} |