Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: content/browser/BUILD.gn

Issue 674703002: Linux: Dynamically load libudev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoped_udev
Patch Set: rebase to head, which includes third_party/libudev already Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/storage_monitor/udev_util_linux.cc ('k') | content/browser/device_monitor_udev.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « components/storage_monitor/udev_util_linux.cc ('k') | content/browser/device_monitor_udev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698