diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn index 766d3d4636..2781a97195 100644 --- a/webrtc/BUILD.gn +++ b/webrtc/BUILD.gn @@ -370,9 +370,6 @@ rtc_static_library("webrtc_common") { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] } - deps = [ - "base:rtc_base_approved", - ] } if (use_libfuzzer || use_drfuzz || use_afl) { diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn index 2c85c64b5f..10bf763296 100644 --- a/webrtc/base/BUILD.gn +++ b/webrtc/base/BUILD.gn @@ -185,6 +185,8 @@ rtc_static_library("rtc_base_approved") { "type_traits.h", ] + deps += [ "..:webrtc_common" ] + if (is_android) { libs += [ "log" ] }