universal7580: camera: convert to Android.bp
[GitHub/LineageOS/android_device_samsung_universal7580-common.git] / libshims / libstagefright / Android.mk
CommitLineData
c7f2ba6c
CH
1#
2# Copyright (C) 2018 The LineageOS Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16LOCAL_PATH := $(call my-dir)
17
18include $(CLEAR_VARS)
19LOCAL_SRC_FILES := CameraSource.cpp
20
21LOCAL_C_INCLUDES := \
22 $(TOP)/frameworks/av/include \
23 $(TOP)/frameworks/native/include/media/hardware \
24 $(TOP)/frameworks/native/include/media/openmax \
25 $(TOP)/frameworks/native/libs/arect/include \
26 $(TOP)/frameworks/native/libs/nativebase/include
27
28LOCAL_SHARED_LIBRARIES := \
29 android.hardware.graphics.bufferqueue@1.0 \
30 android.hidl.token@1.0-utils \
31 libbase \
32 libcamera_client \
33 liblog
34
35LOCAL_MODULE := libstagefright_shim
36LOCAL_MODULE_TAGS := optional
37LOCAL_MODULE_CLASS := SHARED_LIBRARIES
38LOCAL_PROPRIETARY_MODULE := true
39
40include $(BUILD_SHARED_LIBRARY)