mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import("//media/media_options.gni")
|
||
|
|
||
|
source_set("device_monitors") {
|
||
|
# Do not expand the visibility here without double-checking with OWNERS, this
|
||
|
# is a roll-up target which is part of the //media component. Most other DEPs
|
||
|
# should be using //media and not directly DEP this roll-up target.
|
||
|
visibility = [ "//media" ]
|
||
|
|
||
|
sources = [
|
||
|
"device_monitor_mac.h",
|
||
|
"device_monitor_mac.mm",
|
||
|
"system_message_window_win.cc",
|
||
|
"system_message_window_win.h",
|
||
|
]
|
||
|
|
||
|
configs += [ "//media:subcomponent_config" ]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//media/audio",
|
||
|
"//media/base",
|
||
|
]
|
||
|
|
||
|
if (use_udev) {
|
||
|
deps += [ "//device/udev_linux" ]
|
||
|
sources += [
|
||
|
"device_monitor_udev.cc",
|
||
|
"device_monitor_udev.h",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
if (is_mac) {
|
||
|
libs = [ "Foundation.framework" ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"system_message_window_win_unittest.cc",
|
||
|
]
|
||
|
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//media:test_support",
|
||
|
"//testing/gmock",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|