| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) | 
|  | 2 |  | 
|  | 3 | # | 
|  | 4 | # Build META EGL library | 
|  | 5 | # | 
|  | 6 |  | 
|  | 7 | include $(CLEAR_VARS) | 
|  | 8 |  | 
|  | 9 | LOCAL_SRC_FILES:= 	\ | 
|  | 10 | EGL/egl.cpp 		\ | 
|  | 11 | EGL/gpu.cpp			\ | 
|  | 12 | # | 
|  | 13 |  | 
|  | 14 | LOCAL_SHARED_LIBRARIES += libcutils libutils libui | 
|  | 15 | LOCAL_LDLIBS := -lpthread -ldl | 
|  | 16 | LOCAL_MODULE:= libEGL | 
|  | 17 |  | 
|  | 18 | # needed on sim build because of weird logging issues | 
|  | 19 | ifeq ($(TARGET_SIMULATOR),true) | 
|  | 20 | else | 
|  | 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 | 
|  | 24 | endif | 
|  | 25 |  | 
| Mathias Agopian | 48685c4 | 2009-05-08 15:23:38 -0700 | [diff] [blame] | 26 | LOCAL_CFLAGS += -fvisibility=hidden | 
|  | 27 |  | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 28 | include $(BUILD_SHARED_LIBRARY) | 
|  | 29 |  | 
|  | 30 |  | 
|  | 31 |  | 
|  | 32 | # | 
|  | 33 | # Build the wrapper OpenGL ES library | 
|  | 34 | # | 
|  | 35 |  | 
|  | 36 | include $(CLEAR_VARS) | 
|  | 37 |  | 
|  | 38 | LOCAL_SRC_FILES:= 	\ | 
|  | 39 | GLES_CM/gl.cpp.arm 		\ | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 40 | # | 
|  | 41 |  | 
| Mathias Agopian | 614ecde | 2009-05-18 13:42:18 -0700 | [diff] [blame] | 42 | LOCAL_SHARED_LIBRARIES += libcutils libEGL | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 43 | LOCAL_LDLIBS := -lpthread -ldl | 
|  | 44 | LOCAL_MODULE:= libGLESv1_CM | 
|  | 45 |  | 
|  | 46 | # needed on sim build because of weird logging issues | 
|  | 47 | ifeq ($(TARGET_SIMULATOR),true) | 
|  | 48 | else | 
|  | 49 | LOCAL_SHARED_LIBRARIES += libdl | 
|  | 50 | # we need to access the Bionic private header <bionic_tls.h> | 
|  | 51 | LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private | 
|  | 52 | endif | 
|  | 53 |  | 
| Mathias Agopian | 48685c4 | 2009-05-08 15:23:38 -0700 | [diff] [blame] | 54 | LOCAL_CFLAGS += -fvisibility=hidden | 
|  | 55 |  | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 56 | include $(BUILD_SHARED_LIBRARY) |