diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-16 17:19:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-16 17:20:12 +0000 |
commit | d3c06fb90485543f6ca4b1f833e6c4f82b28ba14 (patch) | |
tree | 436cef0d2817b5292e5658d403f1db6bceb9820d /external | |
parent | 62f2a279ed1f50521e185a5bcc1f73fe0782993a (diff) |
Revert "build our own fontconfig and freetype under oss-fuzz"
did I break android here mysteriously
This reverts commit f2fae3684f35bfb03c4921adc4ecbddcff36374b.
Change-Id: I0d941d3e474c6693cd15e1b55baab83a3da48488
Diffstat (limited to 'external')
-rw-r--r-- | external/fontconfig/ExternalProject_fontconfig.mk | 2 | ||||
-rw-r--r-- | external/fontconfig/Module_fontconfig.mk | 4 | ||||
-rw-r--r-- | external/freetype/Module_freetype.mk | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/external/fontconfig/ExternalProject_fontconfig.mk b/external/fontconfig/ExternalProject_fontconfig.mk index 83387e31e7ef..e4de004bdc34 100644 --- a/external/fontconfig/ExternalProject_fontconfig.mk +++ b/external/fontconfig/ExternalProject_fontconfig.mk @@ -23,7 +23,7 @@ $(call gb_ExternalProject_get_state_target,fontconfig,build) : CFLAGS="$(if $(debug),-g) $(gb_VISIBILITY_FLAGS)" $(if $(filter ANDROID,$(OS)),LIBS="-lm") \ ./configure \ --disable-shared \ - $(if $(filter ANDROID,$(OS)),--with-arch=arm) \ + --with-arch=arm \ --with-expat-includes=$(call gb_UnpackedTarball_get_dir,expat)/lib \ --with-expat-lib=$(gb_StaticLibrary_WORKDIR) \ --with-freetype-config=$(call gb_UnpackedTarball_get_dir,freetype)/instdir/bin/freetype-config \ diff --git a/external/fontconfig/Module_fontconfig.mk b/external/fontconfig/Module_fontconfig.mk index e755f8610db1..764af35cdb6e 100644 --- a/external/fontconfig/Module_fontconfig.mk +++ b/external/fontconfig/Module_fontconfig.mk @@ -9,9 +9,13 @@ $(eval $(call gb_Module_Module,fontconfig)) +ifeq ($(OS),ANDROID) + $(eval $(call gb_Module_add_targets,fontconfig,\ ExternalProject_fontconfig \ UnpackedTarball_fontconfig \ )) +endif + # vim: set noet sw=4 ts=4: diff --git a/external/freetype/Module_freetype.mk b/external/freetype/Module_freetype.mk index 290014c47dfd..f6e316d9f8bc 100644 --- a/external/freetype/Module_freetype.mk +++ b/external/freetype/Module_freetype.mk @@ -9,9 +9,13 @@ $(eval $(call gb_Module_Module,freetype)) +ifneq (,$(or $(findstring ANDROID,$(OS)),$(ENABLE_GLTF))) + $(eval $(call gb_Module_add_targets,freetype,\ ExternalProject_freetype \ UnpackedTarball_freetype \ )) +endif + # vim: set noet sw=4 ts=4: |