blob: bd0ab8d889ea0a5d28e3019e7f171a917ef2cb2c [file] [log] [blame]
# 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",
]
}