1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 'snappy-stubs-public.h',
15 'src/snappy-sinksource.cc',
16 'src/snappy-stubs-internal.cc',
20 # We allow warnings for third-party code that can be updated from upstream.
21 AllowCompilerWarnings()
25 # Suppress warnings in third-party code.
26 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
29 '-Wno-unused-function'
32 if CONFIG['TARGET_ENDIANNESS'] == 'big':
33 DEFINES['SNAPPY_IS_BIG_ENDIAN'] = 1