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

Side by Side Diff: components/policy/resources/policy_templates.gni

Issue 2481183002: Generate ADMX template for Chrome OS policies (Closed)
Patch Set: Couple of fixes after testing Created 3 years, 3 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 unified diff | Download patch
« no previous file with comments | « components/policy/BUILD.gn ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # This file contains the list of outputs generated by template_formatter.py. 5 # This file contains the list of outputs generated by template_formatter.py.
6 # To keep repetetive work down, the lists are generated from the languages and 6 # To keep repetetive work down, the lists are generated from the languages and
7 # a placeholder, e.g. some/dir/${lang}/file.ext is expanded by replacing ${lang} 7 # a placeholder, e.g. some/dir/${lang}/file.ext is expanded by replacing ${lang}
8 # by all languages. The *_path variables for per-language types (adml, doc etc.) 8 # by all languages. The *_path variables for per-language types (adml, doc etc.)
9 # contain ${lang} in unexpanded form. They are passed to the scripts to do the 9 # contain ${lang} in unexpanded form. They are passed to the scripts to do the
10 # replacement there. 10 # replacement there.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 # Additional Windows outputs for branded builds. 148 # Additional Windows outputs for branded builds.
149 policy_templates_win_google_admx_path = 149 policy_templates_win_google_admx_path =
150 "$policy_templates_base_dir/windows/admx/google.admx" 150 "$policy_templates_base_dir/windows/admx/google.admx"
151 policy_templates_win_google_adml_path = 151 policy_templates_win_google_adml_path =
152 "$policy_templates_base_dir/windows/admx/\${lang}/google.adml" 152 "$policy_templates_base_dir/windows/admx/\${lang}/google.adml"
153 policy_templates_win_google_outputs = [ policy_templates_win_google_admx_path ] 153 policy_templates_win_google_outputs = [ policy_templates_win_google_admx_path ]
154 foreach(lang, policy_templates_languages) { 154 foreach(lang, policy_templates_languages) {
155 policy_templates_win_google_outputs += 155 policy_templates_win_google_outputs +=
156 [ "$policy_templates_base_dir/windows/admx/${lang}/google.adml" ] 156 [ "$policy_templates_base_dir/windows/admx/${lang}/google.adml" ]
157 } 157 }
158
159 # Chrome OS outputs.
160 policy_templates_chromeos_admx_path =
161 "$policy_templates_base_dir/chromeos/admx/chromeos.admx"
162 policy_templates_chromeos_adml_path =
163 "$policy_templates_base_dir/chromeos/admx/\${lang}/chromeos.adml"
164 policy_templates_chromeos_outputs = [ policy_templates_chromeos_admx_path ]
165 foreach(lang, policy_templates_languages) {
166 policy_templates_chromeos_outputs +=
167 [ "$policy_templates_base_dir/chromeos/admx/${lang}/chromeos.adml" ]
168 }
169
170 # Additional Chrome OS outputs for branded builds.
171 policy_templates_chromeos_google_admx_path =
172 "$policy_templates_base_dir/chromeos/admx/google.admx"
173 policy_templates_chromeos_google_adml_path =
174 "$policy_templates_base_dir/chromeos/admx/\${lang}/google.adml"
175 policy_templates_chromeos_google_outputs =
176 [ policy_templates_chromeos_google_admx_path ]
177 foreach(lang, policy_templates_languages) {
178 policy_templates_chromeos_google_outputs +=
179 [ "$policy_templates_base_dir/chromeos/admx/${lang}/google.adml" ]
180 }
OLDNEW
« no previous file with comments | « components/policy/BUILD.gn ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698