diff options
Diffstat (limited to 'third_party/woff2/BUILD.gn')
-rw-r--r-- | third_party/woff2/BUILD.gn | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/third_party/woff2/BUILD.gn b/third_party/woff2/BUILD.gn new file mode 100644 index 0000000..c1495be --- /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'. + } +} |