From 74f7d5377d26c721b17b5a5380793c26df81b2e3 Mon Sep 17 00:00:00 2001
From: Grant Limberg <grant.limberg@red.com>
Date: Mon, 1 Jun 2015 20:01:37 -0700
Subject: Enable ZT_TRACE and more verbose build output

---
 java/build.xml          | 1 +
 java/jni/Application.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/java/build.xml b/java/build.xml
index 0f1b311a..e24a0e13 100644
--- a/java/build.xml
+++ b/java/build.xml
@@ -37,6 +37,7 @@
     <target name="build_android">
         <exec dir="jni" executable="${env.NDK_BUILD_LOC}" failonerror="true">
             <arg value="ZT1=${user.dir}/../"/>
+            <arg value="V=1"/>
         </exec>
         <copy file="libs/armeabi/libZeroTierOneJNI.so" 
               tofile="${user.dir}/classes/lib/armeabi/libZeroTierOneJNI.so" 
diff --git a/java/jni/Application.mk b/java/jni/Application.mk
index 225169bc..3118ec2e 100644
--- a/java/jni/Application.mk
+++ b/java/jni/Application.mk
@@ -1,3 +1,4 @@
 APP_ABI := armeabi armeabi-v7a arm64-v8a x86
 APP_STL := gnustl_static
-APP_CPPFLAGS += -Wall -fPIE -fstack-protector -fexceptions
+APP_CPPFLAGS += -Wall -fPIE -fstack-protector -fexceptions -DZT_TRACE
+
-- 
cgit v1.2.3