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

Unified Diff: components/cronet/android/BUILD.gn

Issue 2959303002: [Cronet] Use gn desc to find third party licenses on Android. (Closed)
Patch Set: Use single quotes. Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/licenses.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/BUILD.gn
diff --git a/components/cronet/android/BUILD.gn b/components/cronet/android/BUILD.gn
index 230ecf0b07b9f74350ff213baa465ab47836fd58..4474e321496af0adf7bcf4fbb06d1dbe1defb3cd 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -1201,13 +1201,17 @@ jar_src("jar_cronet_impl_native_java_source") {
action("generate_licenses") {
_license_path = "$_package_dir/LICENSE"
- script = "//components/cronet/tools/cronet_licenses.py"
+ script = "//tools/licenses.py"
outputs = [
_license_path,
]
args = [
- "license",
+ "license_file",
rebase_path(_license_path, root_build_dir),
+ "--gn-target",
+ "//components/cronet/android:cronet",
+ "--gn-out-dir",
+ ".",
]
}
« no previous file with comments | « no previous file | tools/licenses.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698