diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-10-12 16:24:03 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-27 09:55:05 +0100 |
commit | 478f290e45c9cbf49576889088ea4dd71972d64b (patch) | |
tree | ded03f7b1915015956f85581da68d83d05de8520 /RepositoryExternal.mk | |
parent | 3a6f270edfffb97763927b2732feacedbdac1e80 (diff) |
initial build of the Skia library
Not quite complete yet, missing e.g. Vulkan sources, and the setup
is not completely correct either.
Change-Id: I2283bf12f0d226ff8a34554deae5a7bd69045971
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 8561ba84a0ea..ec7095f99798 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -111,6 +111,20 @@ endef endif +ifneq ($(ENABLE_SKIA),) +define gb_LinkTarget__use_skia +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,skia)/include/core \ + -I$(call gb_UnpackedTarball_get_dir,skia)/include/config \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_use_libraries,$(1),skia) +endef +$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo,\ + skia \ +)) +endif + ifeq (SANE,$(filter SANE,$(BUILD_TYPE))) define gb_LinkTarget__use_sane_headers |