http://www.slideshare.net/ph0b/mastering-the-ndk-with-android-studio-and-the-gradleexperimental-plugin
ndk {
moduleName = 'xduilib'
stl = 'gnustl_static'
cppFlags.add("-std=c++11")
ldFlags.add("-c")
ldLibs.addAll(['log', 'android'])
}