Bug 1066160 pt 2 - Include Brotli in the gecko build. r=gps
This commit is contained in:
3
config/external/moz.build
vendored
3
config/external/moz.build
vendored
@@ -16,6 +16,9 @@ if CONFIG['MOZ_UPDATER']:
|
|||||||
if not CONFIG['MOZ_NATIVE_BZ2']:
|
if not CONFIG['MOZ_NATIVE_BZ2']:
|
||||||
external_dirs += ['modules/libbz2']
|
external_dirs += ['modules/libbz2']
|
||||||
|
|
||||||
|
# There's no "native brotli" yet, but probably in the future...
|
||||||
|
external_dirs += ['modules/brotli']
|
||||||
|
|
||||||
if CONFIG['MOZ_VORBIS']:
|
if CONFIG['MOZ_VORBIS']:
|
||||||
external_dirs += ['media/libvorbis']
|
external_dirs += ['media/libvorbis']
|
||||||
|
|
||||||
|
|||||||
21
modules/brotli/moz.build
Normal file
21
modules/brotli/moz.build
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# -*- 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 += [
|
||||||
|
'dec/decode.h',
|
||||||
|
'dec/streams.h',
|
||||||
|
'dec/types.h',
|
||||||
|
]
|
||||||
|
|
||||||
|
UNIFIED_SOURCES += [
|
||||||
|
'dec/bit_reader.c',
|
||||||
|
'dec/decode.c',
|
||||||
|
'dec/huffman.c',
|
||||||
|
'dec/safe_malloc.c',
|
||||||
|
'dec/streams.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
Library('brotli')
|
||||||
Reference in New Issue
Block a user