mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Add a conditional to not build the platform so the build system can be exploited for non-binary projects
This commit is contained in:
parent
30797d4da8
commit
3715e576d2
1 changed files with 45 additions and 44 deletions
15
moz.build
15
moz.build
|
|
@ -24,7 +24,8 @@ DIRS += [
|
||||||
'taskcluster',
|
'taskcluster',
|
||||||
]
|
]
|
||||||
|
|
||||||
if not CONFIG['JS_STANDALONE']:
|
if not CONFIG['MOZ_DISABLE_PLATFORM']:
|
||||||
|
if not CONFIG['JS_STANDALONE']:
|
||||||
CONFIGURE_SUBST_FILES += [
|
CONFIGURE_SUBST_FILES += [
|
||||||
'tools/update-packaging/Makefile',
|
'tools/update-packaging/Makefile',
|
||||||
]
|
]
|
||||||
|
|
@ -50,22 +51,22 @@ if not CONFIG['JS_STANDALONE']:
|
||||||
'probes',
|
'probes',
|
||||||
]
|
]
|
||||||
|
|
||||||
DIRS += [
|
DIRS += [
|
||||||
'config/external/fdlibm',
|
'config/external/fdlibm',
|
||||||
'config/external/nspr',
|
'config/external/nspr',
|
||||||
'config/external/zlib',
|
'config/external/zlib',
|
||||||
'memory',
|
'memory',
|
||||||
'mfbt',
|
'mfbt',
|
||||||
'mozglue',
|
'mozglue',
|
||||||
]
|
]
|
||||||
|
|
||||||
if not CONFIG['JS_STANDALONE']:
|
if not CONFIG['JS_STANDALONE']:
|
||||||
DIRS += ['xpcom/xpidl']
|
DIRS += ['xpcom/xpidl']
|
||||||
|
|
||||||
if CONFIG['USE_ICU']:
|
if CONFIG['USE_ICU']:
|
||||||
DIRS += ['config/external/icu']
|
DIRS += ['config/external/icu']
|
||||||
|
|
||||||
if CONFIG['COMPILE_ENVIRONMENT']:
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
||||||
|
|
||||||
if not CONFIG['JS_STANDALONE']:
|
if not CONFIG['JS_STANDALONE']:
|
||||||
DIRS += [
|
DIRS += [
|
||||||
|
|
@ -77,7 +78,7 @@ if CONFIG['COMPILE_ENVIRONMENT']:
|
||||||
DIRS += ['config/external/ffi']
|
DIRS += ['config/external/ffi']
|
||||||
|
|
||||||
DIRS += ['js/src']
|
DIRS += ['js/src']
|
||||||
else:
|
else:
|
||||||
TEST_DIRS += ['js/src/tests']
|
TEST_DIRS += ['js/src/tests']
|
||||||
|
|
||||||
if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
|
if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue