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

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: Undo patchset 5 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
« no previous file with comments | « build/config/ui.gni ('k') | chrome/app/theme/theme_resources.grd » ('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 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 if (defined(invoker.configs)) { 466 if (defined(invoker.configs)) {
461 configs += invoker.configs 467 configs += invoker.configs
462 } 468 }
463 469
464 if (defined(invoker.visibility)) { 470 if (defined(invoker.visibility)) {
465 visibility = invoker.visibility 471 visibility = invoker.visibility
466 } 472 }
467 output_name = grit_output_name 473 output_name = grit_output_name
468 } 474 }
469 } 475 }
OLDNEW
« no previous file with comments | « build/config/ui.gni ('k') | chrome/app/theme/theme_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698