Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index 8b3ab7afb6430940a862c39fa1554cd08621a7b0..042ce3a19ec02698cdd732eb79bead2ffe729321 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -1471,6 +1471,11 @@ repack("packed_extra_resources") { |
} else { |
output = "$root_out_dir/resources.pak" |
} |
+ |
+ if (is_android && enable_resource_whitelist_generation) { |
+ repack_whitelist = "$root_out_dir/resource_whitelist.txt" |
agrieve
2016/07/27 01:42:28
nit: Make a constant for this since it's used in m
estevenson
2016/07/28 21:56:46
Done.
|
+ deps += [ "//chrome/android:resource_whitelist" ] |
+ } |
} |
# GYP version: chrome/chrome_resources.gyp:browser_tests_pak |
@@ -1585,6 +1590,11 @@ template("chrome_repack_percent") { |
} |
output = repack_output_file |
+ |
+ if (is_android && enable_resource_whitelist_generation) { |
+ repack_whitelist = "$root_out_dir/resource_whitelist.txt" |
+ deps += [ "//chrome/android:resource_whitelist" ] |
+ } |
} |
copy(copy_name) { |