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

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

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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/sanitizers/BUILD.gn ('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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ] 103 ]
104 } else { 104 } else {
105 grit_defines += [ 105 grit_defines += [
106 "-D", 106 "-D",
107 "_chromium", 107 "_chromium",
108 "-E", 108 "-E",
109 "CHROMIUM_BUILD=chromium", 109 "CHROMIUM_BUILD=chromium",
110 ] 110 ]
111 } 111 }
112 112
113 if (is_chromeos) { 113 if (use_cros_fe) {
114 grit_defines += [ 114 grit_defines += [
115 "-D", 115 "-D",
116 "chromeos", 116 "chromeos",
117 "-D", 117 "-D",
118 "scale_factors=2x", 118 "scale_factors=2x",
119 ] 119 ]
120 } 120 }
121 121
122 if (is_desktop_linux) { 122 if (is_desktop_linux) {
123 grit_defines += [ 123 grit_defines += [
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 if (defined(invoker.configs)) { 473 if (defined(invoker.configs)) {
474 configs += invoker.configs 474 configs += invoker.configs
475 } 475 }
476 476
477 if (defined(invoker.visibility)) { 477 if (defined(invoker.visibility)) {
478 visibility = invoker.visibility 478 visibility = invoker.visibility
479 } 479 }
480 output_name = grit_output_name 480 output_name = grit_output_name
481 } 481 }
482 } 482 }
OLDNEW
« no previous file with comments | « build/sanitizers/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698