| 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", |
| 721 ] | 722 ] |
| 722 } | 723 } |
| 723 } | 724 } |
| 724 } | 725 } |
| 725 | 726 |
| 726 template("proguard") { | 727 template("proguard") { |
| 727 action(target_name) { | 728 action(target_name) { |
| 728 set_sources_assignment_filter([]) | 729 set_sources_assignment_filter([]) |
| 729 forward_variables_from(invoker, | 730 forward_variables_from(invoker, |
| 730 [ | 731 [ |
| (...skipping 1886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2617 outputs = [ | 2618 outputs = [ |
| 2618 depfile, | 2619 depfile, |
| 2619 invoker.out_manifest, | 2620 invoker.out_manifest, |
| 2620 ] | 2621 ] |
| 2621 inputs = [ | 2622 inputs = [ |
| 2622 invoker.main_manifest, | 2623 invoker.main_manifest, |
| 2623 ] | 2624 ] |
| 2624 } | 2625 } |
| 2625 } | 2626 } |
| 2626 } | 2627 } |
| OLD | NEW |