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 # Do not add any imports to non-//build directories here. | 5 # Do not add any imports to non-//build directories here. |
6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. | 6 # Some projects (e.g. V8) do not have non-build directories DEPS'ed in. |
7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/internal_rules.gni") | 8 import("//build/config/android/internal_rules.gni") |
9 import("//build/config/compiler/compiler.gni") | 9 import("//build/config/compiler/compiler.gni") |
10 import("//build/config/dcheck_always_on.gni") | 10 import("//build/config/dcheck_always_on.gni") |
(...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2307 ] | 2307 ] |
2308 } | 2308 } |
2309 | 2309 |
2310 android_apk(_apk_target_name) { | 2310 android_apk(_apk_target_name) { |
2311 deps = [] | 2311 deps = [] |
2312 data_deps = [] | 2312 data_deps = [] |
2313 forward_variables_from(invoker, "*") | 2313 forward_variables_from(invoker, "*") |
2314 install_script_name = _install_script_name | 2314 install_script_name = _install_script_name |
2315 deps += [ "//testing/android/broker:broker_java" ] | 2315 deps += [ "//testing/android/broker:broker_java" ] |
2316 data_deps += [ | 2316 data_deps += [ |
2317 "//testing/android/driver:driver_apk", | 2317 "//build/android/pylib/device/commands", |
2318 "//tools/android/forwarder2", | 2318 "//tools/android/forwarder2", |
2319 "//tools/android/md5sum", | 2319 "//tools/android/md5sum", |
2320 ] | 2320 ] |
2321 if (defined(invoker.additional_apks)) { | 2321 if (defined(invoker.additional_apks)) { |
2322 data_deps += invoker.additional_apks | 2322 data_deps += invoker.additional_apks |
2323 } | 2323 } |
2324 | 2324 |
2325 if (defined(invoker.proguard_enabled) && invoker.proguard_enabled) { | 2325 if (defined(invoker.proguard_enabled) && invoker.proguard_enabled) { |
2326 # When ProGuard is on, we use ProGuard to combine the under test java | 2326 # When ProGuard is on, we use ProGuard to combine the under test java |
2327 # code and the test java code. This is to allow us to apply all ProGuard | 2327 # code and the test java code. This is to allow us to apply all ProGuard |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2439 | 2439 |
2440 if (!defined(use_default_launcher) || use_default_launcher) { | 2440 if (!defined(use_default_launcher) || use_default_launcher) { |
2441 deps += [ "//testing/android/native_test:native_test_java" ] | 2441 deps += [ "//testing/android/native_test:native_test_java" ] |
2442 } | 2442 } |
2443 shared_libraries = [ invoker.shared_library ] | 2443 shared_libraries = [ invoker.shared_library ] |
2444 deps += [ | 2444 deps += [ |
2445 "//base:base_java", | 2445 "//base:base_java", |
2446 "//testing/android/appurify_support:appurify_support_java", | 2446 "//testing/android/appurify_support:appurify_support_java", |
2447 "//testing/android/reporter:reporter_java", | 2447 "//testing/android/reporter:reporter_java", |
2448 ] | 2448 ] |
2449 data_deps += [ "//tools/android/md5sum" ] | 2449 data_deps += [ |
| 2450 "//build/android/pylib/device/commands", |
| 2451 "//tools/android/md5sum", |
| 2452 ] |
2450 if (host_os == "linux") { | 2453 if (host_os == "linux") { |
2451 data_deps += [ "//tools/android/forwarder2" ] | 2454 data_deps += [ "//tools/android/forwarder2" ] |
2452 } | 2455 } |
2453 } | 2456 } |
2454 } | 2457 } |
2455 | 2458 |
2456 # Generate .java files from .aidl files. | 2459 # Generate .java files from .aidl files. |
2457 # | 2460 # |
2458 # This target will store the .java files in a srcjar and should be included in | 2461 # This target will store the .java files in a srcjar and should be included in |
2459 # an android_library or android_apk's srcjar_deps. | 2462 # an android_library or android_apk's srcjar_deps. |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2768 # because in practice they seem to contain classes required to be in the | 2771 # because in practice they seem to contain classes required to be in the |
2769 # classpath. | 2772 # classpath. |
2770 deps += _subjar_targets | 2773 deps += _subjar_targets |
2771 } | 2774 } |
2772 if (defined(_res_target_name)) { | 2775 if (defined(_res_target_name)) { |
2773 deps += [ ":$_res_target_name" ] | 2776 deps += [ ":$_res_target_name" ] |
2774 } | 2777 } |
2775 } | 2778 } |
2776 } | 2779 } |
2777 } | 2780 } |
OLD | NEW |