xref: /aosp_15_r20/external/skia/third_party/brotli/BUILD.gn (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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
6import("../third_party.gni")
7
8third_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}
25