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

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

Issue 2555833002: Remove enable_notifications 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 | « chrome/test/base/testing_browser_process.cc ('k') | ui/message_center/BUILD.gn » ('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 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 "-D", 245 "-D",
246 "enable_themes", 246 "enable_themes",
247 ] 247 ]
248 } 248 }
249 if (enable_task_manager) { 249 if (enable_task_manager) {
250 grit_defines += [ 250 grit_defines += [
251 "-D", 251 "-D",
252 "enable_task_manager", 252 "enable_task_manager",
253 ] 253 ]
254 } 254 }
255 if (enable_notifications) {
256 grit_defines += [
257 "-D",
258 "enable_notifications",
259 ]
260 }
261 255
262 # TODO(aberent): Enable for other platforms once the build machines have 256 # TODO(aberent): Enable for other platforms once the build machines have
263 # Java on them (and hence can run the closure compiler). 257 # Java on them (and hence can run the closure compiler).
264 _strip_resource_files = is_android 258 _strip_resource_files = is_android
265 _js_minifier = "//third_party/closure_compiler/js_minify.py" 259 _js_minifier = "//third_party/closure_compiler/js_minify.py"
266 260
267 grit_resource_id_file = "//tools/gritsettings/resource_ids" 261 grit_resource_id_file = "//tools/gritsettings/resource_ids"
268 grit_info_script = "//tools/grit/grit_info.py" 262 grit_info_script = "//tools/grit/grit_info.py"
269 263
270 template("grit") { 264 template("grit") {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 if (defined(invoker.configs)) { 484 if (defined(invoker.configs)) {
491 configs += invoker.configs 485 configs += invoker.configs
492 } 486 }
493 487
494 if (defined(invoker.visibility)) { 488 if (defined(invoker.visibility)) {
495 visibility = invoker.visibility 489 visibility = invoker.visibility
496 } 490 }
497 output_name = grit_output_name 491 output_name = grit_output_name
498 } 492 }
499 } 493 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698