diff options
Diffstat (limited to 'writerperfect/Library_wpftcalc.mk')
-rw-r--r-- | writerperfect/Library_wpftcalc.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/writerperfect/Library_wpftcalc.mk b/writerperfect/Library_wpftcalc.mk index 1ff7398c54da..9f235603017f 100644 --- a/writerperfect/Library_wpftcalc.mk +++ b/writerperfect/Library_wpftcalc.mk @@ -26,6 +26,10 @@ $(eval $(call gb_Library_set_include,wpftcalc,\ $(eval $(call gb_Library_set_componentfile,wpftcalc,writerperfect/source/calc/wpftcalc,services)) +$(eval $(call gb_Library_add_componentimpls,wpftcalc, \ + $(if $(ENABLE_WASM_STRIP_SCEXPORTS),,extended) \ +)) + $(eval $(call gb_Library_use_sdk_api,wpftcalc)) $(eval $(call gb_Library_use_libraries,wpftcalc,\ @@ -46,7 +50,7 @@ $(eval $(call gb_Library_use_libraries,wpftcalc,\ $(eval $(call gb_Library_use_externals,wpftcalc,\ boost_headers \ - etonyek \ + $(if $(ENABLE_WASM_STRIP_SCEXPORTS),,etonyek) \ odfgen \ revenge \ mwaw \ @@ -60,10 +64,15 @@ $(eval $(call gb_Library_use_externals,wpftcalc,\ icuuc \ )) +ifneq ($(ENABLE_WASM_STRIP_SCEXPORTS),TRUE) +$(eval $(call gb_Library_add_exception_objects,wpftcalc,\ + writerperfect/source/calc/NumbersImportFilter \ +)) +endif + $(eval $(call gb_Library_add_exception_objects,wpftcalc,\ writerperfect/source/calc/MSWorksCalcImportFilter \ writerperfect/source/calc/MWAWCalcImportFilter \ - writerperfect/source/calc/NumbersImportFilter \ writerperfect/source/calc/StarOfficeCalcImportFilter \ )) |