Commit | Line | Data |
---|---|---|
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 | ||
16 | LOCAL_PATH := $(call my-dir) | |
17 | ||
18 | include $(CLEAR_VARS) | |
19 | LOCAL_SRC_FILES := CameraSource.cpp | |
20 | ||
21 | LOCAL_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 | ||
28 | LOCAL_SHARED_LIBRARIES := \ | |
29 | android.hardware.graphics.bufferqueue@1.0 \ | |
30 | android.hidl.token@1.0-utils \ | |
31 | libbase \ | |
32 | libcamera_client \ | |
33 | liblog | |
34 | ||
35 | LOCAL_MODULE := libstagefright_shim | |
36 | LOCAL_MODULE_TAGS := optional | |
37 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES | |
38 | LOCAL_PROPRIETARY_MODULE := true | |
39 | ||
40 | include $(BUILD_SHARED_LIBRARY) |