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/webrtc@7067 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/desktop_capture/BUILD.gn b/modules/desktop_capture/BUILD.gn
index 5bc3885..374d717 100644
--- a/modules/desktop_capture/BUILD.gn
+++ b/modules/desktop_capture/BUILD.gn
@@ -105,7 +105,7 @@
     ]
   }
 
-  configs += [ "../../:common_inherited_config"]
+  direct_dependent_configs = [ "../..:common_inherited_config"]
 
   if (is_clang) {
     # Suppress warnings from Chrome's Clang plugins.
@@ -124,12 +124,13 @@
   # 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"]