| 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 "//mojo/application_manager", | 14 "//mojo/application_manager", |
| 15 "//mojo/system", | 15 "//mojo/system", |
| 16 "//third_party/icu", | 16 "//third_party/icu", |
| 17 "//ui/gl", | 17 "//ui/gl", |
| 18 "//url", | 18 "//url", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 if (use_ozone) { | 21 if (use_ozone) { |
| 22 deps += [ "//ui/ozone" ] | 22 deps += [ "//ui/ozone" ] |
| 23 } | 23 } |
| 24 | 24 |
| 25 sources = [ | 25 sources = [ |
| 26 "desktop/mojo_main.cc" | 26 "desktop/mojo_main.cc" |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 |
| 30 # GYP version: mojo/mojo.gyp:mojo_shell_lib |
| 29 source_set("lib") { | 31 source_set("lib") { |
| 30 deps = [ | 32 deps = [ |
| 31 ":app_child_process_bindings", | 33 ":app_child_process_bindings", |
| 32 ":external_service_bindings", | 34 ":external_service_bindings", |
| 33 "//base", | 35 "//base", |
| 34 "//base/third_party/dynamic_annotations", | 36 "//base/third_party/dynamic_annotations", |
| 35 "//base:base_static", | 37 "//base:base_static", |
| 36 "//mojo/application_manager", | 38 "//mojo/application_manager", |
| 37 "//mojo/common", | 39 "//mojo/common", |
| 38 "//mojo/gles2", | 40 "//mojo/gles2", |
| 39 "//mojo/public/cpp/application:chromium", | 41 "//mojo/public/cpp/application:chromium", |
| 40 "//mojo/public/gles2", | |
| 41 "//mojo/public/interfaces/application", | 42 "//mojo/public/interfaces/application", |
| 42 "//mojo/services/native_viewport", | 43 "//mojo/services/native_viewport", |
| 43 "//mojo/services/public/interfaces/native_viewport", | 44 "//mojo/services/public/interfaces/native_viewport", |
| 44 "//mojo/services/public/interfaces/network", | 45 "//mojo/services/public/interfaces/network", |
| 45 "//mojo/spy", | 46 "//mojo/spy", |
| 46 "//mojo/system", | 47 "//mojo/system", |
| 47 "//net", | 48 "//net", |
| 48 "//url", | 49 "//url", |
| 49 ] | 50 ] |
| 50 | 51 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 "ui_application_loader_android.cc", | 86 "ui_application_loader_android.cc", |
| 86 "ui_application_loader_android.h", | 87 "ui_application_loader_android.h", |
| 87 ] | 88 ] |
| 88 | 89 |
| 89 if (is_linux) { | 90 if (is_linux) { |
| 90 deps += [ | 91 deps += [ |
| 91 "//dbus" | 92 "//dbus" |
| 92 ] | 93 ] |
| 93 } else if (is_android) { | 94 } else if (is_android) { |
| 94 deps += [ | 95 deps += [ |
| 95 "//mojo/services/network", | 96 "//mojo/services/network:lib", |
| 96 ] | 97 ] |
| 97 sources += [ | 98 sources += [ |
| 98 "network_application_loader.cc", | 99 "network_application_loader.cc", |
| 99 "network_application_loader.h", | 100 "network_application_loader.h", |
| 100 ] | 101 ] |
| 101 } | 102 } |
| 102 if (use_aura) { | 103 if (use_aura) { |
| 103 deps += [ | 104 deps += [ |
| 104 # These are only necessary as long as we hard code use of ViewManager. | 105 # These are only necessary as long as we hard code use of ViewManager. |
| 105 "//skia", | 106 "//skia", |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 "shell_test_main.cc", | 157 "shell_test_main.cc", |
| 157 ] | 158 ] |
| 158 | 159 |
| 159 if (is_android) { | 160 if (is_android) { |
| 160 deps += [ | 161 deps += [ |
| 161 # TODO(GYP): | 162 # TODO(GYP): |
| 162 #'../testing/android/native_test.gyp:native_test_native_code', | 163 #'../testing/android/native_test.gyp:native_test_native_code', |
| 163 ] | 164 ] |
| 164 } | 165 } |
| 165 } | 166 } |
| OLD | NEW |