diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-02-08 11:19:39 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-14 11:17:28 +0100 |
commit | e69cab24b15e8917723719c306827516b4603255 (patch) | |
tree | b687a37dc691061af07b16256301d2f6647a251f /RepositoryExternal.mk | |
parent | 8012b806c545f9c1e9a37205848adca7db66a2e6 (diff) |
external: bundle pdfium
Initial use case is to avoid creating a whole Draw document + a poppler
process for each and every PDF image we load in a document.
The MSVC patch is only to support MSVC 2013, as upstream already moved
to MSVC 2015.
Change-Id: I3c9dbac3e3de9f2e874ca4cfec0a9dd8a388b87c
Reviewed-on: https://gerrit.libreoffice.org/34022
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit b6f9eeb9b5c0e29ca655185dc299ebd4a2c092d7)
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 109b924e4e11..b7eb499504d3 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -4060,4 +4060,15 @@ $(call gb_LinkTarget_set_include,$(1), \ $(call gb_LinkTarget_use_libraries,$(1),clew) endef +define gb_LinkTarget__use_pdfium +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,pdfium)/public \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_use_libraries,$(1),pdfium) +endef +$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo,\ + pdfium \ +)) + # vim: set noet sw=4 ts=4: |