Skip to content

Commit 4a52866

Browse files
committed
Fix the build with Android NDK21.
1 parent ec7e208 commit 4a52866

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BUILD.gn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3827,7 +3827,9 @@ if (is_sk4d_build) {
38273827
"sk4d/src/gpu/Gr4DContextOptions.cpp",
38283828
"sk4d/src/gpu/Gr4DShaderErrorHandler.cpp",
38293829
]
3830-
if (skia_use_vulkan && is_win) {
3830+
# To ensure Vulkan headers are compatible with Skia, always use the ones
3831+
# provided with Skia.
3832+
if (skia_use_vulkan) {
38313833
all_dependent_configs = [ ":use_skia_vulkan_headers" ]
38323834
}
38333835
}

0 commit comments

Comments
 (0)