WASM clean up AC_DEFINE section

Removed variables from config_wasm_strip.h.in which weren't used in C++
code or headers. And also removed the respective AC_DEFINE lines.
Always disabling Writer or Calc for LOWA wouldn't have made sense anyway.

Change-Id: I48767b8c7cd7737b851b349e184d17f8b2acafba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182749
Reviewed-by: Moritz Duge <moritz.duge@allotropia.de>
Tested-by: Jenkins
This commit is contained in:
Moritz Duge
2025-03-12 17:37:40 +01:00
parent 4f03d1c238
commit 0cd1969bee
2 changed files with 1 additions and 17 deletions
-8
View File
@@ -2,21 +2,13 @@
#define CONFIG_FEATURE_WASM_STRIP_H
#define ENABLE_WASM_STRIP_ACCESSIBILITY 0
#define ENABLE_WASM_STRIP_WRITER 0
#define ENABLE_WASM_STRIP_CALC 0
#define ENABLE_WASM_STRIP_CANVAS 0
#define ENABLE_WASM_STRIP_CHART 0
#define ENABLE_WASM_STRIP_DBACCESS 0
#define ENABLE_WASM_STRIP_EPUB 0
#define ENABLE_WASM_STRIP_EXTRA 0
#define ENABLE_WASM_STRIP_GUESSLANG 0
#define ENABLE_WASM_STRIP_HUNSPELL 0
#define ENABLE_WASM_STRIP_PINGUSER 0
#define ENABLE_WASM_STRIP_PREMULTIPLY 0
#define ENABLE_WASM_STRIP_RECENT 0
#define ENABLE_WASM_STRIP_RECOVERYUI 0
#define ENABLE_WASM_STRIP_SPLASH 0
#define ENABLE_WASM_STRIP_SWEXPORTS 0
#define ENABLE_WASM_STRIP_SCEXPORTS 0
#endif
+1 -9
View File
@@ -3302,24 +3302,16 @@ if test "$enable_wasm_strip" = "yes"; then
test "${with_fonts+set}" = set || with_fonts=yes
dnl AC_DEFINE sets the value to 1 (TRUE) in the C++ header.
AC_DEFINE(ENABLE_WASM_STRIP_ACCESSIBILITY)
AC_DEFINE(ENABLE_WASM_STRIP_WRITER)
AC_DEFINE(ENABLE_WASM_STRIP_CALC)
AC_DEFINE(ENABLE_WASM_STRIP_CANVAS)
# AC_DEFINE(ENABLE_WASM_STRIP_CHART)
AC_DEFINE(ENABLE_WASM_STRIP_DBACCESS)
AC_DEFINE(ENABLE_WASM_STRIP_EPUB)
AC_DEFINE(ENABLE_WASM_STRIP_EXTRA)
AC_DEFINE(ENABLE_WASM_STRIP_GUESSLANG)
# AC_DEFINE(ENABLE_WASM_STRIP_HUNSPELL)
AC_DEFINE(ENABLE_WASM_STRIP_LANGUAGETOOL)
AC_DEFINE(ENABLE_WASM_STRIP_PINGUSER)
AC_DEFINE(ENABLE_WASM_STRIP_PREMULTIPLY)
AC_DEFINE(ENABLE_WASM_STRIP_RECENT)
AC_DEFINE(ENABLE_WASM_STRIP_RECOVERYUI)
AC_DEFINE(ENABLE_WASM_STRIP_SPLASH)
AC_DEFINE(ENABLE_WASM_STRIP_SWEXPORTS)
AC_DEFINE(ENABLE_WASM_STRIP_SCEXPORTS)
fi
# Whether to build "avmedia" functionality or not.