OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 import("//build/util/version.gni") | 8 import("//build/util/version.gni") |
9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 ] | 865 ] |
866 args = [ | 866 args = [ |
867 "license", | 867 "license", |
868 rebase_path(_license_path, root_build_dir), | 868 rebase_path(_license_path, root_build_dir), |
869 ] | 869 ] |
870 } | 870 } |
871 | 871 |
872 action("generate_javadoc") { | 872 action("generate_javadoc") { |
873 script = "//components/cronet/tools/generate_javadoc.py" | 873 script = "//components/cronet/tools/generate_javadoc.py" |
874 depfile = "$target_gen_dir/$target_name.d" | 874 depfile = "$target_gen_dir/$target_name.d" |
| 875 _stamp_file = "$target_gen_dir/$target_name.stamp" |
875 outputs = [ | 876 outputs = [ |
876 depfile, | 877 _stamp_file, |
877 ] | 878 ] |
878 args = [ | 879 args = [ |
879 "--output-dir", | 880 "--output-dir", |
880 rebase_path(_package_dir, root_build_dir), | 881 rebase_path(_package_dir, root_build_dir), |
881 "--input-dir", | 882 "--input-dir", |
882 rebase_path("//components/cronet", root_build_dir), | 883 rebase_path("//components/cronet", root_build_dir), |
883 "--overview-file", | 884 "--overview-file", |
884 rebase_path("$_package_dir/README.md.html", root_build_dir), | 885 rebase_path("$_package_dir/README.md.html", root_build_dir), |
885 "--readme-file", | 886 "--readme-file", |
886 rebase_path("//components/cronet/README.md", root_build_dir), | 887 rebase_path("//components/cronet/README.md", root_build_dir), |
887 "--depfile", | 888 "--depfile", |
888 rebase_path(depfile, root_build_dir), | 889 rebase_path(depfile, root_build_dir), |
| 890 "--stamp", |
| 891 rebase_path(_stamp_file, root_build_dir), |
889 "--lib-java-dir", | 892 "--lib-java-dir", |
890 rebase_path("$root_build_dir/lib.java/components/cronet/android", | 893 rebase_path("$root_build_dir/lib.java/components/cronet/android", |
891 root_build_dir), | 894 root_build_dir), |
892 | 895 |
893 # JavaDoc is generated from Cronet's API source jar. | 896 # JavaDoc is generated from Cronet's API source jar. |
894 "--input-src-jar", | 897 "--input-src-jar", |
895 rebase_path("$_package_dir/cronet_api-src.jar", root_build_dir), | 898 rebase_path("$_package_dir/cronet_api-src.jar", root_build_dir), |
896 ] | 899 ] |
897 deps = [ | 900 deps = [ |
898 ":cronet_javadoc_classpath", | 901 ":cronet_javadoc_classpath", |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 ":jar_cronet_api_source", | 992 ":jar_cronet_api_source", |
990 ":jar_cronet_other_source", | 993 ":jar_cronet_other_source", |
991 ":jar_cronet_sample_source", | 994 ":jar_cronet_sample_source", |
992 ":repackage_extracted_jars", | 995 ":repackage_extracted_jars", |
993 ] | 996 ] |
994 if (current_cpu == "arm" && arm_version == 7) { | 997 if (current_cpu == "arm" && arm_version == 7) { |
995 deps += [ ":enforce_no_neon" ] | 998 deps += [ ":enforce_no_neon" ] |
996 } | 999 } |
997 } | 1000 } |
998 } | 1001 } |
OLD | NEW |