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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 deps = [ | 857 deps = [ |
858 ":$process_jar_target_name", | 858 ":$process_jar_target_name", |
859 ] | 859 ] |
860 } | 860 } |
861 } | 861 } |
862 | 862 |
863 group(target_name) { | 863 group(target_name) { |
864 deps = [ | 864 deps = [ |
865 ":$process_jar_target_name", | 865 ":$process_jar_target_name", |
866 ] | 866 ] |
| 867 if (defined(invoker.data_deps)) { |
| 868 data_deps = invoker.data_deps |
| 869 } |
867 if (_supports_android) { | 870 if (_supports_android) { |
868 deps += [ ":$dex_target_name" ] | 871 deps += [ ":$dex_target_name" ] |
869 } | 872 } |
870 } | 873 } |
871 } | 874 } |
872 | 875 |
873 # Compiles and jars a set of java files. | 876 # Compiles and jars a set of java files. |
874 # | 877 # |
875 # Outputs: | 878 # Outputs: |
876 # $jar_path.jar | 879 # $jar_path.jar |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1532 ] | 1535 ] |
1533 args = [ | 1536 args = [ |
1534 "--depfile", | 1537 "--depfile", |
1535 rebase_path(depfile, root_build_dir), | 1538 rebase_path(depfile, root_build_dir), |
1536 "--script-output-path", | 1539 "--script-output-path", |
1537 rebase_path(generated_script, root_build_dir), | 1540 rebase_path(generated_script, root_build_dir), |
1538 ] | 1541 ] |
1539 args += test_runner_args | 1542 args += test_runner_args |
1540 } | 1543 } |
1541 } | 1544 } |
OLD | NEW |