diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn index 6f9f06807f..04618bfb6c 100644 --- a/webrtc/BUILD.gn +++ b/webrtc/BUILD.gn @@ -180,6 +180,8 @@ static_library("webrtc") { "transport.h", ] + direct_dependent_configs = [ ":common_inherited_config"] + deps = [ ":webrtc_common", "base:webrtc_base", @@ -210,4 +212,6 @@ source_set("webrtc_common") { "config.h", "config.cc", ] + + configs += [ ":common_inherited_config"] } diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn index be9658f8b0..55853fb099 100644 --- a/webrtc/modules/desktop_capture/BUILD.gn +++ b/webrtc/modules/desktop_capture/BUILD.gn @@ -105,6 +105,8 @@ source_set("desktop_capture") { ] } + configs += [ "../../:common_inherited_config"] + deps = ["../../system_wrappers"] if (use_desktop_capture_differ_sse2) { @@ -121,6 +123,8 @@ if (use_desktop_capture_differ_sse2) { "differ_block_sse2.h", ] + configs += [ "../../:common_inherited_config"] + if (is_posix && !is_mac) { cflags = ["-msse2"] } diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn index 7ee4c8df98..cc643dad5b 100644 --- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn +++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn @@ -14,4 +14,6 @@ source_set("remote_bitrate_estimator") { "remote_rate_control.cc", "remote_rate_control.h", ] + + configs += [ "../../:common_inherited_config"] }