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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 | 6 |
| 7 assert(is_android) | 7 assert(is_android) |
| 8 | 8 |
| 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) | 9 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) |
| 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) | 10 rebased_android_sdk_root = rebase_path(android_sdk_root, root_build_dir) |
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 778 invoker.extensions_to_not_compress, | 778 invoker.extensions_to_not_compress, |
| 779 ] | 779 ] |
| 780 } | 780 } |
| 781 } | 781 } |
| 782 | 782 |
| 783 package_target = "${target_name}__package" | 783 package_target = "${target_name}__package" |
| 784 package_apk(package_target) { | 784 package_apk(package_target) { |
| 785 deps = [] | 785 deps = [] |
| 786 forward_variables_from(invoker, [ "deps" ]) | 786 forward_variables_from(invoker, [ "deps" ]) |
| 787 deps += [ ":${_package_resources_target_name}" ] | 787 deps += [ ":${_package_resources_target_name}" ] |
| 788 deps += [ "//tools/android/md5sum" ] # Used when deploying APKs | |
|
agrieve
2015/09/01 19:29:39
nit: make this a data_dep, since it doesn't need t
| |
| 788 | 789 |
| 789 if (defined(_dex_path)) { | 790 if (defined(_dex_path)) { |
| 790 dex_path = _dex_path | 791 dex_path = _dex_path |
| 791 } | 792 } |
| 792 native_libs_dir = _native_libs_dir | 793 native_libs_dir = _native_libs_dir |
| 793 output_apk_path = _packaged_apk_path | 794 output_apk_path = _packaged_apk_path |
| 794 resource_packaged_apk_path = _resource_packaged_apk_path | 795 resource_packaged_apk_path = _resource_packaged_apk_path |
| 795 } | 796 } |
| 796 | 797 |
| 797 _incremental_package_target = "${target_name}_incremental__package" | 798 _incremental_package_target = "${target_name}_incremental__package" |
| (...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1617 ] | 1618 ] |
| 1618 args = [ | 1619 args = [ |
| 1619 "--depfile", | 1620 "--depfile", |
| 1620 rebase_path(depfile, root_build_dir), | 1621 rebase_path(depfile, root_build_dir), |
| 1621 "--script-output-path", | 1622 "--script-output-path", |
| 1622 rebase_path(generated_script, root_build_dir), | 1623 rebase_path(generated_script, root_build_dir), |
| 1623 ] | 1624 ] |
| 1624 args += test_runner_args | 1625 args += test_runner_args |
| 1625 } | 1626 } |
| 1626 } | 1627 } |
| OLD | NEW |