| 1 |
# Copyright 2020 Google LLC |
| 2 |
# |
| 3 |
# Use of this source code is governed by a BSD-style license that can be |
| 4 |
# found in the LICENSE file. |
| 5 |
|
| 6 |
import("../third_party.gni") |
| 7 |
|
| 8 |
third_party("brotli") { |
| 9 |
public_include_dirs = [ "../externals/brotli/c/include" ] |
| 10 |
|
| 11 |
# Brotli is used by freetype and libjxl; they only need to decode brotli. |
| 12 |
sources = [ |
| 13 |
"../externals/brotli/c/common/constants.c", |
| 14 |
"../externals/brotli/c/common/context.c", |
| 15 |
"../externals/brotli/c/common/dictionary.c", |
| 16 |
"../externals/brotli/c/common/platform.c", |
| 17 |
"../externals/brotli/c/common/shared_dictionary.c", |
| 18 |
"../externals/brotli/c/common/transform.c", |
| 19 |
"../externals/brotli/c/dec/bit_reader.c", |
| 20 |
"../externals/brotli/c/dec/decode.c", |
| 21 |
"../externals/brotli/c/dec/huffman.c", |
| 22 |
"../externals/brotli/c/dec/state.c", |
| 23 |
] |
| 24 |
} |