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_overrides/build.gni") | 5 import("//build_overrides/build.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
8 | 8 |
9 assert(is_android) | 9 assert(is_android) |
10 | 10 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 _deps_configs += [ "$_dep_gen_dir/$_dep_name.build_config" ] | 144 _deps_configs += [ "$_dep_gen_dir/$_dep_name.build_config" ] |
145 } | 145 } |
146 } | 146 } |
147 sources = [] | 147 sources = [] |
148 } | 148 } |
149 set_sources_assignment_filter([]) | 149 set_sources_assignment_filter([]) |
150 } | 150 } |
151 _rebased_deps_configs = rebase_path(_deps_configs, root_build_dir) | 151 _rebased_deps_configs = rebase_path(_deps_configs, root_build_dir) |
152 | 152 |
153 outputs = [ | 153 outputs = [ |
154 depfile, | |
155 build_config, | 154 build_config, |
156 ] | 155 ] |
157 | 156 |
158 args = [ | 157 args = [ |
159 "--type", | 158 "--type", |
160 type, | 159 type, |
161 "--depfile", | 160 "--depfile", |
162 rebase_path(depfile, root_build_dir), | 161 rebase_path(depfile, root_build_dir), |
163 "--deps-configs=$_rebased_deps_configs", | 162 "--deps-configs=$_rebased_deps_configs", |
164 "--build-config", | 163 "--build-config", |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
382 "testonly", | 381 "testonly", |
383 "visibility", | 382 "visibility", |
384 ]) | 383 ]) |
385 if (!defined(sources)) { | 384 if (!defined(sources)) { |
386 sources = [] | 385 sources = [] |
387 } | 386 } |
388 script = "//build/android/gyp/copy_ex.py" | 387 script = "//build/android/gyp/copy_ex.py" |
389 | 388 |
390 depfile = "$target_gen_dir/$target_name.d" | 389 depfile = "$target_gen_dir/$target_name.d" |
391 outputs = [ | 390 outputs = [ |
392 depfile, | 391 depfile, # Doubles as a stamp file. |
Dirk Pranke
2016/09/06 01:28:53
This just seems like a bad idea, even if it's theo
agrieve
2016/09/06 18:51:46
Agreed. Fixed.
| |
393 ] | 392 ] |
394 | 393 |
395 args = [ | 394 args = [ |
396 "--depfile", | 395 "--depfile", |
397 rebase_path(depfile, root_build_dir), | 396 rebase_path(depfile, root_build_dir), |
398 "--dest", | 397 "--dest", |
399 rebase_path(invoker.dest, root_build_dir), | 398 rebase_path(invoker.dest, root_build_dir), |
400 ] | 399 ] |
401 rebased_sources = rebase_path(sources, root_build_dir) | 400 rebased_sources = rebase_path(sources, root_build_dir) |
402 args += [ "--files=$rebased_sources" ] | 401 args += [ "--files=$rebased_sources" ] |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
603 ] | 602 ] |
604 } | 603 } |
605 test_runner_args += [ "--fast-local-dev" ] | 604 test_runner_args += [ "--fast-local-dev" ] |
606 } | 605 } |
607 if (is_asan) { | 606 if (is_asan) { |
608 test_runner_args += [ "--tool=asan" ] | 607 test_runner_args += [ "--tool=asan" ] |
609 } | 608 } |
610 | 609 |
611 generated_script = "$root_build_dir/bin/run_${_test_name}" | 610 generated_script = "$root_build_dir/bin/run_${_test_name}" |
612 outputs = [ | 611 outputs = [ |
613 depfile, | |
614 generated_script, | 612 generated_script, |
615 ] | 613 ] |
616 data += [ generated_script ] | 614 data += [ generated_script ] |
617 | 615 |
618 args = [ | 616 args = [ |
619 "--depfile", | 617 "--depfile", |
620 rebase_path(depfile, root_build_dir), | 618 rebase_path(depfile, root_build_dir), |
621 "--script-output-path", | 619 "--script-output-path", |
622 rebase_path(generated_script, root_build_dir), | 620 rebase_path(generated_script, root_build_dir), |
623 ] | 621 ] |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
670 | 668 |
671 script = "//build/android/gyp/lint.py" | 669 script = "//build/android/gyp/lint.py" |
672 depfile = "$target_gen_dir/$target_name.d" | 670 depfile = "$target_gen_dir/$target_name.d" |
673 inputs = [ | 671 inputs = [ |
674 _platform_xml_path, | 672 _platform_xml_path, |
675 _suppressions_file, | 673 _suppressions_file, |
676 invoker.android_manifest, | 674 invoker.android_manifest, |
677 ] | 675 ] |
678 | 676 |
679 outputs = [ | 677 outputs = [ |
680 depfile, | |
681 _config_path, | 678 _config_path, |
682 _result_path, | 679 _result_path, |
683 ] | 680 ] |
684 | 681 |
685 args = [ | 682 args = [ |
686 "--lint-path=$_rebased_lint_android_sdk_root/tools/lint", | 683 "--lint-path=$_rebased_lint_android_sdk_root/tools/lint", |
687 "--cache-dir", | 684 "--cache-dir", |
688 rebase_path(_cache_dir, root_build_dir), | 685 rebase_path(_cache_dir, root_build_dir), |
689 "--platform-xml-path", | 686 "--platform-xml-path", |
690 rebase_path(_platform_xml_path, root_build_dir), | 687 rebase_path(_platform_xml_path, root_build_dir), |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
762 rebase_path(invoker.alternative_android_sdk_jar) | 759 rebase_path(invoker.alternative_android_sdk_jar) |
763 } else { | 760 } else { |
764 inputs += [ android_sdk_jar ] | 761 inputs += [ android_sdk_jar ] |
765 _rebased_android_sdk_jar = rebased_android_sdk_jar | 762 _rebased_android_sdk_jar = rebased_android_sdk_jar |
766 } | 763 } |
767 if (defined(invoker.inputs)) { | 764 if (defined(invoker.inputs)) { |
768 inputs += invoker.inputs | 765 inputs += invoker.inputs |
769 } | 766 } |
770 depfile = "${target_gen_dir}/${target_name}.d" | 767 depfile = "${target_gen_dir}/${target_name}.d" |
771 outputs = [ | 768 outputs = [ |
772 depfile, | |
773 _output_jar_path, | 769 _output_jar_path, |
774 "$_output_jar_path.dump", | 770 "$_output_jar_path.dump", |
775 "$_output_jar_path.seeds", | 771 "$_output_jar_path.seeds", |
776 "$_output_jar_path.mapping", | 772 "$_output_jar_path.mapping", |
777 "$_output_jar_path.usage", | 773 "$_output_jar_path.usage", |
778 ] | 774 ] |
779 args = [ | 775 args = [ |
780 "--depfile", | 776 "--depfile", |
781 rebase_path(depfile, root_build_dir), | 777 rebase_path(depfile, root_build_dir), |
782 "--proguard-path", | 778 "--proguard-path", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
815 _rebased_build_config = rebase_path(invoker.build_config, root_build_dir) | 811 _rebased_build_config = rebase_path(invoker.build_config, root_build_dir) |
816 | 812 |
817 inputs = [ | 813 inputs = [ |
818 "//build/android/pylib/utils/findbugs.py", | 814 "//build/android/pylib/utils/findbugs.py", |
819 _exclusions_file, | 815 _exclusions_file, |
820 invoker.jar_path, | 816 invoker.jar_path, |
821 invoker.build_config, | 817 invoker.build_config, |
822 ] | 818 ] |
823 | 819 |
824 outputs = [ | 820 outputs = [ |
825 depfile, | |
826 _result_path, | 821 _result_path, |
827 ] | 822 ] |
828 | 823 |
829 args = [ | 824 args = [ |
830 "--depfile", | 825 "--depfile", |
831 rebase_path(depfile, root_build_dir), | 826 rebase_path(depfile, root_build_dir), |
832 "--exclude", | 827 "--exclude", |
833 rebase_path(_exclusions_file, root_build_dir), | 828 rebase_path(_exclusions_file, root_build_dir), |
834 "--auxclasspath-gyp", | 829 "--auxclasspath-gyp", |
835 "@FileArg($_rebased_build_config:javac:classpath)", | 830 "@FileArg($_rebased_build_config:javac:classpath)", |
(...skipping 27 matching lines...) Expand all Loading... | |
863 _script_name = invoker.script_name | 858 _script_name = invoker.script_name |
864 | 859 |
865 action(target_name) { | 860 action(target_name) { |
866 script = "//build/android/gyp/create_java_binary_script.py" | 861 script = "//build/android/gyp/create_java_binary_script.py" |
867 depfile = "$target_gen_dir/$_script_name.d" | 862 depfile = "$target_gen_dir/$_script_name.d" |
868 java_script = "$root_build_dir/bin/$_script_name" | 863 java_script = "$root_build_dir/bin/$_script_name" |
869 inputs = [ | 864 inputs = [ |
870 _build_config, | 865 _build_config, |
871 ] | 866 ] |
872 outputs = [ | 867 outputs = [ |
873 depfile, | |
874 java_script, | 868 java_script, |
875 ] | 869 ] |
876 forward_variables_from(invoker, [ "deps" ]) | 870 forward_variables_from(invoker, [ "deps" ]) |
877 _rebased_build_config = rebase_path(_build_config, root_build_dir) | 871 _rebased_build_config = rebase_path(_build_config, root_build_dir) |
878 args = [ | 872 args = [ |
879 "--depfile", | 873 "--depfile", |
880 rebase_path(depfile, root_build_dir), | 874 rebase_path(depfile, root_build_dir), |
881 "--output", | 875 "--output", |
882 rebase_path(java_script, root_build_dir), | 876 rebase_path(java_script, root_build_dir), |
883 "--classpath=@FileArg($_rebased_build_config:deps_info:java:full_classpa th)", | 877 "--classpath=@FileArg($_rebased_build_config:deps_info:java:full_classpa th)", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
924 "sources", | 918 "sources", |
925 "testonly", | 919 "testonly", |
926 ]) | 920 ]) |
927 | 921 |
928 script = "//build/android/gyp/main_dex_list.py" | 922 script = "//build/android/gyp/main_dex_list.py" |
929 depfile = "$target_gen_dir/$target_name.d" | 923 depfile = "$target_gen_dir/$target_name.d" |
930 | 924 |
931 main_dex_rules = "//build/android/main_dex_classes.flags" | 925 main_dex_rules = "//build/android/main_dex_classes.flags" |
932 | 926 |
933 outputs = [ | 927 outputs = [ |
934 depfile, | |
935 _main_dex_list_path, | 928 _main_dex_list_path, |
936 ] | 929 ] |
937 | 930 |
938 args = [ | 931 args = [ |
939 "--depfile", | 932 "--depfile", |
940 rebase_path(depfile, root_build_dir), | 933 rebase_path(depfile, root_build_dir), |
941 "--android-sdk-tools", | 934 "--android-sdk-tools", |
942 rebased_android_sdk_build_tools, | 935 rebased_android_sdk_build_tools, |
943 "--main-dex-list-path", | 936 "--main-dex-list-path", |
944 rebase_path(_main_dex_list_path, root_build_dir), | 937 rebase_path(_main_dex_list_path, root_build_dir), |
(...skipping 16 matching lines...) Expand all Loading... | |
961 forward_variables_from(invoker, | 954 forward_variables_from(invoker, |
962 [ | 955 [ |
963 "deps", | 956 "deps", |
964 "inputs", | 957 "inputs", |
965 "sources", | 958 "sources", |
966 "testonly", | 959 "testonly", |
967 ]) | 960 ]) |
968 script = "//build/android/gyp/dex.py" | 961 script = "//build/android/gyp/dex.py" |
969 depfile = "$target_gen_dir/$target_name.d" | 962 depfile = "$target_gen_dir/$target_name.d" |
970 outputs = [ | 963 outputs = [ |
971 depfile, | |
972 invoker.output, | 964 invoker.output, |
973 ] | 965 ] |
974 | 966 |
975 rebased_output = rebase_path(invoker.output, root_build_dir) | 967 rebased_output = rebase_path(invoker.output, root_build_dir) |
976 | 968 |
977 args = [ | 969 args = [ |
978 "--depfile", | 970 "--depfile", |
979 rebase_path(depfile, root_build_dir), | 971 rebase_path(depfile, root_build_dir), |
980 "--android-sdk-tools", | 972 "--android-sdk-tools", |
981 rebased_android_sdk_build_tools, | 973 rebased_android_sdk_build_tools, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1153 _source_dirs_listing_file = "$target_out_dir/${target_name}_sources.txt" | 1145 _source_dirs_listing_file = "$target_out_dir/${target_name}_sources.txt" |
1154 _emma_jar = "${android_sdk_root}/tools/lib/emma.jar" | 1146 _emma_jar = "${android_sdk_root}/tools/lib/emma.jar" |
1155 | 1147 |
1156 script = "//build/android/gyp/emma_instr.py" | 1148 script = "//build/android/gyp/emma_instr.py" |
1157 depfile = "${target_gen_dir}/${target_name}.d" | 1149 depfile = "${target_gen_dir}/${target_name}.d" |
1158 inputs = invoker.java_files + [ | 1150 inputs = invoker.java_files + [ |
1159 _emma_jar, | 1151 _emma_jar, |
1160 invoker.input_jar_path, | 1152 invoker.input_jar_path, |
1161 ] | 1153 ] |
1162 outputs = [ | 1154 outputs = [ |
1163 depfile, | |
1164 _coverage_file, | 1155 _coverage_file, |
1165 _source_dirs_listing_file, | 1156 _source_dirs_listing_file, |
1166 invoker.output_jar_path, | 1157 invoker.output_jar_path, |
1167 ] | 1158 ] |
1168 args = [ | 1159 args = [ |
1169 "instrument_jar", | 1160 "instrument_jar", |
1170 "--input-path", | 1161 "--input-path", |
1171 rebase_path(invoker.input_jar_path, root_build_dir), | 1162 rebase_path(invoker.input_jar_path, root_build_dir), |
1172 "--output-path", | 1163 "--output-path", |
1173 rebase_path(invoker.output_jar_path, root_build_dir), | 1164 rebase_path(invoker.output_jar_path, root_build_dir), |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1228 data_deps = [ | 1219 data_deps = [ |
1229 "//tools/android/md5sum", | 1220 "//tools/android/md5sum", |
1230 ] # Used when deploying APKs | 1221 ] # Used when deploying APKs |
1231 | 1222 |
1232 inputs = invoker.native_libs + [ invoker.resource_packaged_apk_path ] | 1223 inputs = invoker.native_libs + [ invoker.resource_packaged_apk_path ] |
1233 if (defined(invoker.dex_path)) { | 1224 if (defined(invoker.dex_path)) { |
1234 inputs += [ invoker.dex_path ] | 1225 inputs += [ invoker.dex_path ] |
1235 } | 1226 } |
1236 | 1227 |
1237 outputs = [ | 1228 outputs = [ |
1238 depfile, | |
1239 invoker.output_apk_path, | 1229 invoker.output_apk_path, |
1240 ] | 1230 ] |
1241 | 1231 |
1242 _rebased_resource_packaged_apk_path = | 1232 _rebased_resource_packaged_apk_path = |
1243 rebase_path(invoker.resource_packaged_apk_path, root_build_dir) | 1233 rebase_path(invoker.resource_packaged_apk_path, root_build_dir) |
1244 _rebased_packaged_apk_path = | 1234 _rebased_packaged_apk_path = |
1245 rebase_path(invoker.output_apk_path, root_build_dir) | 1235 rebase_path(invoker.output_apk_path, root_build_dir) |
1246 args = [ | 1236 args = [ |
1247 "--depfile", | 1237 "--depfile", |
1248 rebase_path(depfile, root_build_dir), | 1238 rebase_path(depfile, root_build_dir), |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1325 "testonly", | 1315 "testonly", |
1326 ]) | 1316 ]) |
1327 | 1317 |
1328 sources = [ | 1318 sources = [ |
1329 invoker.input_apk_path, | 1319 invoker.input_apk_path, |
1330 ] | 1320 ] |
1331 inputs = [ | 1321 inputs = [ |
1332 invoker.keystore_path, | 1322 invoker.keystore_path, |
1333 ] | 1323 ] |
1334 outputs = [ | 1324 outputs = [ |
1335 depfile, | |
1336 invoker.output_apk_path, | 1325 invoker.output_apk_path, |
1337 ] | 1326 ] |
1338 data = [ | 1327 data = [ |
1339 invoker.output_apk_path, | 1328 invoker.output_apk_path, |
1340 ] | 1329 ] |
1341 | 1330 |
1342 args = [ | 1331 args = [ |
1343 "--depfile", | 1332 "--depfile", |
1344 rebase_path(depfile, root_build_dir), | 1333 rebase_path(depfile, root_build_dir), |
1345 "--zipalign-path", | 1334 "--zipalign-path", |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1462 | 1451 |
1463 script = "//build/android/gyp/package_resources.py" | 1452 script = "//build/android/gyp/package_resources.py" |
1464 depfile = "${target_gen_dir}/${target_name}.d" | 1453 depfile = "${target_gen_dir}/${target_name}.d" |
1465 inputs = [ | 1454 inputs = [ |
1466 invoker.android_manifest, | 1455 invoker.android_manifest, |
1467 ] | 1456 ] |
1468 if (defined(_resources_zip)) { | 1457 if (defined(_resources_zip)) { |
1469 inputs += [ _resources_zip ] | 1458 inputs += [ _resources_zip ] |
1470 } | 1459 } |
1471 outputs = [ | 1460 outputs = [ |
1472 depfile, | |
1473 invoker.resource_packaged_apk_path, | 1461 invoker.resource_packaged_apk_path, |
1474 ] | 1462 ] |
1475 | 1463 |
1476 if (defined(invoker.android_aapt_path)) { | 1464 if (defined(invoker.android_aapt_path)) { |
1477 _android_aapt_path = invoker.android_aapt_path | 1465 _android_aapt_path = invoker.android_aapt_path |
1478 } else { | 1466 } else { |
1479 _android_aapt_path = android_default_aapt_path | 1467 _android_aapt_path = android_default_aapt_path |
1480 } | 1468 } |
1481 | 1469 |
1482 if (defined(invoker.alternative_android_sdk_jar)) { | 1470 if (defined(invoker.alternative_android_sdk_jar)) { |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1557 "target_gen_dir") + "/AndroidManifest.xml" | 1545 "target_gen_dir") + "/AndroidManifest.xml" |
1558 action(_generate_incremental_manifest_target_name) { | 1546 action(_generate_incremental_manifest_target_name) { |
1559 deps = _incremental_deps | 1547 deps = _incremental_deps |
1560 script = | 1548 script = |
1561 "//build/android/incremental_install/generate_android_manifest.py" | 1549 "//build/android/incremental_install/generate_android_manifest.py" |
1562 depfile = "${target_gen_dir}/${target_name}.d" | 1550 depfile = "${target_gen_dir}/${target_name}.d" |
1563 inputs = [ | 1551 inputs = [ |
1564 _android_manifest, | 1552 _android_manifest, |
1565 ] | 1553 ] |
1566 outputs = [ | 1554 outputs = [ |
1567 depfile, | |
1568 _incremental_android_manifest, | 1555 _incremental_android_manifest, |
1569 ] | 1556 ] |
1570 | 1557 |
1571 _rebased_src_manifest = rebase_path(_android_manifest, root_build_dir) | 1558 _rebased_src_manifest = rebase_path(_android_manifest, root_build_dir) |
1572 _rebased_incremental_manifest = | 1559 _rebased_incremental_manifest = |
1573 rebase_path(_incremental_android_manifest, root_build_dir) | 1560 rebase_path(_incremental_android_manifest, root_build_dir) |
1574 _rebased_depfile = rebase_path(depfile, root_build_dir) | 1561 _rebased_depfile = rebase_path(depfile, root_build_dir) |
1575 args = [ | 1562 args = [ |
1576 "--src-manifest=$_rebased_src_manifest", | 1563 "--src-manifest=$_rebased_src_manifest", |
1577 "--out-manifest=$_rebased_incremental_manifest", | 1564 "--out-manifest=$_rebased_incremental_manifest", |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1992 | 1979 |
1993 action(_javac_target_name) { | 1980 action(_javac_target_name) { |
1994 script = "//build/android/gyp/javac.py" | 1981 script = "//build/android/gyp/javac.py" |
1995 depfile = "$target_gen_dir/$target_name.d" | 1982 depfile = "$target_gen_dir/$target_name.d" |
1996 deps = _srcjar_deps | 1983 deps = _srcjar_deps |
1997 if (defined(invoker.deps)) { | 1984 if (defined(invoker.deps)) { |
1998 deps += invoker.deps | 1985 deps += invoker.deps |
1999 } | 1986 } |
2000 | 1987 |
2001 outputs = [ | 1988 outputs = [ |
2002 depfile, | |
2003 _javac_jar_path, | 1989 _javac_jar_path, |
2004 _javac_jar_path + ".md5.stamp", | 1990 _javac_jar_path + ".md5.stamp", |
2005 ] | 1991 ] |
2006 sources = invoker.java_files + _java_srcjars | 1992 sources = invoker.java_files + _java_srcjars |
2007 inputs = [ | 1993 inputs = [ |
2008 _build_config, | 1994 _build_config, |
2009 ] | 1995 ] |
2010 if (invoker.java_files != []) { | 1996 if (invoker.java_files != []) { |
2011 inputs += [ invoker.java_sources_file ] | 1997 inputs += [ invoker.java_sources_file ] |
2012 } | 1998 } |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2436 action(target_name) { | 2422 action(target_name) { |
2437 forward_variables_from(invoker, | 2423 forward_variables_from(invoker, |
2438 [ | 2424 [ |
2439 "deps", | 2425 "deps", |
2440 "visibility", | 2426 "visibility", |
2441 ]) | 2427 ]) |
2442 script = "//build/android/gyp/process_resources.py" | 2428 script = "//build/android/gyp/process_resources.py" |
2443 | 2429 |
2444 depfile = "$target_gen_dir/$target_name.d" | 2430 depfile = "$target_gen_dir/$target_name.d" |
2445 outputs = [ | 2431 outputs = [ |
2446 depfile, | |
2447 zip_path, | 2432 zip_path, |
2448 srcjar_path, | 2433 srcjar_path, |
2449 r_text_path, | 2434 r_text_path, |
2450 ] | 2435 ] |
2451 | 2436 |
2452 _all_resource_dirs = [] | 2437 _all_resource_dirs = [] |
2453 sources = [] | 2438 sources = [] |
2454 | 2439 |
2455 if (defined(invoker.resource_dirs)) { | 2440 if (defined(invoker.resource_dirs)) { |
2456 _all_resource_dirs += invoker.resource_dirs | 2441 _all_resource_dirs += invoker.resource_dirs |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2638 invoker.has_code, | 2623 invoker.has_code, |
2639 ] | 2624 ] |
2640 } | 2625 } |
2641 args += [ | 2626 args += [ |
2642 "--depfile", | 2627 "--depfile", |
2643 rebase_path(depfile, root_build_dir), | 2628 rebase_path(depfile, root_build_dir), |
2644 ] | 2629 ] |
2645 | 2630 |
2646 script = "//build/android/gyp/generate_split_manifest.py" | 2631 script = "//build/android/gyp/generate_split_manifest.py" |
2647 outputs = [ | 2632 outputs = [ |
2648 depfile, | |
2649 invoker.out_manifest, | 2633 invoker.out_manifest, |
2650 ] | 2634 ] |
2651 inputs = [ | 2635 inputs = [ |
2652 invoker.main_manifest, | 2636 invoker.main_manifest, |
2653 ] | 2637 ] |
2654 } | 2638 } |
2655 } | 2639 } |
2656 } | 2640 } |
OLD | NEW |