From b80d710a120d5f07f3902e7e53bc5d9ebe4912c2 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Wed, 18 Jul 2018 17:52:39 +0200 Subject: [PATCH] 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 Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#24034} --- modules/audio_device/BUILD.gn | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/modules/audio_device/BUILD.gn b/modules/audio_device/BUILD.gn index 31131c3e19..ecbd176359 100644 --- a/modules/audio_device/BUILD.gn +++ b/modules/audio_device/BUILD.gn @@ -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) {