| 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") |
| 6 import("//mojo/public/mojo.gni") |
| 5 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//build/config/ui.gni") | |
| 7 | 8 |
| 9 if (!use_prebuilt_mojo_shell) { |
| 10 |
| 11 # GYP version: mojo/mojo.gyp:mojo_shell |
| 8 executable("mojo_shell") { | 12 executable("mojo_shell") { |
| 9 deps = [ | 13 deps = [ |
| 10 ":lib", | 14 ":lib", |
| 11 "//base", | 15 "//base", |
| 12 "//mojo/common", | 16 "//mojo/common", |
| 13 "//mojo/environment:chromium", | 17 "//mojo/environment:chromium", |
| 14 ] | 18 ] |
| 15 | 19 |
| 16 if (is_component_build) { | 20 if (is_component_build) { |
| 17 deps += ["//ui/gl"] | 21 deps += ["//ui/gl"] |
| 18 } | 22 } |
| 19 | 23 |
| 20 sources = [ | 24 sources = [ |
| 21 "desktop/mojo_main.cc" | 25 "desktop/mojo_main.cc" |
| 22 ] | 26 ] |
| 23 } | 27 } |
| 24 | 28 |
| 29 } # !use_prebuilt_mojo_shell |
| 30 |
| 25 # GYP version: mojo/mojo.gyp:mojo_shell_lib | 31 # GYP version: mojo/mojo.gyp:mojo_shell_lib |
| 26 source_set("lib") { | 32 source_set("lib") { |
| 27 deps = [ | 33 deps = [ |
| 28 ":app_child_process_bindings", | 34 ":app_child_process_bindings", |
| 29 ":external_application_registrar_bindings", | 35 ":external_application_registrar_bindings", |
| 30 ":external_service_bindings", | 36 ":external_service_bindings", |
| 31 "//base", | 37 "//base", |
| 32 "//base/third_party/dynamic_annotations", | 38 "//base/third_party/dynamic_annotations", |
| 33 "//base:base_static", | 39 "//base:base_static", |
| 34 "//mojo/application", | 40 "//mojo/application", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 "//mojo/edk/system", | 197 "//mojo/edk/system", |
| 192 "//mojo/environment:chromium", | 198 "//mojo/environment:chromium", |
| 193 ] | 199 ] |
| 194 | 200 |
| 195 sources = [ | 201 sources = [ |
| 196 "incoming_connection_listener_unittest.cc", | 202 "incoming_connection_listener_unittest.cc", |
| 197 "external_application_listener_unittest.cc", | 203 "external_application_listener_unittest.cc", |
| 198 "external_application_test_main.cc", | 204 "external_application_test_main.cc", |
| 199 ] | 205 ] |
| 200 } | 206 } |
| OLD | NEW |