Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: components/cronet/android/BUILD.gn

Issue 2544043002: [Cronet] Enforce Cronet API never modified, only grown (Closed)
Patch Set: add more tests Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/process_version.gni") 8 import("//build/util/process_version.gni")
9 import("//build/util/version.gni") 9 import("//build/util/version.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 root_build_dir), 1122 root_build_dir),
1123 "--stamp", 1123 "--stamp",
1124 rebase_path(outputs[0], root_build_dir), 1124 rebase_path(outputs[0], root_build_dir),
1125 ] 1125 ]
1126 deps = [ 1126 deps = [
1127 ":cronet_api_java", 1127 ":cronet_api_java",
1128 ":cronet_impl_common_java", 1128 ":cronet_impl_common_java",
1129 ":cronet_impl_native_java", 1129 ":cronet_impl_native_java",
1130 ":cronet_impl_platform_java", 1130 ":cronet_impl_platform_java",
1131 ] 1131 ]
1132 sources = [
1133 "//components/cronet/android/api.txt",
1134 "//components/cronet/android/api_version.txt",
1135 "//components/cronet/tools/update_api.py",
1136 ]
1132 } 1137 }
1133 1138
1134 group("cronet_package") { 1139 group("cronet_package") {
1135 # Enforce that arm_use_neon==false when building for ARMv7 by 1140 # Enforce that arm_use_neon==false when building for ARMv7 by
1136 # not including any deps in cronet_package target otherwise. 1141 # not including any deps in cronet_package target otherwise.
1137 if (!(target_cpu == "arm" && arm_version == 7) || !arm_use_neon) { 1142 if (!(target_cpu == "arm" && arm_version == 7) || !arm_use_neon) {
1138 deps = [ 1143 deps = [
1139 ":api_static_checks", 1144 ":api_static_checks",
1140 ":cronet_combine_proguard_flags", 1145 ":cronet_combine_proguard_flags",
1141 ":cronet_package_copy", 1146 ":cronet_package_copy",
1142 ":cronet_package_copy_native_lib", 1147 ":cronet_package_copy_native_lib",
1143 ":cronet_package_copy_native_lib_unstripped", 1148 ":cronet_package_copy_native_lib_unstripped",
1144 ":generate_javadoc", 1149 ":generate_javadoc",
1145 ":generate_licenses", 1150 ":generate_licenses",
1146 ":jar_cronet_api_source", 1151 ":jar_cronet_api_source",
1147 ":jar_cronet_impl_common_java_source", 1152 ":jar_cronet_impl_common_java_source",
1148 ":jar_cronet_impl_native_java_source", 1153 ":jar_cronet_impl_native_java_source",
1149 ":jar_cronet_impl_platform_java_source", 1154 ":jar_cronet_impl_platform_java_source",
1150 ":jar_cronet_sample_source", 1155 ":jar_cronet_sample_source",
1151 ":repackage_extracted_jars", 1156 ":repackage_extracted_jars",
1152 ] 1157 ]
1153 if (current_cpu == "arm" && arm_version == 7) { 1158 if (current_cpu == "arm" && arm_version == 7) {
1154 deps += [ ":enforce_no_neon" ] 1159 deps += [ ":enforce_no_neon" ]
1155 } 1160 }
1156 } 1161 }
1157 } 1162 }
OLDNEW
« no previous file with comments | « no previous file | components/cronet/android/api.txt » ('j') | components/cronet/tools/api_static_checks.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698