Index: tools/gn/secondary/sdch/BUILD.gn |
diff --git a/tools/gn/secondary/sdch/BUILD.gn b/tools/gn/secondary/sdch/BUILD.gn |
index 5e1340364ce19d83068d5c5b8b3f07c1eaaf58d0..73f3afb8d7cf232f43af785de3b815fc537344dc 100644 |
--- a/tools/gn/secondary/sdch/BUILD.gn |
+++ b/tools/gn/secondary/sdch/BUILD.gn |
@@ -52,4 +52,11 @@ static_library("sdch") { |
} |
deps = [ "//third_party/zlib" ] |
+ |
+ if (is_clang) { |
+ cflags = [ |
+ # TODO(mostynb): remove this if open-vcdiff is ever updated for c++11: |
+ "-Wno-deprecated-declarations", |
+ ] |
+ } |
} |