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") | 5 import("//build/config/ui.gni") |
6 import("//mojo/generate_mojo_shell_assets_list.gni") | 6 import("//mojo/generate_mojo_shell_assets_list.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo.gni") |
8 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 8 import("//third_party/mojo/src/mojo/public/mojo_application.gni") |
9 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 9 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 } else { | 50 } else { |
51 sources += [ | 51 sources += [ |
52 "android/context_init.h", | 52 "android/context_init.h", |
53 "android/library_loader.cc", | 53 "android/library_loader.cc", |
54 "android/main.cc", | 54 "android/main.cc", |
55 "android/main.h", | 55 "android/main.h", |
56 ] | 56 ] |
57 | 57 |
58 deps += [ | 58 deps += [ |
59 ":jni_headers", | 59 ":jni_headers", |
60 "//components/native_viewport:lib", | 60 "//components/view_manager/native_viewport:lib", |
61 "//mojo/shell", | 61 "//mojo/shell", |
62 "//ui/gl", | 62 "//ui/gl", |
63 ] | 63 ] |
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 executable("mojo_runner") { | 67 executable("mojo_runner") { |
68 deps = [ | 68 deps = [ |
69 ":mojo_runner_lib", | 69 ":mojo_runner_lib", |
70 ] | 70 ] |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 "android/native_viewport_application_loader.cc", | 154 "android/native_viewport_application_loader.cc", |
155 "android/native_viewport_application_loader.h", | 155 "android/native_viewport_application_loader.h", |
156 "android/ui_application_loader_android.cc", | 156 "android/ui_application_loader_android.cc", |
157 "android/ui_application_loader_android.h", | 157 "android/ui_application_loader_android.h", |
158 ] | 158 ] |
159 | 159 |
160 deps += [ | 160 deps += [ |
161 ":jni_headers", | 161 ":jni_headers", |
162 ":run_android_application_function", | 162 ":run_android_application_function", |
163 "//components/gles2", | 163 "//components/gles2", |
164 "//components/native_viewport:lib", | 164 "//components/view_manager/native_viewport:lib", |
165 "//mojo/application:content_handler", | 165 "//mojo/application:content_handler", |
166 ] | 166 ] |
167 } | 167 } |
168 | 168 |
169 # This target includes some files behind #ifdef OS... guards. Since gn is not | 169 # This target includes some files behind #ifdef OS... guards. Since gn is not |
170 # smart enough to understand preprocess includes, it does complains about | 170 # smart enough to understand preprocess includes, it does complains about |
171 # these includes when not using the build files for that OS. Suppress checking | 171 # these includes when not using the build files for that OS. Suppress checking |
172 # so we can enable checking for the rest of the targets in this file. | 172 # so we can enable checking for the rest of the targets in this file. |
173 # TODO: Might be better to split the files with OS-specific includes out to a | 173 # TODO: Might be better to split the files with OS-specific includes out to a |
174 # separate source_set so we can leave checking on for the rest of the target. | 174 # separate source_set so we can leave checking on for the rest of the target. |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 325 |
326 native_libs = [ "libmojo_runner.so" ] | 326 native_libs = [ "libmojo_runner.so" ] |
327 | 327 |
328 asset_location = mojo_runner_assets_dir | 328 asset_location = mojo_runner_assets_dir |
329 | 329 |
330 deps = [ | 330 deps = [ |
331 ":build_mojo_runner_assets", | 331 ":build_mojo_runner_assets", |
332 ":java", | 332 ":java", |
333 ":resources", | 333 ":resources", |
334 "//base:base_java", | 334 "//base:base_java", |
335 "//components/native_viewport:native_viewport_java", | 335 "//components/view_manager/native_viewport:native_viewport_java", |
336 "//third_party/android_tools:google_play_services_default_resources", | 336 "//third_party/android_tools:google_play_services_default_resources", |
337 ] | 337 ] |
338 } | 338 } |
339 | 339 |
340 generate_mojo_shell_assets_list("build_mojo_runner_test_assets") { | 340 generate_mojo_shell_assets_list("build_mojo_runner_test_assets") { |
341 deps = [ | 341 deps = [ |
342 ":copy_mojo_runner_test_assets", | 342 ":copy_mojo_runner_test_assets", |
343 ] | 343 ] |
344 dir = mojo_runner_test_assets_dir | 344 dir = mojo_runner_test_assets_dir |
345 } | 345 } |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 #"//mojo/services/http_server/public/interfaces", | 437 #"//mojo/services/http_server/public/interfaces", |
438 "//mojo/services/network/public/interfaces", | 438 "//mojo/services/network/public/interfaces", |
439 | 439 |
440 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 440 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
441 "//third_party/mojo/src/mojo/public/cpp/environment", | 441 "//third_party/mojo/src/mojo/public/cpp/environment", |
442 "//third_party/mojo/src/mojo/public/cpp/system:system", | 442 "//third_party/mojo/src/mojo/public/cpp/system:system", |
443 ] | 443 ] |
444 | 444 |
445 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] | 445 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] |
446 } | 446 } |
OLD | NEW |