Chromium Code Reviews| 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/generate_mojo_shell_assets_list.gni") | 5 import("//mojo/generate_mojo_shell_assets_list.gni") |
| 6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 9 | 9 |
| 10 # We don't support building in the component build since mojo apps are | 10 # We don't support building in the component build since mojo apps are |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 } else { | 46 } else { |
| 47 sources += [ | 47 sources += [ |
| 48 "android/context_init.h", | 48 "android/context_init.h", |
| 49 "android/library_loader.cc", | 49 "android/library_loader.cc", |
| 50 "android/main.cc", | 50 "android/main.cc", |
| 51 "android/main.h", | 51 "android/main.h", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 deps += [ | 54 deps += [ |
| 55 ":jni_headers", | 55 ":jni_headers", |
| 56 "//components/view_manager", | 56 "//components/mus", |
| 57 "//mojo/shell", | 57 "//mojo/shell", |
| 58 "//ui/gl", | 58 "//ui/gl", |
| 59 "//ui/platform_window/android", | 59 "//ui/platform_window/android", |
| 60 ] | 60 ] |
| 61 } | 61 } |
| 62 } | 62 } |
| 63 | 63 |
| 64 executable("mojo_runner") { | 64 executable("mojo_runner") { |
| 65 deps = [ | 65 deps = [ |
| 66 ":mojo_runner_lib", | 66 ":mojo_runner_lib", |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 167 "android/android_handler_loader.h", | 167 "android/android_handler_loader.h", |
| 168 "android/background_application_loader.cc", | 168 "android/background_application_loader.cc", |
| 169 "android/background_application_loader.h", | 169 "android/background_application_loader.h", |
| 170 "android/ui_application_loader_android.cc", | 170 "android/ui_application_loader_android.cc", |
| 171 "android/ui_application_loader_android.h", | 171 "android/ui_application_loader_android.h", |
| 172 ] | 172 ] |
| 173 | 173 |
| 174 deps += [ | 174 deps += [ |
| 175 ":jni_headers", | 175 ":jni_headers", |
| 176 ":run_android_application_function", | 176 ":run_android_application_function", |
| 177 "//components/view_manager/gles2", | 177 "//components/mus/gles2", |
| 178 "//mojo/application/public/cpp:content_handler", | 178 "//mojo/application/public/cpp:content_handler", |
| 179 ] | 179 ] |
| 180 } | 180 } |
| 181 | 181 |
| 182 # This target includes some files behind #ifdef OS... guards. Since gn is not | 182 # This target includes some files behind #ifdef OS... guards. Since gn is not |
| 183 # smart enough to understand preprocess includes, it does complains about | 183 # smart enough to understand preprocess includes, it does complains about |
| 184 # these includes when not using the build files for that OS. Suppress checking | 184 # these includes when not using the build files for that OS. Suppress checking |
| 185 # so we can enable checking for the rest of the targets in this file. | 185 # so we can enable checking for the rest of the targets in this file. |
| 186 # TODO: Might be better to split the files with OS-specific includes out to a | 186 # TODO: Might be better to split the files with OS-specific includes out to a |
| 187 # separate source_set so we can leave checking on for the rest of the target. | 187 # separate source_set so we can leave checking on for the rest of the target. |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 298 copy_ex("copy_mojo_runner_apptests_assets") { | 298 copy_ex("copy_mojo_runner_apptests_assets") { |
| 299 testonly = true | 299 testonly = true |
| 300 clear_dir = true | 300 clear_dir = true |
| 301 dest = mojo_runner_apptests_assets_dir | 301 dest = mojo_runner_apptests_assets_dir |
| 302 | 302 |
| 303 deps = [ | 303 deps = [ |
| 304 ":bootstrap", | 304 ":bootstrap", |
| 305 ":bootstrap_java", | 305 ":bootstrap_java", |
| 306 "//components/clipboard:apptests", | 306 "//components/clipboard:apptests", |
| 307 "//components/resource_provider:apptests", | 307 "//components/resource_provider:apptests", |
| 308 "//components/view_manager:apptests", | 308 "//components/mus:apptests", |
|
sky
2015/09/14 15:58:23
sort
Fady Samuel
2015/09/14 18:23:05
Done.
| |
| 309 "//mojo/services/network:apptests", | 309 "//mojo/services/network:apptests", |
| 310 ] | 310 ] |
| 311 | 311 |
| 312 sources = [ | 312 sources = [ |
| 313 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", | 313 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", |
| 314 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension", | 314 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension", |
| 315 ] | 315 ] |
| 316 | 316 |
| 317 apptest_outputs = [ | 317 apptest_outputs = [ |
| 318 "clipboard", | 318 "clipboard", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 481 ] | 481 ] |
| 482 | 482 |
| 483 deps = [ | 483 deps = [ |
| 484 "//base", | 484 "//base", |
| 485 "//mojo/application/public/cpp:test_support", | 485 "//mojo/application/public/cpp:test_support", |
| 486 "//mojo/runner/test:bindings", | 486 "//mojo/runner/test:bindings", |
| 487 "//mojo/services/network/public/interfaces", | 487 "//mojo/services/network/public/interfaces", |
| 488 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 488 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
| 489 ] | 489 ] |
| 490 } | 490 } |
| OLD | NEW |