Index: components/policy.gypi |
diff --git a/components/policy.gypi b/components/policy.gypi |
index 2a6aee44eb40352a207344bf75e4245b980b6e4a..c2b99d8cae317b7e691590a84b2185e4d3ba2f11 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(475515): Remove after all build bots have run |
+ # 'remove_localized_resources' target. |
+ '<(input_resources_dir)/remove_localized_resources.d.stamp', |
], |
'outputs': [ |
'<(resources_zip)' |