changeset 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 b2853cd674dc
children f0f41cd3604b
files Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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