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

Side by Side Diff: chrome/common/BUILD.gn

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 | « chrome/chrome_repack_locales.gni ('k') | chrome/common/extensions/api/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 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 import("//chrome/version.gni") 7 import("//chrome/version.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_common.gypi") ], 10 [ rebase_path("../chrome_common.gypi") ],
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 "//chrome") 118 "//chrome")
119 deps += [ 119 deps += [
120 "//device/usb", 120 "//device/usb",
121 "//chrome/common/extensions/api", 121 "//chrome/common/extensions/api",
122 "//extensions/common", 122 "//extensions/common",
123 "//extensions/common/api", 123 "//extensions/common/api",
124 "//extensions:extensions_resources", 124 "//extensions:extensions_resources",
125 "//extensions/strings", 125 "//extensions/strings",
126 "//media/cast:net", 126 "//media/cast:net",
127 ] 127 ]
128 if (is_chromeos) { 128 if (use_cros_fe) {
129 sources += 129 sources +=
130 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, 130 rebase_path(gypi_values.chrome_common_extensions_chromeos_sources,
131 ".", 131 ".",
132 "//chrome") 132 "//chrome")
133 } 133 }
134 } 134 }
135 135
136 if (is_win || is_mac) { 136 if (is_win || is_mac) {
137 sources += 137 sources +=
138 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome") 138 rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome")
139 deps += [ "//breakpad:client" ] 139 deps += [ "//breakpad:client" ]
140 } 140 }
141 if (is_win || is_mac || is_chromeos) { 141 if (is_win || is_mac || use_cros_fe) {
142 if (use_openssl) { 142 if (use_openssl) {
143 sources += rebase_path( 143 sources += rebase_path(
144 gypi_values.chrome_common_networking_private_sources_openssl, 144 gypi_values.chrome_common_networking_private_sources_openssl,
145 ".", 145 ".",
146 "//chrome") 146 "//chrome")
147 147
148 # networking_private_crypto_openssl.cc depends on boringssl. 148 # networking_private_crypto_openssl.cc depends on boringssl.
149 deps += [ "//third_party/boringssl" ] 149 deps += [ "//third_party/boringssl" ]
150 } else { 150 } else {
151 sources += 151 sources +=
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 "channel_info_posix.cc", 197 "channel_info_posix.cc",
198 "icon_with_badge_image_source.cc", 198 "icon_with_badge_image_source.cc",
199 "media_galleries/metadata_types.h", 199 "media_galleries/metadata_types.h",
200 ] 200 ]
201 } else { 201 } else {
202 # Non-Android. 202 # Non-Android.
203 sources += 203 sources +=
204 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") 204 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome")
205 } 205 }
206 206
207 if (is_chromeos) { 207 if (use_cros_fe) {
208 sources -= [ "channel_info_posix.cc" ] 208 sources -= [ "channel_info_posix.cc" ]
209 } 209 }
210 210
211 if (is_win) { 211 if (is_win) {
212 deps += [ 212 deps += [
213 "//components/dom_distiller/core", # Needed by chrome_content_client.cc. 213 "//components/dom_distiller/core", # Needed by chrome_content_client.cc.
214 "//third_party/wtl", 214 "//third_party/wtl",
215 ] 215 ]
216 } 216 }
217 217
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 ":constants", 352 ":constants",
353 "//base", 353 "//base",
354 ] 354 ]
355 } 355 }
356 356
357 mojom("mojo_bindings") { 357 mojom("mojo_bindings") {
358 sources = [ 358 sources = [
359 "resource_usage_reporter.mojom", 359 "resource_usage_reporter.mojom",
360 ] 360 ]
361 } 361 }
OLDNEW
« no previous file with comments | « chrome/chrome_repack_locales.gni ('k') | chrome/common/extensions/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698