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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/isolate.gypi ('k') | examples/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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 ] 111 ]
112 } 112 }
113 113
114 if (is_desktop_linux) { 114 if (is_desktop_linux) {
115 grit_defines += [ 115 grit_defines += [
116 "-D", 116 "-D",
117 "desktop_linux", 117 "desktop_linux",
118 ] 118 ]
119 } 119 }
120 120
121 if (toolkit_views) {
122 grit_defines += [
123 "-D",
124 "toolkit_views",
125 ]
126 }
127
128 if (use_aura) { 121 if (use_aura) {
129 grit_defines += [ 122 grit_defines += [
130 "-D", 123 "-D",
131 "use_aura", 124 "use_aura",
132 ] 125 ]
133 } 126 }
134 127
135 if (use_ash) { 128 if (use_ash) {
136 grit_defines += [ 129 grit_defines += [
137 "-D", 130 "-D",
138 "use_ash", 131 "use_ash",
139 ] 132 ]
140 } 133 }
141 134
142 if (use_nss_certs) { 135 if (use_nss_certs) {
143 grit_defines += [ 136 grit_defines += [
144 "-D", 137 "-D",
145 "use_nss", 138 "use_nss",
146 ] 139 ]
147 } 140 }
148 141
149 if (use_ozone) {
150 grit_defines += [
151 "-D",
152 "use_ozone",
153 ]
154 }
155
156 if (enable_image_loader_extension) { 142 if (enable_image_loader_extension) {
157 grit_defines += [ 143 grit_defines += [
158 "-D", 144 "-D",
159 "image_loader_extension", 145 "image_loader_extension",
160 ] 146 ]
161 } 147 }
162 148
163 if (enable_remoting) { 149 if (enable_remoting) {
164 grit_defines += [ 150 grit_defines += [
165 "-D", 151 "-D",
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 if (defined(invoker.public_configs)) { 418 if (defined(invoker.public_configs)) {
433 public_configs += invoker.public_configs 419 public_configs += invoker.public_configs
434 } 420 }
435 421
436 if (defined(invoker.visibility)) { 422 if (defined(invoker.visibility)) {
437 visibility = invoker.visibility 423 visibility = invoker.visibility
438 } 424 }
439 output_name = grit_output_name 425 output_name = grit_output_name
440 } 426 }
441 } 427 }
OLDNEW
« no previous file with comments | « build/isolate.gypi ('k') | examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698