11cb0ef41Sopenharmony_ci{ 21cb0ef41Sopenharmony_ci 'targets': [ 31cb0ef41Sopenharmony_ci { 41cb0ef41Sopenharmony_ci 'target_name': 'brotli', 51cb0ef41Sopenharmony_ci 'type': 'static_library', 61cb0ef41Sopenharmony_ci 'include_dirs': ['c/include'], 71cb0ef41Sopenharmony_ci 'conditions': [ 81cb0ef41Sopenharmony_ci ['OS=="linux"', { 91cb0ef41Sopenharmony_ci 'defines': [ 101cb0ef41Sopenharmony_ci 'OS_LINUX' 111cb0ef41Sopenharmony_ci ] 121cb0ef41Sopenharmony_ci }], 131cb0ef41Sopenharmony_ci ['OS=="freebsd"', { 141cb0ef41Sopenharmony_ci 'defines': [ 151cb0ef41Sopenharmony_ci 'OS_FREEBSD' 161cb0ef41Sopenharmony_ci ] 171cb0ef41Sopenharmony_ci }], 181cb0ef41Sopenharmony_ci ['OS=="mac"', { 191cb0ef41Sopenharmony_ci 'defines': [ 201cb0ef41Sopenharmony_ci 'OS_MACOSX' 211cb0ef41Sopenharmony_ci ] 221cb0ef41Sopenharmony_ci }], 231cb0ef41Sopenharmony_ci ], 241cb0ef41Sopenharmony_ci 'direct_dependent_settings': { 251cb0ef41Sopenharmony_ci 'include_dirs': [ 'c/include' ] 261cb0ef41Sopenharmony_ci }, 271cb0ef41Sopenharmony_ci 'libraries': [ 281cb0ef41Sopenharmony_ci '-lm', 291cb0ef41Sopenharmony_ci ], 301cb0ef41Sopenharmony_ci 'sources': [ 311cb0ef41Sopenharmony_ci # Common 321cb0ef41Sopenharmony_ci 'c/common/constants.c', 331cb0ef41Sopenharmony_ci 'c/common/context.c', 341cb0ef41Sopenharmony_ci 'c/common/dictionary.c', 351cb0ef41Sopenharmony_ci 'c/common/platform.c', 361cb0ef41Sopenharmony_ci 'c/common/transform.c', 371cb0ef41Sopenharmony_ci 381cb0ef41Sopenharmony_ci # Decoder 391cb0ef41Sopenharmony_ci 'c/dec/bit_reader.c', 401cb0ef41Sopenharmony_ci 'c/dec/decode.c', 411cb0ef41Sopenharmony_ci 'c/dec/huffman.c', 421cb0ef41Sopenharmony_ci 'c/dec/state.c', 431cb0ef41Sopenharmony_ci 441cb0ef41Sopenharmony_ci # Encoder 451cb0ef41Sopenharmony_ci 'c/enc/backward_references.c', 461cb0ef41Sopenharmony_ci 'c/enc/backward_references_hq.c', 471cb0ef41Sopenharmony_ci 'c/enc/bit_cost.c', 481cb0ef41Sopenharmony_ci 'c/enc/block_splitter.c', 491cb0ef41Sopenharmony_ci 'c/enc/brotli_bit_stream.c', 501cb0ef41Sopenharmony_ci 'c/enc/cluster.c', 511cb0ef41Sopenharmony_ci 'c/enc/command.c', 521cb0ef41Sopenharmony_ci 'c/enc/compress_fragment.c', 531cb0ef41Sopenharmony_ci 'c/enc/compress_fragment_two_pass.c', 541cb0ef41Sopenharmony_ci 'c/enc/dictionary_hash.c', 551cb0ef41Sopenharmony_ci 'c/enc/encode.c', 561cb0ef41Sopenharmony_ci 'c/enc/encoder_dict.c', 571cb0ef41Sopenharmony_ci 'c/enc/entropy_encode.c', 581cb0ef41Sopenharmony_ci 'c/enc/fast_log.c', 591cb0ef41Sopenharmony_ci 'c/enc/histogram.c', 601cb0ef41Sopenharmony_ci 'c/enc/literal_cost.c', 611cb0ef41Sopenharmony_ci 'c/enc/memory.c', 621cb0ef41Sopenharmony_ci 'c/enc/metablock.c', 631cb0ef41Sopenharmony_ci 'c/enc/static_dict.c', 641cb0ef41Sopenharmony_ci 'c/enc/utf8_util.c' 651cb0ef41Sopenharmony_ci ] 661cb0ef41Sopenharmony_ci } 671cb0ef41Sopenharmony_ci ] 681cb0ef41Sopenharmony_ci} 69