android: Use NDK structure for third party modules
authorMike Stroyan <stroyan@google.com>
Fri, 6 Oct 2017 17:05:21 +0000 (11:05 -0600)
committerMike Stroyan <stroyan@users.noreply.github.com>
Thu, 12 Oct 2017 22:32:26 +0000 (16:32 -0600)
commit0dc620ef57978644037c6c593a71f6cb6c43757e
tree1b27a8bd53031cbbcbf6917569ce5751a3956d04
parentcaa97d1c0bd4f74db9d97229106ff38f1fb7b9f8
android: Use NDK structure for third party modules

Locate glslang and spirv directories under shaderc directory.
This allows the layers build to optionally use the NDK sources.
For glslang and spirv and shaderc-
 Use LOCAL_STATIC_LIBRARIES instead of LOCAL_C_INCLUDES to find headers.
 Use import-module instead of PREBUILT_STATIC_LIBRARY.
BUILD.md
build-android/cmake/layerlib/CMakeLists.txt
build-android/jni/Android.mk
build-android/jni/Application.mk
build-android/update_external_sources_android.bat
build-android/update_external_sources_android.sh