forked from BlissRoms-x86/platform_hardware_libcamera
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroid.mk
More file actions
40 lines (32 loc) · 733 Bytes
/
Android.mk
File metadata and controls
40 lines (32 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ifeq ($(USE_CAMERA_STUB),false)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS := -fno-short-enums -DHAVE_CONFIG_H \
-Wno-gnu-designator \
-Wno-literal-conversion \
-Wno-unused-parameter \
-Wno-unused-variable
LOCAL_C_INCLUDES := \
system/media/camera/include \
external/jpeg
LOCAL_SRC_FILES := \
CameraFactory.cpp \
CameraHal.cpp \
CameraHardware.cpp \
Converter.cpp \
SurfaceDesc.cpp \
SurfaceSize.cpp \
Utils.cpp \
V4L2Camera.cpp \
LOCAL_SHARED_LIBRARIES := \
libcamera_client \
libcutils \
libjpeg \
liblog \
libui \
libutils \
LOCAL_MODULE := camera.x86
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_RELATIVE_PATH := hw
include $(BUILD_SHARED_LIBRARY)
endif