aw: Move SharedRendererState out of AwContents
[chromium-blink-merge.git] / third_party / brotli / BUILD.gn
blob73fb5b9212b10f931ad23a3e55e43826c7f6ebee
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 source_set("brotli") {
6   sources = [
7     "src/brotli/dec/bit_reader.c",
8     "src/brotli/dec/bit_reader.h",
9     "src/brotli/dec/context.h",
10     "src/brotli/dec/decode.c",
11     "src/brotli/dec/decode.h",
12     "src/brotli/dec/dictionary.h",
13     "src/brotli/dec/huffman.c",
14     "src/brotli/dec/huffman.h",
15     "src/brotli/dec/prefix.h",
16     "src/brotli/dec/safe_malloc.c",
17     "src/brotli/dec/safe_malloc.h",
18     "src/brotli/dec/streams.c",
19     "src/brotli/dec/streams.h",
20     "src/brotli/dec/transform.h",
21     "src/brotli/dec/types.h",
22   ]
24   configs -= [ "//build/config/compiler:chromium_code" ]
25   configs += [ "//build/config/compiler:no_chromium_code" ]
27   include_dirs = [ "src/brotli/dec" ]
30 source_set("woff2_dec") {
31   sources = [
32     "src/woff2/buffer.h",
33     "src/woff2/round.h",
34     "src/woff2/store_bytes.h",
35     "src/woff2/table_tags.cc",
36     "src/woff2/table_tags.h",
37     "src/woff2/woff2_common.h",
38     "src/woff2/woff2_dec.cc",
39     "src/woff2/woff2_dec.h",
40   ]
42   configs -= [ "//build/config/compiler:chromium_code" ]
43   configs += [ "//build/config/compiler:no_chromium_code" ]
45   deps = [ ":brotli" ]
47   include_dirs = [
48     "src/brotli/dec",
49     "src/woff2",
50   ]