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

Side by Side Diff: tools/grit/grit_rule.gni

Issue 2561013002: Remove the enable_themes build flag and define. (Closed)
Patch Set: Merge Created 4 years 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/version_ui/resources/about_version.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # Instantiate grit. This will produce a script target to run grit, and a 5 # Instantiate grit. This will produce a script target to run grit, and a
6 # static library that compiles the .cc files. 6 # static library that compiles the .cc files.
7 # 7 #
8 # Parameters 8 # Parameters
9 # 9 #
10 # source (required) 10 # source (required)
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 ] 233 ]
234 } 234 }
235 } 235 }
236 236
237 if (enable_media_router) { 237 if (enable_media_router) {
238 grit_defines += [ 238 grit_defines += [
239 "-D", 239 "-D",
240 "enable_media_router", 240 "enable_media_router",
241 ] 241 ]
242 } 242 }
243 if (enable_themes) {
244 grit_defines += [
245 "-D",
246 "enable_themes",
247 ]
248 }
249 243
250 # TODO(aberent): Enable for other platforms once the build machines have 244 # TODO(aberent): Enable for other platforms once the build machines have
251 # Java on them (and hence can run the closure compiler). 245 # Java on them (and hence can run the closure compiler).
252 _strip_resource_files = is_android 246 _strip_resource_files = is_android
253 _js_minifier = "//third_party/closure_compiler/js_minify.py" 247 _js_minifier = "//third_party/closure_compiler/js_minify.py"
254 248
255 grit_resource_id_file = "//tools/gritsettings/resource_ids" 249 grit_resource_id_file = "//tools/gritsettings/resource_ids"
256 grit_info_script = "//tools/grit/grit_info.py" 250 grit_info_script = "//tools/grit/grit_info.py"
257 251
258 template("grit") { 252 template("grit") {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 if (defined(invoker.configs)) { 472 if (defined(invoker.configs)) {
479 configs += invoker.configs 473 configs += invoker.configs
480 } 474 }
481 475
482 if (defined(invoker.visibility)) { 476 if (defined(invoker.visibility)) {
483 visibility = invoker.visibility 477 visibility = invoker.visibility
484 } 478 }
485 output_name = grit_output_name 479 output_name = grit_output_name
486 } 480 }
487 } 481 }
OLDNEW
« no previous file with comments | « components/version_ui/resources/about_version.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698