| # Brotli gyp file, made by hand, all files in dec directory go into brotli_dec, |
| # all files in the enc directory go into brotli_enc. |
| { |
| 'targets': [ |
| { |
| 'target_name': 'brotli_common', |
| 'type': 'static_library', |
| 'include_dirs': [ |
| 'src/common', |
| ], |
| 'sources': [ |
| 'src/common/constants.h', |
| 'src/common/dictionary.c', |
| 'src/common/dictionary.h', |
| 'src/common/port.h', |
| 'src/common/types.h', |
| ], |
| }, |
| { |
| 'target_name': 'brotli_dec', |
| 'type': 'static_library', |
| 'dependencies': [ |
| 'brotli_common', |
| ], |
| 'include_dirs': [ |
| 'src/dec', |
| ], |
| 'sources': [ |
| 'src/dec/bit_reader.c', |
| 'src/dec/bit_reader.h', |
| 'src/dec/context.h', |
| 'src/dec/decode.c', |
| 'src/dec/decode.h', |
| 'src/dec/huffman.c', |
| 'src/dec/huffman.h', |
| 'src/dec/port.h', |
| 'src/dec/prefix.h', |
| 'src/dec/state.c', |
| 'src/dec/state.h', |
| 'src/dec/transform.h', |
| ], |
| }, |
| { |
| 'target_name': 'brotli_enc', |
| 'type': 'static_library', |
| 'dependencies': [ |
| 'brotli_common', |
| ], |
| 'include_dirs': [ |
| 'src/enc', |
| ], |
| 'sources': [ |
| 'src/enc/backward_references.c', |
| 'src/enc/backward_references.h', |
| 'src/enc/backward_references_inc.h', |
| 'src/enc/bit_cost.c', |
| 'src/enc/bit_cost.h', |
| 'src/enc/bit_cost_inc.h', |
| 'src/enc/block_encoder_inc.h', |
| 'src/enc/block_splitter.c', |
| 'src/enc/block_splitter.h', |
| 'src/enc/block_splitter_inc.h', |
| 'src/enc/brotli_bit_stream.c', |
| 'src/enc/brotli_bit_stream.h', |
| 'src/enc/cluster.c', |
| 'src/enc/cluster.h', |
| 'src/enc/cluster_inc.h', |
| 'src/enc/command.h', |
| 'src/enc/compress_fragment.c', |
| 'src/enc/compress_fragment.h', |
| 'src/enc/compress_fragment_two_pass.c', |
| 'src/enc/compress_fragment_two_pass.h', |
| 'src/enc/context.h', |
| 'src/enc/dictionary_hash.h', |
| 'src/enc/encode.c', |
| 'src/enc/encode.h', |
| 'src/enc/entropy_encode.c', |
| 'src/enc/entropy_encode.h', |
| 'src/enc/entropy_encode_static.h', |
| 'src/enc/fast_log.h', |
| 'src/enc/find_match_length.h', |
| 'src/enc/hash.h', |
| 'src/enc/hash_longest_match_inc.h', |
| 'src/enc/hash_longest_match_quickly_inc.h', |
| 'src/enc/histogram.c', |
| 'src/enc/histogram.h', |
| 'src/enc/histogram_inc.h', |
| 'src/enc/literal_cost.c', |
| 'src/enc/literal_cost.h', |
| 'src/enc/memory.c', |
| 'src/enc/memory.h', |
| 'src/enc/metablock.c', |
| 'src/enc/metablock.h', |
| 'src/enc/metablock_inc.h', |
| 'src/enc/port.h', |
| 'src/enc/prefix.h', |
| 'src/enc/ringbuffer.h', |
| 'src/enc/static_dict.c', |
| 'src/enc/static_dict.h', |
| 'src/enc/static_dict_lut.h', |
| 'src/enc/utf8_util.c', |
| 'src/enc/utf8_util.h', |
| 'src/enc/write_bits.h', |
| ], |
| }, |
| ], |
| } |