From 7ef4b74e57a143e4e586e577e9b7c11c3aab472d Mon Sep 17 00:00:00 2001 From: Ethan Nicholas Date: Fri, 11 Nov 2016 15:16:46 -0500 Subject: re-re-land of skslc now uses standard Skia caps BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4732 Change-Id: I144110bf66f67a28da7ad333173db43bddf9e8d0 Reviewed-on: https://skia-review.googlesource.com/4732 Reviewed-by: Ethan Nicholas Commit-Queue: Ethan Nicholas --- tests/SkSLErrorTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/SkSLErrorTest.cpp') diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index fc20fa2e6d..e9e05c18d2 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp @@ -9,6 +9,8 @@ #include "Test.h" +#if SKIA_SUPPORT_GPU + static void test_failure(skiatest::Reporter* r, const char* src, const char* error) { SkSL::Compiler compiler; std::stringstream out; @@ -368,3 +370,5 @@ DEF_TEST(SkSLStaticIfError, r) { "void foo() { false ? x : 5; }", "error: 1: unknown identifier 'x'\n1 error\n"); } + +#endif -- cgit v1.2.3