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

Unified Diff: third_party/woff2/BUILD.gn

Issue 954163002: Add woff2 to src/third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase as third_party/ots/src/woff2.cc has changed Created 5 years, 9 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 | « third_party/woff2/.gitignore ('k') | third_party/woff2/LICENSE » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..c1495be7ca0f10e41d4dc985e516a9f94cf0157b
--- /dev/null
+++ b/third_party/woff2/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("woff2_dec") {
+ sources = [
+ "src/buffer.h",
+ "src/round.h",
+ "src/store_bytes.h",
+ "src/table_tags.cc",
+ "src/table_tags.h",
+ "src/woff2_common.h",
+ "src/woff2_dec.cc",
+ "src/woff2_dec.h",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ deps = [
+ "//third_party/brotli",
+ ]
+
+ include_dirs = [
+ "src",
+ "//third_party/brotli/dec",
+ ]
+
+ # TODO(ksakamoto): http://crbug.com/167187
+ if (is_win) {
+ cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
+ }
+}
« no previous file with comments | « third_party/woff2/.gitignore ('k') | third_party/woff2/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698