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

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
« no previous file with comments | « no previous file | components/policy/resources/policy_templates.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)'
« no previous file with comments | « no previous file | components/policy/resources/policy_templates.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698