skia2/third_party/brotli/BUILD.gn
Kevin Lubick a502878308 [canvaskit] Add support for woff2 fonts
Requested by Flutter. This adds about 80k of code size
due in large part to the brotli decoding logic.

This also updates the check_deps error to point at
a doc on how to create a new GOB mirror.

Brotli version is 1.0.9; the latest as of today.

Change-Id: I1580cb2189ff1205a9bffca3d887ff2b98a4042e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/333218
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2020-11-10 15:07:26 +00:00

24 lines
758 B
Plaintext

# Copyright 2020 Google LLC
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../third_party.gni")
third_party("brotli") {
public_include_dirs = [ "../externals/brotli/c/include" ]
# The only consumer of brotli is freetype and it only needs to decode brotli.
sources = [
"../externals/brotli/c/common/constants.c",
"../externals/brotli/c/common/context.c",
"../externals/brotli/c/common/dictionary.c",
"../externals/brotli/c/common/platform.c",
"../externals/brotli/c/common/transform.c",
"../externals/brotli/c/dec/bit_reader.c",
"../externals/brotli/c/dec/decode.c",
"../externals/brotli/c/dec/huffman.c",
"../externals/brotli/c/dec/state.c",
]
}