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 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 if (defined(invoker.deps)) { | 1257 if (defined(invoker.deps)) { |
1258 deps += invoker.deps | 1258 deps += invoker.deps |
1259 } | 1259 } |
1260 } | 1260 } |
1261 | 1261 |
1262 if (run_findbugs) { | 1262 if (run_findbugs) { |
1263 _final_datadeps += [ ":${_template_name}__findbugs" ] | 1263 _final_datadeps += [ ":${_template_name}__findbugs" ] |
1264 findbugs("${_template_name}__findbugs") { | 1264 findbugs("${_template_name}__findbugs") { |
1265 build_config = _build_config | 1265 build_config = _build_config |
1266 jar_path = _jar_path | 1266 jar_path = _jar_path |
1267 deps = build_config_deps | 1267 deps = [ |
| 1268 ":$_compile_java_target", |
| 1269 ] |
1268 } | 1270 } |
1269 } | 1271 } |
1270 } | 1272 } |
1271 | 1273 |
1272 _final_deps += [ ":${_template_name}__dex" ] | 1274 _final_deps += [ ":${_template_name}__dex" ] |
1273 dex("${_template_name}__dex") { | 1275 dex("${_template_name}__dex") { |
1274 sources = [ | 1276 sources = [ |
1275 _jar_path, | 1277 _jar_path, |
1276 ] | 1278 ] |
1277 output = _dex_path | 1279 output = _dex_path |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1581 ] | 1583 ] |
1582 args = [ | 1584 args = [ |
1583 "--depfile", | 1585 "--depfile", |
1584 rebase_path(depfile, root_build_dir), | 1586 rebase_path(depfile, root_build_dir), |
1585 "--script-output-path", | 1587 "--script-output-path", |
1586 rebase_path(generated_script, root_build_dir), | 1588 rebase_path(generated_script, root_build_dir), |
1587 ] | 1589 ] |
1588 args += test_runner_args | 1590 args += test_runner_args |
1589 } | 1591 } |
1590 } | 1592 } |
OLD | NEW |