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

Unified Diff: components/policy.gypi

Issue 1062213002: Remove localized App Restrictions resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 8 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
Index: components/policy.gypi
diff --git a/components/policy.gypi b/components/policy.gypi
index 2a6aee44eb40352a207344bf75e4245b980b6e4a..df81913130f8e1bc9770d8374b618df5ca04f1b7 100644
--- a/components/policy.gypi
+++ b/components/policy.gypi
@@ -358,11 +358,30 @@
],
'actions': [
{
+ 'action_name': 'remove_localized_resources',
+ 'outputs': [
+ '<(input_resources_dir)/remove_localized_resources.d.stamp'
+ ],
+ 'inputs': [
+ 'policy/tools/remove_localized_app_restrictions.py',
+ ],
+ 'action': [
+ 'python',
+ 'policy/tools/remove_localized_app_restrictions.py',
+ '<(input_resources_dir)',
+ ],
+ },
+ {
'action_name': 'create_resources_zip',
'inputs': [
'<(create_zip_script)',
'<(input_resources_dir)/xml-v21/app_restrictions.xml',
'<(input_resources_dir)/values-v21/restriction_values.xml',
+ # A dummy stamp file to remove localized resources without
+ # clobbering the build.
+ # TODO(knn): Remove after all build bots have run
bartfab (slow) 2015/04/09 12:04:14 Nit: Please reference a bug number.
knn 2015/04/09 13:07:42 Done.
+ # 'remove_localized_resources' target.
+ '<(input_resources_dir)/remove_localized_resources.d.stamp',
],
'outputs': [
'<(resources_zip)'

Powered by Google App Engine
This is Rietveld 408576698