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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 build_config = invoker.build_config | 79 build_config = invoker.build_config |
80 | 80 |
81 action(target_name) { | 81 action(target_name) { |
82 script = "//build/android/findbugs_diff.py" | 82 script = "//build/android/findbugs_diff.py" |
83 depfile = "$target_gen_dir/$target_name.d" | 83 depfile = "$target_gen_dir/$target_name.d" |
84 result_path = "$target_gen_dir/$target_name/result.xml" | 84 result_path = "$target_gen_dir/$target_name/result.xml" |
85 exclusions_file = "//build/android/findbugs_filter/findbugs_exclude.xml" | 85 exclusions_file = "//build/android/findbugs_filter/findbugs_exclude.xml" |
86 | 86 |
87 rebased_build_config = rebase_path(build_config, root_build_dir) | 87 rebased_build_config = rebase_path(build_config, root_build_dir) |
88 | 88 |
89 if (defined(invoker.deps)) { | |
90 deps = invoker.deps | |
91 } | |
92 | |
93 if (defined(invoker.testonly)) { | |
94 testonly = invoker.testonly | |
95 } | |
96 | |
97 inputs = [ | 89 inputs = [ |
98 "//build/android/pylib/utils/findbugs.py", | 90 "//build/android/pylib/utils/findbugs.py", |
99 exclusions_file, | 91 exclusions_file, |
100 jar_path, | 92 jar_path, |
101 ] | 93 ] |
102 | 94 |
103 outputs = [ | 95 outputs = [ |
104 depfile, | 96 depfile, |
105 result_path, | 97 result_path, |
106 ] | 98 ] |
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 ] | 1502 ] |
1511 args = [ | 1503 args = [ |
1512 "--depfile", | 1504 "--depfile", |
1513 rebase_path(depfile, root_build_dir), | 1505 rebase_path(depfile, root_build_dir), |
1514 "--script-output-path", | 1506 "--script-output-path", |
1515 rebase_path(generated_script, root_build_dir), | 1507 rebase_path(generated_script, root_build_dir), |
1516 ] | 1508 ] |
1517 args += test_runner_args | 1509 args += test_runner_args |
1518 } | 1510 } |
1519 } | 1511 } |
OLD | NEW |