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

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

Issue 2150933007: [Cronet] Use gn desc to find third party licenses on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass gn-path for gn inside of //buildtools. Created 3 years, 11 months 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
« no previous file with comments | « no previous file | components/cronet/tools/cronet_licenses.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 "//net/android:net_android_java_enums_srcjar", 1196 "//net/android:net_android_java_enums_srcjar",
1197 "//net/android:net_errors_java", 1197 "//net/android:net_errors_java",
1198 ] 1198 ]
1199 jar_path = "$_package_dir/cronet_impl_native_java-src.jar" 1199 jar_path = "$_package_dir/cronet_impl_native_java-src.jar"
1200 } 1200 }
1201 1201
1202 action("generate_licenses") { 1202 action("generate_licenses") {
1203 _license_path = "$_package_dir/LICENSE" 1203 _license_path = "$_package_dir/LICENSE"
1204 1204
1205 script = "//components/cronet/tools/cronet_licenses.py" 1205 script = "//components/cronet/tools/cronet_licenses.py"
1206 inputs = [
1207 "//build/util/LASTCHANGE",
1208 "//buildtools/linux64/gn",
1209 ]
1206 outputs = [ 1210 outputs = [
1207 _license_path, 1211 _license_path,
1208 ] 1212 ]
1209 args = [ 1213 args = [
1210 "license", 1214 "license",
1211 rebase_path(_license_path, root_build_dir), 1215 rebase_path(_license_path, root_build_dir),
1216 "--gn",
1217 "--gn-path",
1218 rebase_path("//buildtools/linux64/gn", root_build_dir),
1212 ] 1219 ]
1213 } 1220 }
1214 1221
1215 action("generate_javadoc") { 1222 action("generate_javadoc") {
1216 script = "//components/cronet/tools/generate_javadoc.py" 1223 script = "//components/cronet/tools/generate_javadoc.py"
1217 depfile = "$target_gen_dir/$target_name.d" 1224 depfile = "$target_gen_dir/$target_name.d"
1218 _stamp_file = "$target_gen_dir/$target_name.stamp" 1225 _stamp_file = "$target_gen_dir/$target_name.stamp"
1219 outputs = [ 1226 outputs = [
1220 _stamp_file, 1227 _stamp_file,
1221 ] 1228 ]
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 deps = [ 1489 deps = [
1483 ":cronet_package_copy_native_test_lib", 1490 ":cronet_package_copy_native_test_lib",
1484 ":cronet_package_copy_native_test_lib_unstripped", 1491 ":cronet_package_copy_native_test_lib_unstripped",
1485 ":cronet_package_copy_test_assets", 1492 ":cronet_package_copy_test_assets",
1486 ":cronet_package_copy_test_files", 1493 ":cronet_package_copy_test_files",
1487 ":cronet_package_copy_test_support_apks", 1494 ":cronet_package_copy_test_support_apks",
1488 ":repackage_extracted_test_jars", 1495 ":repackage_extracted_test_jars",
1489 ] 1496 ]
1490 } 1497 }
1491 } 1498 }
OLDNEW
« no previous file with comments | « no previous file | components/cronet/tools/cronet_licenses.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698