| 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 | 734 |
| 735 _finalize_apk_rule_name = "${target_name}__finalize" | 735 _finalize_apk_rule_name = "${target_name}__finalize" |
| 736 finalize_apk(_finalize_apk_rule_name) { | 736 finalize_apk(_finalize_apk_rule_name) { |
| 737 input_apk_path = _packaged_apk_path | 737 input_apk_path = _packaged_apk_path |
| 738 output_apk_path = _final_apk_path | 738 output_apk_path = _final_apk_path |
| 739 keystore_path = invoker.keystore_path | 739 keystore_path = invoker.keystore_path |
| 740 keystore_name = invoker.keystore_name | 740 keystore_name = invoker.keystore_name |
| 741 keystore_password = invoker.keystore_password | 741 keystore_password = invoker.keystore_password |
| 742 rezip_apk = _load_library_from_apk | 742 rezip_apk = _load_library_from_apk |
| 743 | 743 |
| 744 if (defined(invoker.deps)) { |
| 745 deps = invoker.deps |
| 746 } |
| 747 |
| 744 public_deps = [ | 748 public_deps = [ |
| 745 # Generator of the _packaged_apk_path this target takes as input. | 749 # Generator of the _packaged_apk_path this target takes as input. |
| 746 ":$package_target", | 750 ":$package_target", |
| 747 ] | 751 ] |
| 748 } | 752 } |
| 749 | 753 |
| 750 _final_deps = [ ":${_finalize_apk_rule_name}" ] | 754 _final_deps = [ ":${_finalize_apk_rule_name}" ] |
| 751 | 755 |
| 752 if (_create_density_splits) { | 756 if (_create_density_splits) { |
| 753 foreach(_density, _split_densities) { | 757 foreach(_density, _split_densities) { |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1502 ] | 1506 ] |
| 1503 args = [ | 1507 args = [ |
| 1504 "--depfile", | 1508 "--depfile", |
| 1505 rebase_path(depfile, root_build_dir), | 1509 rebase_path(depfile, root_build_dir), |
| 1506 "--script-output-path", | 1510 "--script-output-path", |
| 1507 rebase_path(generated_script, root_build_dir), | 1511 rebase_path(generated_script, root_build_dir), |
| 1508 ] | 1512 ] |
| 1509 args += test_runner_args | 1513 args += test_runner_args |
| 1510 } | 1514 } |
| 1511 } | 1515 } |
| OLD | NEW |