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

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

Issue 1120803003: Add a GN flag for the Windows multi-dll build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remerge Created 5 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
« no previous file with comments | « build/config/sysroot.gni ('k') | chrome/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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 # source = "myfile.grd" 68 # source = "myfile.grd"
69 # outputs = [ 69 # outputs = [
70 # "foo_strings.h", 70 # "foo_strings.h",
71 # "foo_strings.pak", 71 # "foo_strings.pak",
72 # ] 72 # ]
73 # 73 #
74 # grit_flags = [ "-E", "foo=bar" ] # Optional extra flags. 74 # grit_flags = [ "-E", "foo=bar" ] # Optional extra flags.
75 # # You can also put deps here if the grit source depends on generated 75 # # You can also put deps here if the grit source depends on generated
76 # # files. 76 # # files.
77 # } 77 # }
78 import("//build/config/chrome_build.gni")
78 import("//build/config/crypto.gni") 79 import("//build/config/crypto.gni")
79 import("//build/config/features.gni") 80 import("//build/config/features.gni")
80 import("//build/config/ui.gni") 81 import("//build/config/ui.gni")
81 82
82 grit_defines = [] 83 grit_defines = []
83 84
84 # Mac and iOS want Title Case strings. 85 # Mac and iOS want Title Case strings.
85 use_titlecase_in_grd_files = is_mac || is_ios 86 use_titlecase_in_grd_files = is_mac || is_ios
86 if (use_titlecase_in_grd_files) { 87 if (use_titlecase_in_grd_files) {
87 grit_defines += [ 88 grit_defines += [
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 if (defined(invoker.configs)) { 459 if (defined(invoker.configs)) {
459 configs += invoker.configs 460 configs += invoker.configs
460 } 461 }
461 462
462 if (defined(invoker.visibility)) { 463 if (defined(invoker.visibility)) {
463 visibility = invoker.visibility 464 visibility = invoker.visibility
464 } 465 }
465 output_name = grit_output_name 466 output_name = grit_output_name
466 } 467 }
467 } 468 }
OLDNEW
« no previous file with comments | « build/config/sysroot.gni ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698