Android.mk revision edbf3b6af777b721cd2a1ef461947e51e88241e1
1LOCAL_PATH:= $(call my-dir) 2 3# 4# Build META EGL library 5# 6 7include $(CLEAR_VARS) 8 9LOCAL_SRC_FILES:= \ 10 EGL/egl.cpp \ 11 EGL/gpu.cpp \ 12# 13 14LOCAL_SHARED_LIBRARIES += libcutils libutils libui 15LOCAL_LDLIBS := -lpthread -ldl 16LOCAL_MODULE:= libEGL 17 18# needed on sim build because of weird logging issues 19ifeq ($(TARGET_SIMULATOR),true) 20else 21 LOCAL_SHARED_LIBRARIES += libdl 22 # we need to access the Bionic private header <bionic_tls.h> 23 LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private 24endif 25 26include $(BUILD_SHARED_LIBRARY) 27 28 29 30# 31# Build the wrapper OpenGL ES library 32# 33 34include $(CLEAR_VARS) 35 36LOCAL_SRC_FILES:= \ 37 GLES_CM/gl.cpp.arm \ 38 GLES_CM/gl_logger.cpp \ 39# 40 41LOCAL_SHARED_LIBRARIES += libcutils libutils libui libEGL 42LOCAL_LDLIBS := -lpthread -ldl 43LOCAL_MODULE:= libGLESv1_CM 44 45# needed on sim build because of weird logging issues 46ifeq ($(TARGET_SIMULATOR),true) 47else 48 LOCAL_SHARED_LIBRARIES += libdl 49 # we need to access the Bionic private header <bionic_tls.h> 50 LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private 51endif 52 53include $(BUILD_SHARED_LIBRARY) 54