OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 # Included to get 'mac_bundle_id' and other variables. | 7 # Included to get 'mac_bundle_id' and other variables. |
8 '../build/chrome_settings.gypi', | 8 '../build/chrome_settings.gypi', |
9 ], | 9 ], |
10 'variables': { | 10 'variables': { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 ['configuration_policy==1', { | 96 ['configuration_policy==1', { |
97 'targets': [ | 97 'targets': [ |
98 { | 98 { |
99 # GN version: //components/policy:cloud_policy_code_generate | 99 # GN version: //components/policy:cloud_policy_code_generate |
100 'target_name': 'cloud_policy_code_generate', | 100 'target_name': 'cloud_policy_code_generate', |
101 'type': 'none', | 101 'type': 'none', |
102 'actions': [ | 102 'actions': [ |
103 { | 103 { |
104 'inputs': [ | 104 'inputs': [ |
105 'policy/resources/policy_templates.json', | 105 'policy/resources/policy_templates.json', |
| 106 '<(DEPTH)/chrome/VERSION', |
106 '<(generate_policy_source_script_path)', | 107 '<(generate_policy_source_script_path)', |
107 ], | 108 ], |
108 'outputs': [ | 109 'outputs': [ |
109 '<(policy_constant_header_path)', | 110 '<(policy_constant_header_path)', |
110 '<(policy_constant_source_path)', | 111 '<(policy_constant_source_path)', |
111 '<(protobuf_decoder_path)', | 112 '<(protobuf_decoder_path)', |
112 '<(chrome_settings_proto_path)', | 113 '<(chrome_settings_proto_path)', |
113 '<(cloud_policy_proto_path)', | 114 '<(cloud_policy_proto_path)', |
114 '<(app_restrictions_path)', | 115 '<(app_restrictions_path)', |
115 ], | 116 ], |
116 'action_name': 'generate_policy_source', | 117 'action_name': 'generate_policy_source', |
117 'action': [ | 118 'action': [ |
118 'python', | 119 'python', |
119 '<@(generate_policy_source_script_path)', | 120 '<@(generate_policy_source_script_path)', |
120 '--policy-constants-header=<(policy_constant_header_path)', | 121 '--policy-constants-header=<(policy_constant_header_path)', |
121 '--policy-constants-source=<(policy_constant_source_path)', | 122 '--policy-constants-source=<(policy_constant_source_path)', |
122 '--chrome-settings-protobuf=<(chrome_settings_proto_path)', | 123 '--chrome-settings-protobuf=<(chrome_settings_proto_path)', |
123 '--cloud-policy-protobuf=<(cloud_policy_proto_path)', | 124 '--cloud-policy-protobuf=<(cloud_policy_proto_path)', |
124 '--cloud-policy-decoder=<(protobuf_decoder_path)', | 125 '--cloud-policy-decoder=<(protobuf_decoder_path)', |
125 '--app-restrictions-definition=<(app_restrictions_path)', | 126 '--app-restrictions-definition=<(app_restrictions_path)', |
| 127 '<(DEPTH)/chrome/VERSION', |
126 '<(OS)', | 128 '<(OS)', |
127 '<(chromeos)', | 129 '<(chromeos)', |
128 'policy/resources/policy_templates.json', | 130 'policy/resources/policy_templates.json', |
129 ], | 131 ], |
130 'message': 'Generating policy source', | 132 'message': 'Generating policy source', |
131 'conditions': [ | 133 'conditions': [ |
132 ['OS!="android"', { | 134 ['OS!="android"', { |
133 'outputs!': [ | 135 'outputs!': [ |
134 '<(app_restrictions_path)', | 136 '<(app_restrictions_path)', |
135 ], | 137 ], |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 'message': | 534 'message': |
533 'Copy the Localizable.strings files to the manifest bundle', | 535 'Copy the Localizable.strings files to the manifest bundle', |
534 'process_outputs_as_mac_bundle_resources': 1, | 536 'process_outputs_as_mac_bundle_resources': 1, |
535 }, | 537 }, |
536 ], | 538 ], |
537 }, | 539 }, |
538 ], | 540 ], |
539 }], | 541 }], |
540 ], | 542 ], |
541 } | 543 } |
OLD | NEW |