-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAndroid.mk
More file actions
38 lines (31 loc) · 779 Bytes
/
Android.mk
File metadata and controls
38 lines (31 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
main.cpp \
EGLTest.cpp \
EGLUtil.cpp \
gimage/image_DXT.c \
gimage/image_helper.c \
gimage/SOIL.c \
gimage/stb_image_aug.c
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
LOCAL_SHARED_LIBRARIES := \
libandroid_runtime \
libcutils \
libutils \
libbinder \
libandroidfw \
libui \
libgui \
liblog \
libEGL \
libGLESv1_CM \
libGLESv2
LOCAL_C_INCLUDES += bionic \
gimage \
prebuilts/ndk/10/sources/cxx-stl/llvm-libc++/libcxx/include
LIBS := prebuilts/ndk/10/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libc++_static.a
LOCAL_LDFLAGS += "-Wl,--start-group" $(LIBS) "-Wl,--end-group"
LOCAL_MODULE:= egl_test
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)