Clean up unneeded includes in audio_device/BUILD.gn.

WebRTC internal headers are always included starting from the root
(e.g. #include "modules/audio_device/..."), so there is no need to
specify the include_dirs removed by this CL.

Bug: webrtc:9538
Change-Id: If26edecc004c6e8c3bbef3c8185c7e272110c951
Reviewed-on: https://webrtc-review.googlesource.com/89391
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24034}
This commit is contained in:
Mirko Bonadei 2018-07-18 17:52:39 +02:00 committed by Commit Bot
parent 194afd2b0e
commit b80d710a12

View File

@ -13,14 +13,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
config("audio_device_config") {
include_dirs = [
"../include",
"include",
"dummy", # Contains dummy audio device implementations.
]
}
config("audio_device_warnings_config") {
if (is_win && is_clang) {
cflags = [
@ -211,8 +203,6 @@ rtc_source_set("audio_device_module_from_input_and_output") {
# Linux, Mac, iOS and Android.
rtc_source_set("audio_device_impl") {
visibility = [ "*" ]
public_configs = [ ":audio_device_config" ]
deps = [
":audio_device_api",
":audio_device_buffer",
@ -252,22 +242,6 @@ rtc_source_set("audio_device_impl") {
]
}
include_dirs = []
if (is_linux) {
include_dirs += [ "linux" ]
}
if (is_ios) {
include_dirs += [ "ios" ]
}
if (is_mac) {
include_dirs += [ "mac" ]
}
if (is_win) {
include_dirs += [ "win" ]
}
if (is_android) {
include_dirs += [ "android" ]
}
defines = []
cflags = []
if (rtc_audio_device_plays_sinus_tone) {