Dactyloidae/build/moz.configure
Job Bautista bad884a7c7 Issue #2165 - Build ICU as a shared library if we're building Spidermonkey shared.
It seems that if we're going to enable JS_SHARED_LIBRARY, we need ICU to be a
shared library too in order to prevent code duplication in mozjs.dll bloating
it to a whopping 21 MB.
This unfortunately means we have to fold icudata back to icu itself. But since
icudata is still separated from libxul (which is what really matters for #1451),
I think this is a fair compromise.
Building ICU as shared is offered as an option via --enable-shared-icu. But
technically you really need --enable-shared-icu if you're going to use
--enable-shared-js. Unfortunately I can't make configure exit with an error if
MOZ_SHARED_ICU is not defined when JS_SHARED_LIBRARY is enabled, because options
are controlled by different configure scripts (icu is based on bash, while js is
based on python), and I have no idea how to pass MOZ_SHARED_ICU to js's
moz.configure.

Tag #62
2023-03-28 12:11:00 +08:00
..
android-ndk.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
checks.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
compile-checks.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
compilers-util.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
headers.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
init.configure Issue #1905 - Part 3c - Remove iOS from the rest of the configure system. 2022-06-13 09:00:22 +08:00
java.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
keyfiles.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
memory.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
old.configure Issue #2165 - Build ICU as a shared library if we're building Spidermonkey shared. 2023-03-28 12:11:00 +08:00
pkg.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
toolchain.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
util.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
warnings.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
windows.configure Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00