android_hardware_qcom_camer.../Android.mk
Raviprasad V Mummidi 903d325fc6 Fix a whole bunch of things
Support for multiple cameras.
Add software decoding support
Fix barcode scanners memory leak
Fix 30sec video recording limit issue caused by memory leak
Add support for HWA ROMs (tested only on HD2)
2012-05-04 14:38:15 -07:00

25 lines
795 B
Makefile

LOCAL_PATH := $(call my-dir)
LIBCAMERA_BUILD := nexus
include $(call all-subdir-makefiles)
include $(CLEAR_VARS)
LOCAL_C_FLAGS += -O3
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
LOCAL_SRC_FILES := cameraHal.cpp
LOCAL_PRELINK_MODULE := false
CAMERA_LIB := camera-inc
ifeq ($(LIBCAMERA_BUILD),nexus)
CAMERA_LIB := camera-nexus
endif
TARGET_GLOBAL_LD_DIRS += -L$(LOCAL_PATH) -l${CAMERA_LIB}
LOCAL_SHARED_LIBRARIES := liblog libdl libutils libcamera_client libbinder libcutils libhardware libui
LOCAL_C_INCLUDES := frameworks/base/services/ frameworks/base/include
LOCAL_C_INCLUDES += hardware/libhardware/include/ hardware
include $(BUILD_SHARED_LIBRARY)