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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 assert(enable_extensions) | 8 assert(enable_extensions) |
9 | 9 |
10 gypi_values = | 10 gypi_values = |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 } | 164 } |
165 | 165 |
166 if (enable_webrtc) { | 166 if (enable_webrtc) { |
167 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] | 167 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] |
168 } else { | 168 } else { |
169 sources += | 169 sources += |
170 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] | 170 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] |
171 } | 171 } |
172 | 172 |
173 if (use_brlapi) { | 173 if (use_brlapi) { |
174 deps += [ "//build/linux:libbrlapi" ] | 174 deps += [ "//build/linux/libbrlapi" ] |
175 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, | 175 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, |
176 ".", | 176 ".", |
177 "//chrome") | 177 "//chrome") |
178 } else { | 178 } else { |
179 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] | 179 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] |
180 } | 180 } |
181 | 181 |
182 # chromeos uses its own global_shortcut_listener, _x11 is not necessary. | 182 # chromeos uses its own global_shortcut_listener, _x11 is not necessary. |
183 if (is_chromeos || !use_x11) { | 183 if (is_chromeos || !use_x11) { |
184 sources -= [ | 184 sources -= [ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 "//chrome") | 218 "//chrome") |
219 } | 219 } |
220 | 220 |
221 if (is_chromeos && use_ozone) { | 221 if (is_chromeos && use_ozone) { |
222 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 222 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
223 } | 223 } |
224 if (!use_ozone) { | 224 if (!use_ozone) { |
225 sources -= [ "global_shortcut_listener_ozone.cc" ] | 225 sources -= [ "global_shortcut_listener_ozone.cc" ] |
226 } | 226 } |
227 } | 227 } |
OLD | NEW |