| Index: components/cronet/ios/BUILD.gn
|
| diff --git a/components/cronet/ios/BUILD.gn b/components/cronet/ios/BUILD.gn
|
| index e0b57e86ddfed8762aa1c4e305a45fcc8ad13210..dfe018b5ce57bcea5f85171fbd371e578dd2c7ed 100644
|
| --- a/components/cronet/ios/BUILD.gn
|
| +++ b/components/cronet/ios/BUILD.gn
|
| @@ -294,20 +294,20 @@ if (additional_toolchains == [] || current_toolchain == default_toolchain) {
|
| action("generate_license") {
|
| _license_path = "$_package_dir/LICENSE"
|
|
|
| - script = "//components/cronet/tools/cronet_licenses.py"
|
| + script = "//tools/licenses.py"
|
| inputs = [
|
| "//build/util/LASTCHANGE",
|
| - "//buildtools/$host_os/gn",
|
| ]
|
| outputs = [
|
| _license_path,
|
| ]
|
| args = [
|
| - "license",
|
| + "license_file",
|
| rebase_path(_license_path, root_build_dir),
|
| - "--gn",
|
| - "--gn-path",
|
| - rebase_path("//buildtools/$host_os/gn", root_build_dir),
|
| + "--gn-target",
|
| + "//components/cronet/ios:cronet_framework",
|
| + "--gn-out-dir",
|
| + ".",
|
| ]
|
| }
|
|
|
|
|