2014-10-04 13:02:24 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
|
|
|
|
EXPORTS += [
|
2015-09-19 01:40:05 +03:00
|
|
|
'dec/bit_reader.h',
|
2014-10-04 13:02:24 +04:00
|
|
|
'dec/decode.h',
|
2015-09-19 01:40:05 +03:00
|
|
|
'dec/huffman.h',
|
|
|
|
'dec/port.h',
|
|
|
|
'dec/state.h',
|
2014-10-04 13:02:24 +04:00
|
|
|
'dec/types.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'dec/bit_reader.c',
|
|
|
|
'dec/decode.c',
|
2015-09-28 20:10:09 +03:00
|
|
|
'dec/dictionary.c',
|
2014-10-04 13:02:24 +04:00
|
|
|
'dec/huffman.c',
|
2015-09-19 01:40:05 +03:00
|
|
|
'dec/state.c',
|
2014-10-04 13:02:24 +04:00
|
|
|
]
|
|
|
|
|
2015-10-20 04:05:20 +03:00
|
|
|
# We allow warnings for third-party code that can be updated from upstream.
|
2015-09-19 01:40:05 +03:00
|
|
|
ALLOW_COMPILER_WARNINGS = True
|
|
|
|
|
2016-01-28 20:48:08 +03:00
|
|
|
CFLAGS += ['-DBROTLI_BUILD_PORTABLE']
|
|
|
|
|
2014-10-04 13:02:24 +04:00
|
|
|
Library('brotli')
|