modules/brotli/moz.build
author sotaro <sotaro.ikeda.g@gmail.com>
Fri, 28 Jul 2017 08:05:56 +0900
changeset 371594 c140e16d478a78cd6e24c379c8fc75394cc6ff78
parent 353707 55cb8ab2f8466b99cf88d6c59d2ab151b89065e9
child 373583 704c58d8803e7a0388111af34325dc1964cd4a3b
permissions -rw-r--r--
Bug 1377619 - Add EndTransaction to on screen timing log for WebRender r=nical

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'General')

UNIFIED_SOURCES += [
    'dec/bit_reader.c',
    'dec/decode.c',
    'dec/dictionary.c',
    'dec/huffman.c',
    'dec/state.c',
]

# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True

CFLAGS += ['-DBROTLI_BUILD_PORTABLE']

Library('brotli')

HostProgram('bro')

HOST_SOURCES += UNIFIED_SOURCES

HOST_SOURCES += [
    'enc/backward_references.cc',
    'enc/block_splitter.cc',
    'enc/brotli_bit_stream.cc',
    'enc/compress_fragment.cc',
    'enc/compress_fragment_two_pass.cc',
    'enc/encode.cc',
    'enc/entropy_encode.cc',
    'enc/histogram.cc',
    'enc/literal_cost.cc',
    'enc/metablock.cc',
    'enc/static_dict.cc',
    'enc/streams.cc',
    'enc/utf8_util.cc',
    'tools/bro.cc',
]