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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 deps += [ "//build/android:prepare_android_lint_cache" ] | 711 deps += [ "//build/android:prepare_android_lint_cache" ] |
712 | 712 |
713 _rebased_build_config = | 713 _rebased_build_config = |
714 rebase_path(invoker.build_config, root_build_dir) | 714 rebase_path(invoker.build_config, root_build_dir) |
715 args += [ | 715 args += [ |
716 "--jar-path", | 716 "--jar-path", |
717 rebase_path(invoker.jar_path, root_build_dir), | 717 rebase_path(invoker.jar_path, root_build_dir), |
718 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath
)", | 718 "--classpath=@FileArg($_rebased_build_config:javac:interface_classpath
)", |
719 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_dirs)", | 719 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_dirs)", |
720 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_zips)", | 720 "--resource-sources=@FileArg($_rebased_build_config:deps_info:owned_re
sources_zips)", |
721 "--can-fail-build", | |
722 ] | 721 ] |
723 } | 722 } |
724 } | 723 } |
725 } | 724 } |
726 | 725 |
727 template("proguard") { | 726 template("proguard") { |
728 action(target_name) { | 727 action(target_name) { |
729 set_sources_assignment_filter([]) | 728 set_sources_assignment_filter([]) |
730 forward_variables_from(invoker, | 729 forward_variables_from(invoker, |
731 [ | 730 [ |
(...skipping 1886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2618 outputs = [ | 2617 outputs = [ |
2619 depfile, | 2618 depfile, |
2620 invoker.out_manifest, | 2619 invoker.out_manifest, |
2621 ] | 2620 ] |
2622 inputs = [ | 2621 inputs = [ |
2623 invoker.main_manifest, | 2622 invoker.main_manifest, |
2624 ] | 2623 ] |
2625 } | 2624 } |
2626 } | 2625 } |
2627 } | 2626 } |
OLD | NEW |