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

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

Issue 2001093002: Revert of Remove enable_topchrome_md build flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "-D", 298 "-D",
299 "enable_service_discovery", 299 "enable_service_discovery",
300 ] 300 ]
301 } 301 }
302 if (mac_views_browser) { 302 if (mac_views_browser) {
303 grit_defines += [ 303 grit_defines += [
304 "-D", 304 "-D",
305 "mac_views_browser", 305 "mac_views_browser",
306 ] 306 ]
307 } 307 }
308 if (enable_topchrome_md) {
309 grit_defines += [
310 "-D",
311 "enable_topchrome_md",
312 ]
313 }
308 314
309 grit_resource_id_file = "//tools/gritsettings/resource_ids" 315 grit_resource_id_file = "//tools/gritsettings/resource_ids"
310 grit_info_script = "//tools/grit/grit_info.py" 316 grit_info_script = "//tools/grit/grit_info.py"
311 317
312 template("grit") { 318 template("grit") {
313 assert(defined(invoker.source), 319 assert(defined(invoker.source),
314 "\"source\" must be defined for the grit template $target_name") 320 "\"source\" must be defined for the grit template $target_name")
315 321
316 grit_inputs = [ invoker.source ] 322 grit_inputs = [ invoker.source ]
317 323
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 if (defined(invoker.configs)) { 498 if (defined(invoker.configs)) {
493 configs += invoker.configs 499 configs += invoker.configs
494 } 500 }
495 501
496 if (defined(invoker.visibility)) { 502 if (defined(invoker.visibility)) {
497 visibility = invoker.visibility 503 visibility = invoker.visibility
498 } 504 }
499 output_name = grit_output_name 505 output_name = grit_output_name
500 } 506 }
501 } 507 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698