2012-05-06 18:55:53 +00:00
|
|
|
ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(call all-subdir-makefiles)
|
2012-01-11 03:35:15 +00:00
|
|
|
|
2012-05-06 18:55:53 +00:00
|
|
|
include $(CLEAR_VARS)
|
2012-01-11 03:35:15 +00:00
|
|
|
|
2012-05-06 18:55:53 +00:00
|
|
|
LOCAL_C_FLAGS += -O3
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
|
|
|
LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
|
2012-01-11 03:35:15 +00:00
|
|
|
|
2012-05-06 18:55:53 +00:00
|
|
|
LOCAL_SRC_FILES := cameraHal.cpp
|
|
|
|
|
|
|
|
TARGET_GLOBAL_LD_DIRS += -L$(LOCAL_PATH)
|
|
|
|
LOCAL_SHARED_LIBRARIES := liblog libdl libutils libcamera_client libbinder libcutils libhardware libui
|
|
|
|
LOCAL_SHARED_LIBRARIES += libcamera
|
|
|
|
LOCAL_C_INCLUDES := frameworks/base/services/ frameworks/base/include
|
|
|
|
LOCAL_C_INCLUDES += hardware/libhardware/include/ hardware
|
2012-01-11 03:35:15 +00:00
|
|
|
|
2012-05-06 18:55:53 +00:00
|
|
|
LOCAL_PRELINK_MODULE := false
|
2012-01-11 03:35:15 +00:00
|
|
|
|
2012-05-06 18:55:53 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
endif
|