naiveproxy/extensions/browser/api/audio/BUILD.gn
2018-08-14 22:19:20 +00:00

36 lines
791 B
Plaintext

# Copyright 2016 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("//extensions/buildflags/buildflags.gni")
assert(enable_extensions,
"Cannot depend on extensions because enable_extensions=false.")
source_set("audio") {
sources = [
"audio_api.cc",
"audio_api.h",
"audio_device_id_calculator.cc",
"audio_device_id_calculator.h",
"audio_service.h",
"pref_names.cc",
"pref_names.h",
]
if (is_chromeos) {
sources += [ "audio_service_chromeos.cc" ]
} else {
sources += [ "audio_service.cc" ]
}
deps = [
"//components/prefs",
"//extensions/common/api",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}