Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
| 5 | bootanimation_main.cpp \ |
| 6 | BootAnimation.cpp |
| 7 | |
| 8 | # need "-lrt" on Linux simulator to pick up clock_gettime |
| 9 | ifeq ($(TARGET_SIMULATOR),true) |
| 10 | ifeq ($(HOST_OS),linux) |
| 11 | LOCAL_LDLIBS += -lrt |
| 12 | endif |
| 13 | endif |
| 14 | |
Mathias Agopian | 947f4f4 | 2009-05-22 01:27:01 -0700 | [diff] [blame^] | 15 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 16 | |
Mathias Agopian | 627e7b5 | 2009-05-21 19:21:59 -0700 | [diff] [blame] | 17 | LOCAL_SHARED_LIBRARIES := \ |
| 18 | libcutils \ |
| 19 | libutils \ |
| 20 | libui \ |
| 21 | libcorecg \ |
| 22 | libsgl \ |
| 23 | libEGL \ |
| 24 | libGLESv1_CM |
| 25 | |
| 26 | LOCAL_C_INCLUDES := \ |
| 27 | $(call include-path-for, corecg graphics) |
| 28 | |
| 29 | LOCAL_MODULE:= bootanimation |
| 30 | |
| 31 | |
| 32 | include $(BUILD_EXECUTABLE) |