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

Unified Diff: third_party/woff2/BUILD.gn

Issue 1873123002: Update woff2 to 4e698b8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update BUILD.gn (win8 build fix?) Created 4 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 | third_party/woff2/CONTRIBUTING.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/woff2/BUILD.gn
diff --git a/third_party/woff2/BUILD.gn b/third_party/woff2/BUILD.gn
index 0047fefd3dcf5a0700788272cb3ba016410749ef..b7abd1953879eb7fd00dd5ee85254660573bb091 100644
--- a/third_party/woff2/BUILD.gn
+++ b/third_party/woff2/BUILD.gn
@@ -2,6 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+config("woff2_warnings") {
+ if (!is_win || is_clang) {
+ cflags = [ "-Wno-unused-function" ]
+ }
+}
+
source_set("woff2_dec") {
sources = [
"src/buffer.h",
@@ -15,10 +21,13 @@ source_set("woff2_dec") {
"src/woff2_common.h",
"src/woff2_dec.cc",
"src/woff2_dec.h",
+ "src/woff2_out.cc",
+ "src/woff2_out.h",
]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ ":woff2_warnings" ]
deps = [
"//third_party/brotli",
« no previous file with comments | « no previous file | third_party/woff2/CONTRIBUTING.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698