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", |
+ ".", |
] |
} |