aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--src/core/SkTSort.h (renamed from include/core/SkTSort.h)0
-rw-r--r--tests/ClipCubicTest.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bb122efdf0..c08d0bb356 100644
--- a/Makefile
+++ b/Makefile
@@ -90,6 +90,9 @@ bench: $(BENCH_OBJS) out/libskia.a
##############################################################################
+# we let tests cheat and see private headers, so we can unittest modules
+C_INCLUDES += -Isrc/core
+
TESTS_SRCS := GeometryTest.cpp MathTest.cpp MatrixTest.cpp PackBitsTest.cpp \
Sk64Test.cpp StringTest.cpp Test.cpp UtilsTest.cpp PathTest.cpp \
ClipCubicTest.cpp SrcOverTest.cpp main.cpp
diff --git a/include/core/SkTSort.h b/src/core/SkTSort.h
index fba49e214f..fba49e214f 100644
--- a/include/core/SkTSort.h
+++ b/src/core/SkTSort.h
diff --git a/tests/ClipCubicTest.cpp b/tests/ClipCubicTest.cpp
index e9820f6888..905b733667 100644
--- a/tests/ClipCubicTest.cpp
+++ b/tests/ClipCubicTest.cpp
@@ -1,6 +1,6 @@
#include "Test.h"
-#include "../../src/core/SkCubicClipper.h"
+#include "SkCubicClipper.h"
#include "SkGeometry.h"