Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: tools/gn/secondary/sdch/BUILD.gn

Issue 253493007: Fix to build sdch target under clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698