02140554ee
... resulting in a stripped-down, Writer-only build to decrease the resulting WASM bytecode size. It removes the following code from the build: * All other major modules: Base, Calc, Chart, Draw, Impress and Math and related writerperfect filters * The premultiply tables * The (auto-)recovery functionality * All accessibility (but not the accessibility document checker) * The LanguageGuess component * EPUB support * The start center / BackingWindow * The TipOfTheDay functionality * The splash screen communication Currently crashs with anything different then soffice --writer. Closing the document also still crashes. FYI: many of these features are now behind ENABLE_WASM_STRIP_* defines, but they normally don't work on their own, globally! That's because we started with stripping the main components. Change-Id: Ib9c0f9452815910c0a2aceaf142ba1ad4a9cb0d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126182 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
19 lines
595 B
C
19 lines
595 B
C
#ifndef CONFIG_FEATURE_WASM_STRIP_H
|
|
#define CONFIG_FEATURE_WASM_STRIP_H
|
|
|
|
#define ENABLE_WASM_STRIP_ACCESSIBILITY 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
|
|
|
|
#endif
|