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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 "display_info_provider_aura.h", | 217 "display_info_provider_aura.h", |
218 ] | 218 ] |
219 } | 219 } |
220 | 220 |
221 if (enable_app_list) { | 221 if (enable_app_list) { |
222 sources += rebase_path( | 222 sources += rebase_path( |
223 gypi_values.chrome_browser_extensions_app_list_sources, | 223 gypi_values.chrome_browser_extensions_app_list_sources, |
224 ".", "//chrome") | 224 ".", "//chrome") |
225 } | 225 } |
226 | 226 |
| 227 if (is_chromeos && use_ozone) { |
| 228 sources -= [ |
| 229 "global_shortcut_listener_chromeos.cc", |
| 230 ] |
| 231 } |
227 if (!use_ozone) { | 232 if (!use_ozone) { |
228 sources -= [ | 233 sources -= [ |
229 "global_shortcut_listener_ozone.cc", | 234 "global_shortcut_listener_ozone.cc", |
230 ] | 235 ] |
231 } | 236 } |
232 } | 237 } |
OLD | NEW |