Add hooks in JNI to start using native path parsing

Change-Id: Iaa0d3c2c1936c248146ed7f186a13e8e79be818e
diff --git a/libs/hwui/PathParser.h b/libs/hwui/PathParser.h
index 6dc7ee1..d30bb0f 100644
--- a/libs/hwui/PathParser.h
+++ b/libs/hwui/PathParser.h
@@ -21,13 +21,18 @@
 
 #include <jni.h>
 #include <android/log.h>
+#include <cutils/compiler.h>
 
 namespace android {
 namespace uirenderer {
 
 class PathParser {
 public:
-    static void parseStringForSkPath(SkPath* outPath, const char* pathStr, size_t strLength);
+    /**
+     * Parse the string literal and create a Skia Path. Return true on success.
+     */
+    ANDROID_API static bool parseStringForSkPath(SkPath* outPath, const char* pathStr,
+            size_t strLength);
     static void getPathDataFromString(PathData* outData, const char* pathStr, size_t strLength);
     static void dump(const PathData& data);
 };