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>
This commit is contained in:
Mike Klein 2016-09-27 11:21:15 -04:00
parent 67075f0723
commit 600c6a716d
4 changed files with 6 additions and 4 deletions

View File

@ -107,7 +107,6 @@ config("default") {
"-Wno-missing-prototypes",
"-Wno-missing-variable-declarations",
"-Wno-nested-anon-types",
"-Wno-newline-eof",
"-Wno-pedantic",
"-Wno-reserved-id-macro",
"-Wno-shadow",

View File

@ -540,4 +540,5 @@ void memoryBarrierShared();
void memoryBarrierImage();
void groupMemoryBarrier();
)
)

View File

@ -4,4 +4,5 @@ STRINGIFY(
layout(builtin=15) in vec4 gl_FragCoord;
)
)

View File

@ -7,4 +7,5 @@ out gl_PerVertex {
layout(builtin=1) float gl_PointSize;
};
)
)