mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1421501 - build integration for vendored msgpack r=glandium
MozReview-Commit-ID: 4AKDbOU4aWx --HG-- extra : rebase_source : 3c35f85a5cf25ba60e33fd64fbb265b490df4a33
This commit is contained in:
parent
7dce2bd3b9
commit
5e9fa7fdb4
8
config/external/msgpack/moz.build
vendored
Normal file
8
config/external/msgpack/moz.build
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# -*- 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/.
|
||||
|
||||
DIRS += ['/third_party/msgpack']
|
||||
|
3
third_party/moz.build
vendored
3
third_party/moz.build
vendored
@ -12,3 +12,6 @@ with Files('webkit/**'):
|
||||
|
||||
with Files('prio/**'):
|
||||
BUG_COMPONENT = ('Firefox Build System', 'General')
|
||||
|
||||
with Files('msgpack/**'):
|
||||
BUG_COMPONENT = ('Firefox Build System', 'General')
|
||||
|
28
third_party/msgpack/moz.build
vendored
Normal file
28
third_party/msgpack/moz.build
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# -*- 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/.
|
||||
|
||||
DEFINES['MSGPACK_BUILD_LIBRARY'] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'include',
|
||||
]
|
||||
|
||||
EXPORTS += [
|
||||
'include/msgpack.h',
|
||||
]
|
||||
|
||||
# We allow warnings for third-party code that can be updated from upstream.
|
||||
AllowCompilerWarnings()
|
||||
|
||||
SOURCES += [
|
||||
'objectc.c',
|
||||
'unpack.c',
|
||||
'version.c',
|
||||
'vrefbuffer.c',
|
||||
'zone.c',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
Loading…
Reference in New Issue
Block a user