From 7af7447de9b8769dc33e64af7ca2b2e47094e16e Mon Sep 17 00:00:00 2001 From: Danielku15 Date: Sun, 11 Aug 2024 20:32:44 +0200 Subject: [PATCH] build: move patch further down --- build/Build.LibSkia.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Build.LibSkia.cs b/build/Build.LibSkia.cs index c9f1804..3e5a06e 100644 --- a/build/Build.LibSkia.cs +++ b/build/Build.LibSkia.cs @@ -125,7 +125,7 @@ partial class Build throw new IOException("BUILD.gn of skia changed, cannot patch files"); } - var sourcesEnd = buildFileSource.IndexOf("libs = []", sourcesStart, StringComparison.Ordinal); + var sourcesEnd = buildFileSource.IndexOf("if (is_fuchsia)", sourcesStart, StringComparison.Ordinal); if (sourcesEnd == -1) { throw new IOException("BUILD.gn of skia changed, cannot patch files");