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