summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-10-01 23:02:38 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2020-10-02 04:32:01 +0200
commit77ba9a095b0b3f429e006571e16f8320ba0bb61e (patch)
tree000ce46d140165486eb175fa06fe3f83ca966f9f /external
parent7f16cabf00daa30e9284d2fb2494bd341352c25e (diff)
skia: fix Windows Arm64 build
This uses MSVC instead of clang for this host. Change-Id: Idf96668e00563be12a7819a1658b657673733d21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103780 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'external')
-rw-r--r--external/skia/Library_skia.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/external/skia/Library_skia.mk b/external/skia/Library_skia.mk
index 7712c6be9e77..643c41a4ce38 100644
--- a/external/skia/Library_skia.mk
+++ b/external/skia/Library_skia.mk
@@ -13,8 +13,12 @@ $(eval $(call gb_Library_set_warnings_disabled,skia))
$(eval $(call gb_Library_use_unpacked,skia,skia))
+ifneq ($(OS)_$(CPUNAME),WNT_ARM64)
$(eval $(call gb_Library_use_clang,skia))
$(eval $(call gb_Library_set_clang_precompiled_header,skia,external/skia/inc/pch/precompiled_skia))
+else
+$(eval $(call gb_Library_set_precompiled_header,skia,external/skia/inc/pch/precompiled_skia))
+endif
$(eval $(call gb_Library_add_defs,skia,\
-DSKIA_IMPLEMENTATION=1 \