| 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 import("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 | 9 |
| 10 source_set("browser") { | 10 source_set("browser") { |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 # 'user32.dll', | 213 # 'user32.dll', |
| 214 # 'dwmapi.dll', | 214 # 'dwmapi.dll', |
| 215 # ], | 215 # ], |
| 216 } | 216 } |
| 217 | 217 |
| 218 if (is_linux) { | 218 if (is_linux) { |
| 219 deps += [ "//sandbox/linux:libc_urandom_override" ] | 219 deps += [ "//sandbox/linux:libc_urandom_override" ] |
| 220 } | 220 } |
| 221 | 221 |
| 222 if (use_udev) { | 222 if (use_udev) { |
| 223 configs += [ "//build/config/linux:udev" ] | 223 deps += [ "//device/udev_linux" ] |
| 224 } else { | 224 } else { |
| 225 # Remove udev-specific sources. | 225 # Remove udev-specific sources. |
| 226 sources -= [ | 226 sources -= [ |
| 227 "device_monitor_udev.cc", | 227 "device_monitor_udev.cc", |
| 228 "device_monitor_udev.h", | 228 "device_monitor_udev.h", |
| 229 ] | 229 ] |
| 230 if (is_linux) { | 230 if (is_linux) { |
| 231 # Already filtered out on non-Linux. | 231 # Already filtered out on non-Linux. |
| 232 sources -= [ | 232 sources -= [ |
| 233 "gamepad/gamepad_platform_data_fetcher_linux.cc", | 233 "gamepad/gamepad_platform_data_fetcher_linux.cc", |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 421 |
| 422 if (enable_browser_cdms) { | 422 if (enable_browser_cdms) { |
| 423 sources += [ | 423 sources += [ |
| 424 "media/cdm/browser_cdm_manager.cc", | 424 "media/cdm/browser_cdm_manager.cc", |
| 425 "media/cdm/browser_cdm_manager.h", | 425 "media/cdm/browser_cdm_manager.h", |
| 426 "media/media_web_contents_observer.cc", | 426 "media/media_web_contents_observer.cc", |
| 427 "media/media_web_contents_observer.h", | 427 "media/media_web_contents_observer.h", |
| 428 ] | 428 ] |
| 429 } | 429 } |
| 430 } | 430 } |
| OLD | NEW |