| 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 | 9 |
| 10 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) | 10 rebased_android_sdk = rebase_path(android_sdk, root_build_dir) |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 if (defined(invoker.custom_package)) { | 711 if (defined(invoker.custom_package)) { |
| 712 args += [ | 712 args += [ |
| 713 "--custom-package", invoker.custom_package, | 713 "--custom-package", invoker.custom_package, |
| 714 ] | 714 ] |
| 715 } | 715 } |
| 716 | 716 |
| 717 if (defined(invoker.v14_verify_only) && invoker.v14_verify_only) { | 717 if (defined(invoker.v14_verify_only) && invoker.v14_verify_only) { |
| 718 args += ["--v14-verify-only"] | 718 args += ["--v14-verify-only"] |
| 719 } | 719 } |
| 720 | 720 |
| 721 if (defined(invoker.shared_resources) && |
| 722 invoker.shared_resources) { |
| 723 args += ["--shared-resources"] |
| 724 } |
| 725 |
| 721 if (defined(invoker.all_resources_zip_path)) { | 726 if (defined(invoker.all_resources_zip_path)) { |
| 722 all_resources_zip = invoker.all_resources_zip_path | 727 all_resources_zip = invoker.all_resources_zip_path |
| 723 outputs += [ all_resources_zip ] | 728 outputs += [ all_resources_zip ] |
| 724 args += [ | 729 args += [ |
| 725 "--all-resources-zip-out", rebase_path(all_resources_zip, root_build_dir
) | 730 "--all-resources-zip-out", rebase_path(all_resources_zip, root_build_dir
) |
| 726 ] | 731 ] |
| 727 } | 732 } |
| 728 | 733 |
| 729 if (defined(invoker.args)) { | 734 if (defined(invoker.args)) { |
| 730 args += invoker.args | 735 args += invoker.args |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 | 769 |
| 765 if (defined(invoker.clear_dir) && invoker.clear_dir) { | 770 if (defined(invoker.clear_dir) && invoker.clear_dir) { |
| 766 args += ["--clear"] | 771 args += ["--clear"] |
| 767 } | 772 } |
| 768 | 773 |
| 769 if (defined(invoker.args)) { | 774 if (defined(invoker.args)) { |
| 770 args += invoker.args | 775 args += invoker.args |
| 771 } | 776 } |
| 772 } | 777 } |
| 773 } | 778 } |
| OLD | NEW |