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

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

Issue 983823004: MacViews: Fix missing browser assets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@titlebar
Patch Set: Created 5 years, 9 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 "-D", 278 "-D",
279 "enable_wifi_bootstrapping", 279 "enable_wifi_bootstrapping",
280 ] 280 ]
281 } 281 }
282 if (enable_service_discovery) { 282 if (enable_service_discovery) {
283 grit_defines += [ 283 grit_defines += [
284 "-D", 284 "-D",
285 "enable_service_discovery", 285 "enable_service_discovery",
286 ] 286 ]
287 } 287 }
288 if (mac_views_browser) {
289 grit_defines += [
290 "-D",
291 "mac_views_browser",
292 ]
293 }
288 294
289 grit_resource_id_file = "//tools/gritsettings/resource_ids" 295 grit_resource_id_file = "//tools/gritsettings/resource_ids"
290 grit_info_script = "//tools/grit/grit_info.py" 296 grit_info_script = "//tools/grit/grit_info.py"
291 297
292 template("grit") { 298 template("grit") {
293 assert(defined(invoker.source), 299 assert(defined(invoker.source),
294 "\"source\" must be defined for the grit template $target_name") 300 "\"source\" must be defined for the grit template $target_name")
295 301
296 if (defined(invoker.resource_ids)) { 302 if (defined(invoker.resource_ids)) {
297 resource_ids = invoker.resource_ids 303 resource_ids = invoker.resource_ids
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 if (defined(invoker.configs)) { 449 if (defined(invoker.configs)) {
444 configs += invoker.configs 450 configs += invoker.configs
445 } 451 }
446 452
447 if (defined(invoker.visibility)) { 453 if (defined(invoker.visibility)) {
448 visibility = invoker.visibility 454 visibility = invoker.visibility
449 } 455 }
450 output_name = grit_output_name 456 output_name = grit_output_name
451 } 457 }
452 } 458 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698