summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-05-17 18:11:49 +0800
committerJob Bautista <jobbautista9@aol.com>2023-05-17 18:13:48 +0800
commit5ee57767e0be4bbc88c6fd63e1797755c2e502c0 (patch)
treea49d80d4f019a7bf29bdd6d7f709197c38388eb1 /js
parent3f09edfde013e3df1c7eec6c4195bf425b9b7e04 (diff)
downloaduxp-5ee57767e0be4bbc88c6fd63e1797755c2e502c0.tar.gz
Issue #2221 - Follow-up: Ensure jit_ioncheck{1|2|3}_deunified_sources is defined.
Should fix build bustage in armhf, as well as prevent bustage in mips32.
Diffstat (limited to 'js')
-rw-r--r--js/src/moz.build21
1 files changed, 17 insertions, 4 deletions
diff --git a/js/src/moz.build b/js/src/moz.build
index 0f1302bb93..99a0fd2743 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -474,6 +474,8 @@ elif CONFIG['JS_CODEGEN_ARM']:
'jit/arm/llvm-compiler-rt/arm/aeabi_idivmod.S',
'jit/arm/llvm-compiler-rt/arm/aeabi_uidivmod.S',
]
+ else:
+ jit_ioncheck2_deunified_sources = []
elif CONFIG['JS_CODEGEN_ARM64']:
jit_ioncheck1_deunified_sources = [
'jit/arm64/Architecture-arm64.cpp',
@@ -504,6 +506,8 @@ elif CONFIG['JS_CODEGEN_ARM64']:
'jit/arm64/vixl/MozSimulator-vixl.cpp',
'jit/arm64/vixl/Simulator-vixl.cpp'
]
+ else:
+ jit_ioncheck2_deunified_sources = []
elif CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
jit_ioncheck1_deunified_sources = [
'jit/mips-shared/Architecture-mips-shared.cpp',
@@ -534,6 +538,8 @@ elif CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
jit_ioncheck3_deunified_sources = [
'jit/mips32/Simulator-mips32.cpp'
]
+ else:
+ jit_ioncheck3_deunified_sources = []
elif CONFIG['JS_CODEGEN_MIPS64']:
jit_ioncheck2_deunified_sources = [
'jit/mips64/Architecture-mips64.cpp',
@@ -552,6 +558,13 @@ elif CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
jit_ioncheck3_deunified_sources = [
'jit/mips64/Simulator-mips64.cpp'
]
+ else:
+ jit_ioncheck3_deunified_sources = []
+ else:
+ jit_ioncheck2_deunified_sources = []
+ jit_ioncheck3_deunified_sources = []
+else:
+ jit_ioncheck1_deunified_sources = []
if CONFIG['OS_ARCH'] == 'WINNT':
SOURCES += [
@@ -643,8 +656,8 @@ if CONFIG['JS_LTO']:
SOURCES += jit_ioncheck1_deunified_sources
if CONFIG['ENABLE_ION']:
SOURCES += jit_ioncheck2_deunified_sources
- if CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
- SOURCES += jit_ioncheck3_deunified_sources
+ if CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
+ SOURCES += jit_ioncheck3_deunified_sources
else:
FILES_PER_UNIFIED_FILE = 6
UNIFIED_SOURCES += main_deunified_sources
@@ -653,8 +666,8 @@ else:
UNIFIED_SOURCES += jit_ioncheck1_deunified_sources
if CONFIG['ENABLE_ION']:
UNIFIED_SOURCES += jit_ioncheck2_deunified_sources
- if CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
- UNIFIED_SOURCES += jit_ioncheck3_deunified_sources
+ if CONFIG['JS_CODEGEN_MIPS32'] or CONFIG['JS_CODEGEN_MIPS64']:
+ UNIFIED_SOURCES += jit_ioncheck3_deunified_sources
USE_LIBS += [
'nspr',