Add NDK build files

This commit is contained in:
dan sinclair
2018-11-26 16:27:55 -05:00
parent fb7a7ea2df
commit 5ba79d5904
4 changed files with 136 additions and 0 deletions

12
ndk_test/Android.mk Normal file
View File

@@ -0,0 +1,12 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CPP_EXTENSION := .cc .cpp .cxx
LOCAL_SRC_FILES:=test.cpp
LOCAL_MODULE:=glslang_ndk_test
LOCAL_LDLIBS:=-landroid
LOCAL_CXXFLAGS:=-std=c++11 -fno-exceptions -fno-rtti -Werror
LOCAL_STATIC_LIBRARIES:=glslang SPIRV HLSL
include $(BUILD_SHARED_LIBRARY)
include $(LOCAL_PATH)/../Android.mk