From faf2410a32514dcd6daf7b7d30c08473eab55219 Mon Sep 17 00:00:00 2001 From: "pbos@webrtc.org" Date: Tue, 23 Sep 2014 12:37:06 +0000 Subject: [PATCH] gn: Hide modules/video_capture:video_capture_internal_impl behind an arg R=andresp@webrtc.org, brettw@chromium.org, kjellander@webrtc.org, pbos@webrtc.org, brettw Review URL: https://webrtc-codereview.appspot.com/30479004 Patch from Cem Kocagil . git-svn-id: http://webrtc.googlecode.com/svn/trunk@7274 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/video_capture/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webrtc/modules/video_capture/BUILD.gn b/webrtc/modules/video_capture/BUILD.gn index 773708bc69..b9f3d2f376 100644 --- a/webrtc/modules/video_capture/BUILD.gn +++ b/webrtc/modules/video_capture/BUILD.gn @@ -100,7 +100,10 @@ source_set("video_capture_internal_impl") { "QTKit.framework", ] } - if (is_win) { + # winsdk_samples isn't pulled into Chromium, so it is disabled for Chromium + # builds. This is not a problem since the internal video capture + # implementation should not be used in chrome - issue 3831. + if (is_win && !build_with_chromium) { sources = [ "windows/device_info_ds.cc", "windows/device_info_ds.h",