| 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 executable("mojo_shell") { | 8 executable("mojo_shell") { |
| 9 deps = [ | 9 deps = [ |
| 10 ":lib", | 10 ":lib", |
| 11 "//base", | 11 "//base", |
| 12 "//mojo/common", | 12 "//mojo/common", |
| 13 "//mojo/environment:chromium", | 13 "//mojo/environment:chromium", |
| 14 "//ui/gfx", | 14 "//ui/gfx", |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 if (is_component_build) { | 17 if (is_component_build) { |
| 18 deps += ["//ui/gl"] | 18 deps += ["//ui/gl"] |
| 19 } | 19 } |
| 20 | 20 |
| 21 sources = [ | 21 sources = [ |
| 22 "desktop/mojo_main.cc" | 22 "desktop/mojo_main.cc" |
| 23 ] | 23 ] |
| 24 } | 24 } |
| 25 | 25 |
| 26 # GYP version: mojo/mojo.gyp:mojo_shell_lib | 26 # GYP version: mojo/mojo.gyp:mojo_shell_lib |
| 27 source_set("lib") { | 27 source_set("lib") { |
| 28 deps = [ | 28 deps = [ |
| 29 ":app_child_process_bindings", | 29 ":app_child_process_bindings", |
| 30 ":external_application_registrar_bindings", |
| 31 ":external_application_registrar_connection", |
| 30 ":external_service_bindings", | 32 ":external_service_bindings", |
| 31 "//base", | 33 "//base", |
| 32 "//base/third_party/dynamic_annotations", | 34 "//base/third_party/dynamic_annotations", |
| 33 "//base:base_static", | 35 "//base:base_static", |
| 34 "//mojo/application", | 36 "//mojo/application", |
| 35 "//mojo/application_manager", | 37 "//mojo/application_manager", |
| 36 "//mojo/common", | 38 "//mojo/common", |
| 37 "//mojo/gles2", | 39 "//mojo/gles2", |
| 38 "//mojo/public/interfaces/application", | 40 "//mojo/public/interfaces/application", |
| 39 "//mojo/services/public/interfaces/network", | 41 "//mojo/services/public/interfaces/network", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 50 "child_process.h", | 52 "child_process.h", |
| 51 "child_process_host.cc", | 53 "child_process_host.cc", |
| 52 "child_process_host.h", | 54 "child_process_host.h", |
| 53 "context.cc", | 55 "context.cc", |
| 54 "context.h", | 56 "context.h", |
| 55 "dbus_application_loader_linux.cc", | 57 "dbus_application_loader_linux.cc", |
| 56 "dbus_application_loader_linux.h", | 58 "dbus_application_loader_linux.h", |
| 57 "dynamic_application_loader.cc", | 59 "dynamic_application_loader.cc", |
| 58 "dynamic_application_loader.h", | 60 "dynamic_application_loader.h", |
| 59 "dynamic_service_runner.h", | 61 "dynamic_service_runner.h", |
| 62 "external_application_listener.cc", |
| 63 "external_application_listener.h", |
| 64 "incoming_connection_listener.cc", |
| 65 "incoming_connection_listener.h", |
| 60 "init.cc", | 66 "init.cc", |
| 61 "init.h", | 67 "init.h", |
| 62 "in_process_dynamic_service_runner.cc", | 68 "in_process_dynamic_service_runner.cc", |
| 63 "in_process_dynamic_service_runner.h", | 69 "in_process_dynamic_service_runner.h", |
| 64 "mojo_url_resolver.cc", | 70 "mojo_url_resolver.cc", |
| 65 "mojo_url_resolver.h", | 71 "mojo_url_resolver.h", |
| 66 "out_of_process_dynamic_service_runner.cc", | 72 "out_of_process_dynamic_service_runner.cc", |
| 67 "out_of_process_dynamic_service_runner.h", | 73 "out_of_process_dynamic_service_runner.h", |
| 68 "switches.cc", | 74 "switches.cc", |
| 69 "switches.h", | 75 "switches.h", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 94 "app_child_process.mojom" | 100 "app_child_process.mojom" |
| 95 ] | 101 ] |
| 96 } | 102 } |
| 97 | 103 |
| 98 mojom("external_service_bindings") { | 104 mojom("external_service_bindings") { |
| 99 sources = [ | 105 sources = [ |
| 100 "external_service.mojom" | 106 "external_service.mojom" |
| 101 ] | 107 ] |
| 102 } | 108 } |
| 103 | 109 |
| 110 mojom("external_application_registrar_bindings") { |
| 111 sources = [ |
| 112 "external_application_registrar.mojom" |
| 113 ] |
| 114 } |
| 115 |
| 116 source_set("external_application_registrar_connection") { |
| 117 sources = [ |
| 118 "external_application_registrar_connection.cc", |
| 119 "external_application_registrar_connection.h", |
| 120 ] |
| 121 |
| 122 deps = [ "//net" ] |
| 123 } |
| 124 |
| 125 # GYP version: mojo/mojo.gyp:mojo_shell_tests |
| 104 test("mojo_shell_tests") { | 126 test("mojo_shell_tests") { |
| 105 deps = [ | 127 deps = [ |
| 106 ":lib", | 128 ":lib", |
| 107 "//base", | 129 "//base", |
| 108 "//base:i18n", | 130 "//base:i18n", |
| 109 "//base/test:test_support", | 131 "//base/test:test_support", |
| 110 "//testing/gtest", | 132 "//testing/gtest", |
| 111 "//net:test_support", | 133 "//net:test_support", |
| 112 "//url", | 134 "//url", |
| 113 "//mojo/application_manager", | 135 "//mojo/application_manager", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 "shell_test_helper.cc", | 168 "shell_test_helper.cc", |
| 147 "shell_test_helper.h", | 169 "shell_test_helper.h", |
| 148 ] | 170 ] |
| 149 | 171 |
| 150 deps = [ | 172 deps = [ |
| 151 ":lib", | 173 ":lib", |
| 152 "//base:base_static", | 174 "//base:base_static", |
| 153 "//mojo/system", | 175 "//mojo/system", |
| 154 ] | 176 ] |
| 155 } | 177 } |
| 178 |
| 179 # GYP version: mojo/mojo.gyp:external_application_tests |
| 180 test("mojo_external_application_tests") { |
| 181 deps = [ |
| 182 ":lib", |
| 183 "//base", |
| 184 "//base/test:test_support", |
| 185 "//testing/gtest", |
| 186 "//net:test_support", |
| 187 "//url", |
| 188 "//mojo/application_manager", |
| 189 "//mojo/common", |
| 190 "//mojo/environment:chromium", |
| 191 "//mojo/system", |
| 192 ] |
| 193 |
| 194 sources = [ |
| 195 "incoming_connection_listener_unittest.cc", |
| 196 "external_application_listener_unittest.cc", |
| 197 "external_application_test_main.cc", |
| 198 ] |
| 199 } |
| OLD | NEW |