2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04:00
|
|
|
# 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/.
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2014-10-07 02:42:18 +04:00
|
|
|
'BaseElf.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'CustomElf.cpp',
|
|
|
|
'ElfLoader.cpp',
|
|
|
|
'Mappable.cpp',
|
|
|
|
'SeekableZStream.cpp',
|
|
|
|
'Zip.cpp',
|
|
|
|
]
|
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
Library('linker')
|
2013-06-17 23:21:01 +04:00
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
HOST_SOURCES += [
|
2013-09-12 21:32:27 +04:00
|
|
|
'SeekableZStream.cpp',
|
|
|
|
'szip.cpp',
|
|
|
|
]
|
2013-10-24 21:51:00 +04:00
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
HostProgram('szip')
|
2013-11-02 03:44:11 +04:00
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'mozglue'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
DEFINES['IMPL_MFBT'] = True
|
2014-03-05 04:39:06 +04:00
|
|
|
|
|
|
|
DISABLE_STL_WRAPPING = True
|
2014-07-25 02:14:21 +04:00
|
|
|
|
2014-07-29 03:55:55 +04:00
|
|
|
TEST_DIRS += ['tests']
|
2014-08-06 02:26:05 +04:00
|
|
|
|
|
|
|
HOST_OS_LIBS += [
|
|
|
|
'z',
|
|
|
|
]
|
2015-09-08 18:35:43 +03:00
|
|
|
|
|
|
|
if CONFIG['TARGET_CPU'] == 'arm':
|
|
|
|
if CONFIG['MOZ_THUMB2']:
|
|
|
|
HOST_DEFINES['TARGET_THUMB'] = True
|
|
|
|
else:
|
|
|
|
HOST_DEFINES['TARGET_ARM'] = True
|
|
|
|
|
|
|
|
if CONFIG['CPU_ARCH'] == 'x86':
|
|
|
|
HOST_DEFINES['TARGET_X86'] = True
|