| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 } | 152 } |
| 153 | 153 |
| 154 if (enable_webrtc) { | 154 if (enable_webrtc) { |
| 155 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] | 155 sources += [ "api/webrtc_logging_private/webrtc_logging_private_api.cc" ] |
| 156 } else { | 156 } else { |
| 157 sources += | 157 sources += |
| 158 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] | 158 [ "api/webrtc_logging_private/webrtc_logging_private_api_stub.cc" ] |
| 159 } | 159 } |
| 160 | 160 |
| 161 if (use_brlapi) { | 161 if (use_brlapi) { |
| 162 deps += [ "//build/config/linux:libbrlapi" ] | 162 deps += [ "//build/linux:libbrlapi" ] |
| 163 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, | 163 sources += rebase_path(gypi_values.chrome_browser_extensions_brlapi_sources, |
| 164 ".", | 164 ".", |
| 165 "//chrome") | 165 "//chrome") |
| 166 } else { | 166 } else { |
| 167 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] | 167 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] |
| 168 } | 168 } |
| 169 | 169 |
| 170 # chromeos uses its own global_shortcut_listener, _x11 is not necessary. | 170 # chromeos uses its own global_shortcut_listener, _x11 is not necessary. |
| 171 if (is_chromeos || !use_x11) { | 171 if (is_chromeos || !use_x11) { |
| 172 sources -= [ | 172 sources -= [ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 202 "//chrome") | 202 "//chrome") |
| 203 } | 203 } |
| 204 | 204 |
| 205 if (is_chromeos && use_ozone) { | 205 if (is_chromeos && use_ozone) { |
| 206 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 206 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
| 207 } | 207 } |
| 208 if (!use_ozone) { | 208 if (!use_ozone) { |
| 209 sources -= [ "global_shortcut_listener_ozone.cc" ] | 209 sources -= [ "global_shortcut_listener_ozone.cc" ] |
| 210 } | 210 } |
| 211 } | 211 } |
| OLD | NEW |