mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-07-21 03:48:43 +00:00
a8a397fbce
Function template inflation in intermediate code. The linker problem we hit with the corrupt file was because there were too many function descriptors and relation in the .lib
34 lines
1010 B
Plaintext
34 lines
1010 B
Plaintext
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
FILES_PER_UNIFIED_FILE = 6
|
|
|
|
# Also set in shell/moz.build
|
|
DEFINES['ENABLE_SHARED_ARRAY_BUFFER'] = True
|
|
|
|
DEFINES['EXPORT_JS_API'] = True
|
|
|
|
if CONFIG['NIGHTLY_BUILD']:
|
|
DEFINES['ENABLE_BINARYDATA'] = True
|
|
|
|
if CONFIG['NIGHTLY_BUILD']:
|
|
DEFINES['ENABLE_SIMD'] = True
|
|
|
|
if CONFIG['JS_HAS_CTYPES']:
|
|
DEFINES['JS_HAS_CTYPES'] = True
|
|
for var in ('DLL_PREFIX', 'DLL_SUFFIX'):
|
|
DEFINES[var] = '"%s"' % CONFIG[var]
|
|
|
|
if CONFIG['MOZ_LINKER']:
|
|
DEFINES['MOZ_LINKER'] = True
|
|
|
|
if CONFIG['JS_HAS_CTYPES']:
|
|
if not CONFIG['MOZ_SYSTEM_FFI']:
|
|
# Windows needs this to be linked with a static library.
|
|
DEFINES['FFI_BUILDING'] = True
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
DEFINES['_CRT_RAND_S'] = True
|
|
DEFINES['NOMINMAX'] = True |