Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index 46204650912a161f0d43e937444c9b27990cbf7a..b3a7b8c3356400bd6d5a2af4a4af065e200c1d9e 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -16,10 +16,6 @@ |
import("//chrome/version.gni") |
import("//ui/base/ui_features.gni") |
import("//v8/gni/v8.gni") |
- |
-if (enable_resource_whitelist_generation) { |
- android_resource_whitelist = "$root_gen_dir/chrome/resource_whitelist.txt" |
-} |
if (is_android) { |
import("//build/config/android/rules.gni") |
@@ -1459,11 +1455,6 @@ |
} else { |
output = "$root_out_dir/resources.pak" |
} |
- |
- if (enable_resource_whitelist_generation) { |
- repack_whitelist = android_resource_whitelist |
- deps += [ "//chrome:resource_whitelist" ] |
- } |
} |
# GYP version: chrome/chrome_resources.gyp:browser_tests_pak |
@@ -1578,11 +1569,6 @@ |
} |
output = repack_output_file |
- |
- if (enable_resource_whitelist_generation) { |
- repack_whitelist = android_resource_whitelist |
- deps += [ "//chrome:resource_whitelist" ] |
- } |
} |
copy(copy_name) { |
@@ -1696,33 +1682,6 @@ |
} |
} |
-if (enable_resource_whitelist_generation) { |
- action("resource_whitelist") { |
- deps = [ |
- "//chrome/android:chrome", |
- ] |
- script = "//tools/resources/generate_resource_whitelist.py" |
- |
- _infile = "$root_out_dir/libchrome$shlib_extension.whitelist" |
- inputs = [ |
- _infile, |
- ] |
- |
- _outfile = android_resource_whitelist |
- outputs = [ |
- _outfile, |
- ] |
- |
- args = [ |
- "-i", |
- rebase_path(_infile, root_build_dir), |
- "-o", |
- rebase_path(_outfile, root_build_dir), |
- "--out-dir=.", |
- ] |
- } |
-} |
- |
if (is_linux) { |
action("manpage") { |
if (is_chrome_branded) { |