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/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 | 7 |
8 assert(is_android) | 8 assert(is_android) |
9 | 9 |
10 # These identify targets that have .build_config files (except for android_apk, | 10 # These identify targets that have .build_config files (except for android_apk, |
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 deps += [ "//build/android:prepare_android_lint_cache" ] | 712 deps += [ "//build/android:prepare_android_lint_cache" ] |
713 | 713 |
714 _rebased_build_config = | 714 _rebased_build_config = |
715 rebase_path(invoker.build_config, root_build_dir) | 715 rebase_path(invoker.build_config, root_build_dir) |
716 args += [ | 716 args += [ |
717 "--jar-path", | 717 "--jar-path", |
718 rebase_path(invoker.jar_path, root_build_dir), | 718 rebase_path(invoker.jar_path, root_build_dir), |
719 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath
)", | 719 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath
)", |
720 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_dirs)", | 720 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_dirs)", |
721 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_zips)", | 721 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_zips)", |
| 722 "--can-fail-build", |
722 ] | 723 ] |
723 } | 724 } |
724 } | 725 } |
725 } | 726 } |
726 | 727 |
727 template("proguard") { | 728 template("proguard") { |
728 action(target_name) { | 729 action(target_name) { |
729 set_sources_assignment_filter([]) | 730 set_sources_assignment_filter([]) |
730 forward_variables_from(invoker, | 731 forward_variables_from(invoker, |
731 [ | 732 [ |
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2628 outputs = [ | 2629 outputs = [ |
2629 depfile, | 2630 depfile, |
2630 invoker.out_manifest, | 2631 invoker.out_manifest, |
2631 ] | 2632 ] |
2632 inputs = [ | 2633 inputs = [ |
2633 invoker.main_manifest, | 2634 invoker.main_manifest, |
2634 ] | 2635 ] |
2635 } | 2636 } |
2636 } | 2637 } |
2637 } | 2638 } |
OLD | NEW |