diff options
Diffstat (limited to 'android/WALT/app/src/main/jni/Android.mk')
-rw-r--r-- | android/WALT/app/src/main/jni/Android.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/android/WALT/app/src/main/jni/Android.mk b/android/WALT/app/src/main/jni/Android.mk index d01947c..c432ff5 100644 --- a/android/WALT/app/src/main/jni/Android.mk +++ b/android/WALT/app/src/main/jni/Android.mk @@ -13,6 +13,12 @@ # limitations under the License. # +# Note that the platform modules are defined in the Android.bp. This file is +# used for the NDK. + +# If we're being invoked from ndk-build, we'll have NDK_ROOT defined. +ifdef NDK_ROOT + LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -28,3 +34,5 @@ LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror -Wno-deprecated-declarations LOCAL_LDLIBS := -lOpenSLES -llog include $(BUILD_SHARED_LIBRARY) + +endif |