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");