| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("brotli") { | 5 source_set("brotli") { |
| 6 sources = [ | 6 sources = [ |
| 7 "src/brotli/dec/bit_reader.c", | 7 "dec/bit_reader.c", |
| 8 "src/brotli/dec/bit_reader.h", | 8 "dec/bit_reader.h", |
| 9 "src/brotli/dec/context.h", | 9 "dec/context.h", |
| 10 "src/brotli/dec/decode.c", | 10 "dec/decode.c", |
| 11 "src/brotli/dec/decode.h", | 11 "dec/decode.h", |
| 12 "src/brotli/dec/dictionary.h", | 12 "dec/dictionary.h", |
| 13 "src/brotli/dec/huffman.c", | 13 "dec/huffman.c", |
| 14 "src/brotli/dec/huffman.h", | 14 "dec/huffman.h", |
| 15 "src/brotli/dec/prefix.h", | 15 "dec/prefix.h", |
| 16 "src/brotli/dec/safe_malloc.c", | 16 "dec/safe_malloc.c", |
| 17 "src/brotli/dec/safe_malloc.h", | 17 "dec/safe_malloc.h", |
| 18 "src/brotli/dec/streams.c", | 18 "dec/streams.c", |
| 19 "src/brotli/dec/streams.h", | 19 "dec/streams.h", |
| 20 "src/brotli/dec/transform.h", | 20 "dec/transform.h", |
| 21 "src/brotli/dec/types.h", | 21 "dec/types.h", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 configs -= [ "//build/config/compiler:chromium_code" ] | 24 configs -= [ "//build/config/compiler:chromium_code" ] |
| 25 configs += [ "//build/config/compiler:no_chromium_code" ] | 25 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 26 | 26 |
| 27 include_dirs = [ "src/brotli/dec" ] | 27 include_dirs = [ "dec" ] |
| 28 } | 28 } |
| 29 | |
| 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 ] | |
| 41 | |
| 42 configs -= [ "//build/config/compiler:chromium_code" ] | |
| 43 configs += [ "//build/config/compiler:no_chromium_code" ] | |
| 44 | |
| 45 deps = [ | |
| 46 ":brotli", | |
| 47 ] | |
| 48 | |
| 49 include_dirs = [ | |
| 50 "src/brotli/dec", | |
| 51 "src/woff2", | |
| 52 ] | |
| 53 } | |
| OLD | NEW |