| 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/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/android/internal_rules.gni") | 6 import("//build/config/android/internal_rules.gni") |
| 7 import("//build/toolchain/toolchain.gni") | 7 import("//build/toolchain/toolchain.gni") |
| 8 | 8 |
| 9 assert(is_android) | 9 assert(is_android) |
| 10 | 10 |
| (...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1802 _apk_under_test_build_config = | 1802 _apk_under_test_build_config = |
| 1803 get_label_info(invoker.apk_under_test, "target_gen_dir") + "/" + | 1803 get_label_info(invoker.apk_under_test, "target_gen_dir") + "/" + |
| 1804 get_label_info(invoker.apk_under_test, "name") + ".build_config" | 1804 get_label_info(invoker.apk_under_test, "name") + ".build_config" |
| 1805 _rebased_apk_under_test_build_config = | 1805 _rebased_apk_under_test_build_config = |
| 1806 rebase_path(_apk_under_test_build_config, root_build_dir) | 1806 rebase_path(_apk_under_test_build_config, root_build_dir) |
| 1807 args += [ "--tested-apk-info=@FileArg($_rebased_apk_under_test_build_c
onfig:deps_info:proguard_info)" ] | 1807 args += [ "--tested-apk-info=@FileArg($_rebased_apk_under_test_build_c
onfig:deps_info:proguard_info)" ] |
| 1808 } | 1808 } |
| 1809 } | 1809 } |
| 1810 _dex_sources = [ _proguard_output_jar_path ] | 1810 _dex_sources = [ _proguard_output_jar_path ] |
| 1811 _dex_deps = [ ":$_proguard_target" ] | 1811 _dex_deps = [ ":$_proguard_target" ] |
| 1812 if (defined(invoker.apk_under_test)) { |
| 1813 _apk_under_test_dex_path = |
| 1814 get_label_info(invoker.apk_under_test, "target_gen_dir") + "/" + |
| 1815 get_label_info(invoker.apk_under_test, "name") + "/" + |
| 1816 get_label_info(invoker.apk_under_test, "name") + ".dex.jar" |
| 1817 _dex_sources += [ _apk_under_test_dex_path ] |
| 1818 _dex_deps += [ "${invoker.apk_under_test}__java" ] |
| 1819 } |
| 1812 } else { | 1820 } else { |
| 1813 if (enable_multidex) { | 1821 if (enable_multidex) { |
| 1814 _dex_sources = [ _jar_path ] | 1822 _dex_sources = [ _jar_path ] |
| 1815 } else { | 1823 } else { |
| 1816 _dex_sources = [ _lib_dex_path ] | 1824 _dex_sources = [ _lib_dex_path ] |
| 1817 } | 1825 } |
| 1818 _dex_deps = [ ":$java_target" ] | 1826 _dex_deps = [ ":$java_target" ] |
| 1819 } | 1827 } |
| 1820 | 1828 |
| 1821 dex("$final_dex_target_name") { | 1829 dex("$final_dex_target_name") { |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2492 android_library(target_name) { | 2500 android_library(target_name) { |
| 2493 chromium_code = false | 2501 chromium_code = false |
| 2494 java_files = [] | 2502 java_files = [] |
| 2495 srcjar_deps = [ ":${_template_name}__protoc_java" ] | 2503 srcjar_deps = [ ":${_template_name}__protoc_java" ] |
| 2496 deps = [ | 2504 deps = [ |
| 2497 "//third_party/android_protobuf:protobuf_nano_javalib", | 2505 "//third_party/android_protobuf:protobuf_nano_javalib", |
| 2498 ] | 2506 ] |
| 2499 } | 2507 } |
| 2500 } | 2508 } |
| 2501 } | 2509 } |
| OLD | NEW |