summaryrefslogtreecommitdiff
path: root/solenv/bin/native-code.py
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-04-23 09:59:36 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-04-23 14:59:33 +0200
commit95b6907d8e49729b4c47cf637049cc91b45c838e (patch)
treed3872662c1682ea2a3a709c92fb1f271aab13f24 /solenv/bin/native-code.py
parent02298dbdfde3432ef757fdc1a28f7e6341254179 (diff)
native-code: Only include pdfimport ctors if PDF import enabled
commit 3dba2e4a325fa0fdfbbedb0ffc1fcf678bfcbc94 Date: Thu Mar 25 12:23:43 2021 +0200 Include the pdfimport library constructor in the mobile apps if enabled had unconditionally included the constructors, so e.g. a '--disable-pdfimport' Android build would fail due to missing symbols. Change-Id: Icbf92dd226ef9a3104c37610ee56416c8205b7a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114533 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'solenv/bin/native-code.py')
-rwxr-xr-xsolenv/bin/native-code.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index b15e6f27189b..7238055883dd 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -665,11 +665,11 @@ draw_constructor_list = [
# writerperfect/source/draw/wpftdraw.component
"com_sun_star_comp_Draw_VisioImportFilter_get_implementation",
# sdext/source/pdfimport/pdfimport.component
- "sdext_PDFIHybridAdaptor_get_implementation",
- "sdext_PDFIRawAdaptor_Writer_get_implementation",
- "sdext_PDFIRawAdaptor_Draw_get_implementation",
- "sdext_PDFIRawAdaptor_Impress_get_implementation",
- "sdext_PDFDetector_get_implementation",
+ ("sdext_PDFIHybridAdaptor_get_implementation", "#if HAVE_FEATURE_PDFIMPORT"),
+ ("sdext_PDFIRawAdaptor_Writer_get_implementation", "#if HAVE_FEATURE_PDFIMPORT"),
+ ("sdext_PDFIRawAdaptor_Draw_get_implementation", "#if HAVE_FEATURE_PDFIMPORT"),
+ ("sdext_PDFIRawAdaptor_Impress_get_implementation", "#if HAVE_FEATURE_PDFIMPORT"),
+ ("sdext_PDFDetector_get_implementation", "#if HAVE_FEATURE_PDFIMPORT"),
]
writer_factory_list = [