Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / utility / BUILD.gn
index 8251204..ff32112 100644 (file)
@@ -30,13 +30,19 @@ source_set("utility") {
     "source/rtp_dump_impl.h",
   ]
 
+  if (is_clang) {
+    # Suppress warnings from Chrome's Clang plugins.
+    # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+    configs -= [ "//build/config/clang:find_bad_constructs" ]
+  }
+
   deps = [
     "../../common_audio",
     "../../system_wrappers",
     "../audio_coding",
     "../media_file",
   ]
-  if (enable_video) {
+  if (rtc_enable_video) {
     sources += [
       "source/frame_scaler.cc",
       "source/video_coder.cc",