Chromium Code Reviews| Index: components/policy.gypi |
| diff --git a/components/policy.gypi b/components/policy.gypi |
| index 02d4c59483432bd730ca5fe5af78f51d90f677d0..2a6aee44eb40352a207344bf75e4245b980b6e4a 100644 |
| --- a/components/policy.gypi |
| +++ b/components/policy.gypi |
| @@ -337,6 +337,52 @@ |
| }, |
| ], |
| }], |
| + ['OS=="android" and configuration_policy==1', { |
| + 'targets': [ |
| + { |
| + 'target_name': 'app_restrictions_resources', |
| + 'type': 'none', |
| + 'variables': { |
| + 'resources_zip': '<(PRODUCT_DIR)/res.java/<(_target_name).zip', |
| + 'input_resources_dir': |
| + '<(SHARED_INTERMEDIATE_DIR)/chrome/app/policy/android', |
| + 'create_zip_script': '../build/android/gyp/zip.py', |
| + }, |
| + 'copies': [ |
| + { |
| + 'destination': '<(input_resources_dir)/xml-v21/', |
|
pneubeck (no reviews)
2015/03/27 09:09:24
same question as in the GN file: It seems weird to
knn
2015/03/27 11:46:49
This is mainly because I felt all outputs of a tar
|
| + 'files': [ |
| + '<(SHARED_INTERMEDIATE_DIR)/policy/app_restrictions.xml' |
| + ], |
| + }, |
| + ], |
| + 'actions': [ |
| + { |
| + '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', |
| + ], |
| + 'outputs': [ |
| + '<(resources_zip)' |
| + ], |
| + 'action': [ |
| + 'python', '<(create_zip_script)', |
| + '--input-dir', '<(input_resources_dir)', |
| + '--output', '<(resources_zip)', |
| + ], |
| + } |
| + ], |
| + 'all_dependent_settings': { |
|
pneubeck (no reviews)
2015/03/27 09:09:24
i don't know what this is for.
knn
2015/03/27 11:46:49
This is a setting used in android resource targets
|
| + 'variables': { |
| + 'additional_input_paths': ['<(resources_zip)'], |
| + 'dependencies_res_zip_paths': ['<(resources_zip)'], |
| + }, |
| + }, |
| + } |
| + ], |
| + }], |
| ['OS=="win" and target_arch=="ia32" and configuration_policy==1', { |
| 'targets': [ |
| { |