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

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

Issue 1518073002: More build config cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: ERROR, not FATAL Created 5 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 | « build/linux/system.gyp ('k') | skia/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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 ] 123 ]
124 } 124 }
125 125
126 if (use_aura) { 126 if (use_aura) {
127 grit_defines += [ 127 grit_defines += [
128 "-D", 128 "-D",
129 "use_aura", 129 "use_aura",
130 ] 130 ]
131 } 131 }
132 132
133 if (use_ash) {
134 grit_defines += [
135 "-D",
136 "use_ash",
137 ]
138 }
139
140 if (use_nss_certs) { 133 if (use_nss_certs) {
141 grit_defines += [ 134 grit_defines += [
142 "-D", 135 "-D",
143 "use_nss_certs", 136 "use_nss_certs",
144 ] 137 ]
145 } 138 }
146 139
147 if (use_ozone) { 140 if (use_ozone) {
148 grit_defines += [ 141 grit_defines += [
149 "-D", 142 "-D",
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 if (defined(invoker.configs)) { 337 if (defined(invoker.configs)) {
345 configs += invoker.configs 338 configs += invoker.configs
346 } 339 }
347 340
348 if (defined(invoker.visibility)) { 341 if (defined(invoker.visibility)) {
349 visibility = invoker.visibility 342 visibility = invoker.visibility
350 } 343 }
351 output_name = grit_output_name 344 output_name = grit_output_name
352 } 345 }
353 } 346 }
OLDNEW
« no previous file with comments | « build/linux/system.gyp ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698