Eric Laurent | 2c87e9c | 2010-07-09 12:28:50 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # Visualizer library |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES:= \ |
| 7 | EffectVisualizer.cpp |
| 8 | |
| 9 | LOCAL_CFLAGS+= -O2 |
| 10 | |
| 11 | LOCAL_SHARED_LIBRARIES := \ |
| 12 | libcutils |
| 13 | |
| 14 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx |
| 15 | LOCAL_MODULE:= libvisualizer |
| 16 | |
| 17 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
Eric Laurent | ca57d1c | 2010-07-23 00:19:11 -0700 | [diff] [blame] | 18 | LOCAL_LDLIBS += -ldl |
Eric Laurent | 2c87e9c | 2010-07-09 12:28:50 -0700 | [diff] [blame] | 19 | endif |
| 20 | |
| 21 | ifneq ($(TARGET_SIMULATOR),true) |
| 22 | LOCAL_SHARED_LIBRARIES += libdl |
| 23 | endif |
| 24 | |
| 25 | LOCAL_C_INCLUDES := \ |
| 26 | $(call include-path-for, graphics corecg) |
| 27 | |
| 28 | LOCAL_PRELINK_MODULE := false |
| 29 | |
| 30 | include $(BUILD_SHARED_LIBRARY) |