android_device_lenovo_msm89.../libshims/Android.mk
Willi Ye d07a59e651 land: Shim old camera client to ims-camera
Change-Id: I1b52f72beb953bd957952b5b7a660c269c2ef4b3
2017-08-07 10:38:52 +02:00

83 lines
2 KiB
Makefile

# Copyright (C) 2016 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := MediaBuffer.c
LOCAL_SHARED_LIBRARIES := libstagefright_foundation
LOCAL_MODULE := libshims_ims
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
bionic/bionic_time_conversions.cpp \
bionic/pthread_cond.cpp
LOCAL_SHARED_LIBRARIES := libc
LOCAL_MODULE := libshims_camera
LOCAL_MODULE_TAGS := optional
LOCAL_32_BIT_ONLY := true
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
camera/Camera.cpp \
camera/CameraMetadata.cpp \
camera/CaptureResult.cpp \
camera/CameraParameters2.cpp \
camera/ICamera.cpp \
camera/ICameraClient.cpp \
camera/ICameraService.cpp \
camera/ICameraServiceListener.cpp \
camera/ICameraServiceProxy.cpp \
camera/ICameraRecordingProxy.cpp \
camera/ICameraRecordingProxyListener.cpp \
camera/camera2/ICameraDeviceUser.cpp \
camera/camera2/ICameraDeviceCallbacks.cpp \
camera/camera2/CaptureRequest.cpp \
camera/camera2/OutputConfiguration.cpp \
camera/CameraBase.cpp \
camera/CameraUtils.cpp \
camera/VendorTagDescriptor.cpp \
camera/CameraParameters.cpp
LOCAL_SHARED_LIBRARIES := \
libcutils \
libutils \
liblog \
libbinder \
libhardware \
libui \
libgui \
libcamera_metadata
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/camera/include \
system/media/camera/include \
system/media/private/camera/include
LOCAL_MODULE:= libshim_ims_camera
include $(BUILD_SHARED_LIBRARY)