other-licenses/snappy/moz.build
author Simon Sapin <simon.sapin@exyr.org>
Tue, 30 May 2017 03:50:18 -0500
changeset 1141447 4c881f05785de7b390f476fcc01a0be9317a989d
parent 805990 3ec6380fca8207fa199693206a3ca24975bf9833
child 1271249 4f430292447d5d6862581567281030f6dd3fe318
child 1273468 a0bd07b21277545cc03bc4662f70457c46a86918
child 1275493 1818ce09cfc74faf6bdd3464da804bbc2ebbc275
permissions -rw-r--r--
servo: Merge #17061 - EventSource: decode UTF-8 code points across network packets (from servo:utf8); r=nox Source-Repo: https://github.com/servo/servo Source-Revision: 25d0c561413a42fd375ea04d891855581fdf5168

# -*- 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/.

EXPORTS.snappy += [
    'snappy-stubs-public.h',
    'src/snappy-c.h',
    'src/snappy.h',
]

UNIFIED_SOURCES += [
    'src/snappy-c.cc',
    'src/snappy-sinksource.cc',
    'src/snappy-stubs-internal.cc',
    'src/snappy.cc',
]

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

FINAL_LIBRARY = 'xul'

# Suppress warnings in third-party code.
if CONFIG['GNU_CXX']:
    CXXFLAGS += [
        '-Wno-sign-compare',
        '-Wno-unused-function'
    ]