1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- # 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 = []
- 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) {
- sources += [
- "device_monitor_mac.h",
- "device_monitor_mac.mm",
- ]
- frameworks = [ "Foundation.framework" ]
- }
- if (is_win) {
- sources += [
- "system_message_window_win.cc",
- "system_message_window_win.h",
- ]
- }
- }
- source_set("unit_tests") {
- testonly = true
- sources = []
- deps = [
- "//base",
- "//base/test:test_support",
- "//media:test_support",
- "//testing/gmock",
- "//testing/gtest",
- ]
- if (is_win) {
- sources += [ "system_message_window_win_unittest.cc" ]
- }
- }
|