OLD | NEW |
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 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 } | 174 } |
175 | 175 |
176 if (is_win || is_mac) { | 176 if (is_win || is_mac) { |
177 deps += [ "//components/wifi" ] | 177 deps += [ "//components/wifi" ] |
178 sources += rebase_path( | 178 sources += rebase_path( |
179 gypi_values.chrome_browser_extensions_networking_private_sources_win
mac, | 179 gypi_values.chrome_browser_extensions_networking_private_sources_win
mac, |
180 ".", | 180 ".", |
181 "//chrome") | 181 "//chrome") |
182 } | 182 } |
183 | 183 |
184 if (is_desktop_linux) { | |
185 sources += rebase_path( | |
186 gypi_values.chrome_browser_extensions_networking_private_sources_lin
ux, | |
187 ".", | |
188 "//chrome") | |
189 } | |
190 | |
191 if (is_win) { | 184 if (is_win) { |
192 deps += [ | 185 deps += [ |
193 "//third_party/iaccessible2", | 186 "//third_party/iaccessible2", |
194 "//third_party/isimpledom", | 187 "//third_party/isimpledom", |
195 ] | 188 ] |
196 } else if (!is_chromeos) { | 189 } else if (!is_chromeos) { |
197 sources += [ | 190 sources += [ |
198 "display_info_provider_aura.cc", | 191 "display_info_provider_aura.cc", |
199 "display_info_provider_aura.h", | 192 "display_info_provider_aura.h", |
200 ] | 193 ] |
201 } | 194 } |
202 | 195 |
203 if (enable_app_list) { | 196 if (enable_app_list) { |
204 sources += | 197 sources += |
205 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, | 198 rebase_path(gypi_values.chrome_browser_extensions_app_list_sources, |
206 ".", | 199 ".", |
207 "//chrome") | 200 "//chrome") |
208 } | 201 } |
209 | 202 |
210 if (is_chromeos && use_ozone) { | 203 if (is_chromeos && use_ozone) { |
211 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 204 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
212 } | 205 } |
213 if (!use_ozone) { | 206 if (!use_ozone) { |
214 sources -= [ "global_shortcut_listener_ozone.cc" ] | 207 sources -= [ "global_shortcut_listener_ozone.cc" ] |
215 } | 208 } |
216 } | 209 } |
OLD | NEW |