| 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/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 if (is_android) { | 73 if (is_android) { |
| 74 sources = [ | 74 sources = [ |
| 75 "android/context_init.cc", | 75 "android/context_init.cc", |
| 76 "register_local_aliases.cc", | 76 "register_local_aliases.cc", |
| 77 ] | 77 ] |
| 78 | 78 |
| 79 deps += [ | 79 deps += [ |
| 80 ":lib", | 80 ":lib", |
| 81 ":register_local_aliases_fwd", | 81 ":register_local_aliases_fwd", |
| 82 "//third_party/mojo/src/mojo/edk/system", | 82 "//mojo/edk/system", |
| 83 ] | 83 ] |
| 84 | 84 |
| 85 # On android, the executable is also the native library used by the apk. | 85 # On android, the executable is also the native library used by the apk. |
| 86 # It means dynamic symbols must be preserved and exported. | 86 # It means dynamic symbols must be preserved and exported. |
| 87 ldflags = [ "-Wl,--export-dynamic" ] | 87 ldflags = [ "-Wl,--export-dynamic" ] |
| 88 } | 88 } |
| 89 } | 89 } |
| 90 | 90 |
| 91 source_set("lib") { | 91 source_set("lib") { |
| 92 sources = [ | 92 sources = [ |
| 93 "context.cc", | 93 "context.cc", |
| 94 "context.h", | 94 "context.h", |
| 95 "scoped_user_data_dir.cc", | 95 "scoped_user_data_dir.cc", |
| 96 "scoped_user_data_dir.h", | 96 "scoped_user_data_dir.h", |
| 97 "task_runners.cc", | 97 "task_runners.cc", |
| 98 "task_runners.h", | 98 "task_runners.h", |
| 99 "tracer.cc", | 99 "tracer.cc", |
| 100 "tracer.h", | 100 "tracer.h", |
| 101 ] | 101 ] |
| 102 | 102 |
| 103 deps = [ | 103 deps = [ |
| 104 "//base", | 104 "//base", |
| 105 "//base:base_static", | 105 "//base:base_static", |
| 106 "//base/third_party/dynamic_annotations", | 106 "//base/third_party/dynamic_annotations", |
| 107 "//components/devtools_service/public/cpp", | 107 "//components/devtools_service/public/cpp", |
| 108 "//components/devtools_service/public/interfaces", | 108 "//components/devtools_service/public/interfaces", |
| 109 "//components/tracing:startup_tracing", | 109 "//components/tracing:startup_tracing", |
| 110 "//mojo/edk/system", |
| 110 "//mojo/message_pump", | 111 "//mojo/message_pump", |
| 111 "//mojo/services/network/public/interfaces", | 112 "//mojo/services/network/public/interfaces", |
| 112 "//mojo/services/tracing/public/cpp", | 113 "//mojo/services/tracing/public/cpp", |
| 113 "//mojo/services/tracing/public/interfaces", | 114 "//mojo/services/tracing/public/interfaces", |
| 114 "//mojo/shell", | 115 "//mojo/shell", |
| 115 "//mojo/shell/package_manager", | 116 "//mojo/shell/package_manager", |
| 116 "//mojo/shell/public/cpp", | 117 "//mojo/shell/public/cpp", |
| 117 "//mojo/shell/runner:init", | 118 "//mojo/shell/runner:init", |
| 118 "//mojo/shell/runner/child:interfaces", | 119 "//mojo/shell/runner/child:interfaces", |
| 119 "//mojo/shell/runner/host:lib", | 120 "//mojo/shell/runner/host:lib", |
| 120 "//mojo/util:filename_util", | 121 "//mojo/util:filename_util", |
| 121 "//third_party/mojo/src/mojo/edk/system", | |
| 122 "//ui/gl", | 122 "//ui/gl", |
| 123 "//url", | 123 "//url", |
| 124 ] | 124 ] |
| 125 | 125 |
| 126 public_deps = [ | 126 public_deps = [ |
| 127 ":switches", | 127 ":switches", |
| 128 "//mojo/shell", | 128 "//mojo/shell", |
| 129 "//mojo/shell/runner:init", | 129 "//mojo/shell/runner:init", |
| 130 ] | 130 ] |
| 131 | 131 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 ":copy_mojo_shell_standalone", | 298 ":copy_mojo_shell_standalone", |
| 299 ":java", | 299 ":java", |
| 300 ":mojo_shell_standalone_apptests_assets", | 300 ":mojo_shell_standalone_apptests_assets", |
| 301 ":resources", | 301 ":resources", |
| 302 "//base:base_java", | 302 "//base:base_java", |
| 303 "//ui/platform_window/android:platform_window_java", | 303 "//ui/platform_window/android:platform_window_java", |
| 304 google_play_services_resources, | 304 google_play_services_resources, |
| 305 ] | 305 ] |
| 306 } | 306 } |
| 307 } | 307 } |
| OLD | NEW |