diff Makefile @ 169:823fa39c55c5

set debuggable flag depending on build style
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Jun 2014 17:05:55 -0700
parents 13ca2a7a63f3
children f0f41cd3604b
line wrap: on
line diff
--- a/Makefile	Tue Jun 24 12:50:47 2014 -0700
+++ b/Makefile	Tue Jun 24 17:05:55 2014 -0700
@@ -10,6 +10,7 @@
 	make builder
 
 builder:
+	sed -i -e 's/android:debuggable=".*"/android:debuggable="$(style)"/g' AndroidManifest.xml
 	rm -rf gen bin
 	ndk-build clean; V=1 ndk-build
 	android update project -p . -t android-16