From afa77cd80361447e6496d1f86cadc5314ac0e56b Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Thu, 4 Sep 2014 17:00:55 +0000 Subject: [PATCH] Add direct_dependent_config to desktop_capture in GN build. This allows us to remove some configs in the Chrome build that should come automatically from depending on this target. R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14309004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7067 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/desktop_capture/BUILD.gn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn index 5bc38853d..374d71718 100644 --- a/webrtc/modules/desktop_capture/BUILD.gn +++ b/webrtc/modules/desktop_capture/BUILD.gn @@ -105,7 +105,7 @@ source_set("desktop_capture") { ] } - configs += [ "../../:common_inherited_config"] + direct_dependent_configs = [ "../..:common_inherited_config"] if (is_clang) { # Suppress warnings from Chrome's Clang plugins. @@ -124,12 +124,13 @@ if (use_desktop_capture_differ_sse2) { # Have to be compiled as a separate target because it needs to be compiled # with SSE2 enabled. source_set("desktop_capture_differ_sse2") { + visibility = ":*" sources = [ "differ_block_sse2.cc", "differ_block_sse2.h", ] - configs += [ "../../:common_inherited_config"] + configs += [ "../..:common_inherited_config"] if (is_posix && !is_mac) { cflags = ["-msse2"]