Turn on -Wnewline-eof.
I don't know _why_ Clang would like these .inc files to have a newline at the end of the file, but it seems a harmless way to silence the warning.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2711
Change-Id: I6c530ee5096c48c91ddf322aca916e70a0dd770b
Reviewed-on: https://skia-review.googlesource.com/2711
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index c56e255..4fce4ac 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -107,7 +107,6 @@
"-Wno-missing-prototypes",
"-Wno-missing-variable-declarations",
"-Wno-nested-anon-types",
- "-Wno-newline-eof",
"-Wno-pedantic",
"-Wno-reserved-id-macro",
"-Wno-shadow",
diff --git a/src/sksl/sksl.include b/src/sksl/sksl.include
index bf35f22..4fd5511 100644
--- a/src/sksl/sksl.include
+++ b/src/sksl/sksl.include
@@ -540,4 +540,5 @@
void memoryBarrierImage();
void groupMemoryBarrier();
-)
\ No newline at end of file
+)
+
diff --git a/src/sksl/sksl_frag.include b/src/sksl/sksl_frag.include
index b4047fe..123c339 100644
--- a/src/sksl/sksl_frag.include
+++ b/src/sksl/sksl_frag.include
@@ -4,4 +4,5 @@
layout(builtin=15) in vec4 gl_FragCoord;
-)
\ No newline at end of file
+)
+
diff --git a/src/sksl/sksl_vert.include b/src/sksl/sksl_vert.include
index e0b01ef..85b5385 100644
--- a/src/sksl/sksl_vert.include
+++ b/src/sksl/sksl_vert.include
@@ -7,4 +7,5 @@
layout(builtin=1) float gl_PointSize;
};
-)
\ No newline at end of file
+)
+