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

Side by Side Diff: chrome/browser/extensions/BUILD.gn

Issue 1122613002: Make the Windows multi_dll build work in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@buildflags
Patch Set: chromeos and android 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 | « chrome/browser/devtools/BUILD.gn ('k') | chrome/common/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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 assert(enable_extensions) 9 assert(enable_extensions)
10 10
11 gypi_values = 11 gypi_values =
12 exec_script("//build/gypi_to_gn.py", 12 exec_script("//build/gypi_to_gn.py",
13 [ rebase_path("../../chrome_browser_extensions.gypi") ], 13 [ rebase_path("../../chrome_browser_extensions.gypi") ],
14 "scope", 14 "scope",
15 [ "../../chrome_browser_extensions.gypi" ]) 15 [ "../../chrome_browser_extensions.gypi" ])
16 16
17 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions 17 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions
18 static_library("extensions") { 18 source_set("extensions") {
19 sources = [] 19 sources = []
20 sources += rebase_path(gypi_values.chrome_browser_extensions_enabled_sources, 20 sources += rebase_path(gypi_values.chrome_browser_extensions_enabled_sources,
21 ".", 21 ".",
22 "//chrome") 22 "//chrome")
23 23
24 defines = [] 24 defines = []
25 25
26 # Since browser and browser_extensions actually depend on each other, 26 # Since browser and browser_extensions actually depend on each other,
27 # we must omit the dependency from browser_extensions to browser. 27 # we must omit the dependency from browser_extensions to browser.
28 # However, this means browser_extensions and browser should more or less 28 # However, this means browser_extensions and browser should more or less
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 gypi_values.chrome_browser_extensions_networking_private_sources_win mac, 174 gypi_values.chrome_browser_extensions_networking_private_sources_win mac,
175 ".", 175 ".",
176 "//chrome") 176 "//chrome")
177 } 177 }
178 178
179 if (is_win) { 179 if (is_win) {
180 deps += [ 180 deps += [
181 "//third_party/iaccessible2", 181 "//third_party/iaccessible2",
182 "//third_party/isimpledom", 182 "//third_party/isimpledom",
183 ] 183 ]
184 } else if (!is_chromeos) { 184 } else if (use_aura && !is_chromeos) {
185 sources += [ 185 sources += [
186 "display_info_provider_aura.cc", 186 "display_info_provider_aura.cc",
187 "display_info_provider_aura.h", 187 "display_info_provider_aura.h",
188 ] 188 ]
189 } 189 }
190 190
191 if (enable_app_list) { 191 if (enable_app_list) {
192 sources += 192 sources +=
193 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, 193 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources,
194 ".", 194 ".",
195 "//chrome") 195 "//chrome")
196 } 196 }
197 197
198 if (is_chromeos && use_ozone) { 198 if (is_chromeos && use_ozone) {
199 sources -= [ "global_shortcut_listener_chromeos.cc" ] 199 sources -= [ "global_shortcut_listener_chromeos.cc" ]
200 } 200 }
201 if (!use_ozone) { 201 if (!use_ozone) {
202 sources -= [ "global_shortcut_listener_ozone.cc" ] 202 sources -= [ "global_shortcut_listener_ozone.cc" ]
203 } 203 }
204 if (enable_media_router) { 204 if (enable_media_router) {
205 defines += [ "ENABLE_MEDIA_ROUTER=1" ] 205 defines += [ "ENABLE_MEDIA_ROUTER=1" ]
206 } 206 }
207 } 207 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698