skia: make SK_USER_CONFIG_HEADER relative so ccache can share it
In from-scratch engine builds of two git worktrees the cacheable hit rate rose from 91.8% to 99.3%. Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I4857aad79d0aaaff403e88fd72f8d5eae6b55d2a Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/3983 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit bd18bc96a30d3af3041590944426691258a8fbc5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/206219 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
committed by
Xisco Fauli
parent
524c13f5e3
commit
098d0fd1c3
@@ -137,7 +137,7 @@ $(call gb_LinkTarget_set_include,$(1),\
|
||||
)
|
||||
$(call gb_LinkTarget_use_libraries,$(1),skia)
|
||||
$(call gb_LinkTarget_add_defs,$(1),\
|
||||
-DSK_USER_CONFIG_HEADER="<$(BUILDDIR)/config_host/config_skia.h>" \
|
||||
-DSK_USER_CONFIG_HEADER="<config_skia.h>" \
|
||||
-DSKIA_DLL \
|
||||
)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user