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)
commit754ecd58c2b8ff2fe25530a0af1a7092d2feaf28
treecb9b82981ad6680f0e223a411b0fd61b4442ecfd
parentb153f31282ed512ddd4a3c476c095f5f0d6faf7e
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