[PATCH] D31695: Windows asan_device_setup.bat port of linux shell script

Steven Winston via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 5 15:56:46 PDT 2017


gpx1000 added a comment.

Oh, how I wish I could say "yes, most windows devs have python installed."   Unfortunately, It's highly unlikely to already be there.  The only reason why it would be there from a pure Android developer perspective is to support working with MonkeyScript and then only a subset of those testers are going to have it as MonkeyScript uses Jython (JVM version of python).  I think batch files are horrible for scripting purposes but Microsoft never really spent a lot of time focusing in on command line automation so many of our favorite tools just aren't available.  JVM is the only real hard requirement to exist, in which case I'd venture gradle with maven is a better option.  However, if you want something that just works on any windows machine, whether Android Studio is somewhere on the machine or only a standalone tool chain used from Unity/Unreal; then batch script is really the way to go which is what this commit is.

I've never touched Go, yet would be very eager to give that a try.  Not that we couldn't create a pure static executable with good ole' C/C++; it isn't fun if it's not a challenge, and Go is new to me so would qualify as a challenge. :)


https://reviews.llvm.org/D31695





More information about the llvm-commits mailing list