Chih-Wei Huang | 0d92eda | 2012-02-07 16:55:49 +0800 | [diff] [blame] | 1 | ifeq ($(USE_CAMERA_STUB),false) |
| 2 | |
| 3 | LOCAL_PATH := $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_CFLAGS := -fno-short-enums -DHAVE_CONFIG_H |
| 7 | |
| 8 | LOCAL_C_INCLUDES := \ |
Chih-Wei Huang | 53b5a37 | 2014-10-20 18:19:43 +0800 | [diff] [blame] | 9 | system/media/camera/include \ |
Chih-Wei Huang | 0d92eda | 2012-02-07 16:55:49 +0800 | [diff] [blame] | 10 | external/jpeg |
| 11 | |
| 12 | LOCAL_SRC_FILES := \ |
| 13 | CameraFactory.cpp \ |
| 14 | CameraHal.cpp \ |
| 15 | CameraHardware.cpp \ |
| 16 | Converter.cpp \ |
| 17 | SurfaceDesc.cpp \ |
| 18 | SurfaceSize.cpp \ |
| 19 | Utils.cpp \ |
| 20 | V4L2Camera.cpp \ |
| 21 | |
| 22 | LOCAL_SHARED_LIBRARIES := \ |
| 23 | libcamera_client \ |
Chih-Wei Huang | 47e3f0e | 2012-02-07 17:29:05 +0800 | [diff] [blame] | 24 | libcutils \ |
Chih-Wei Huang | 0d92eda | 2012-02-07 16:55:49 +0800 | [diff] [blame] | 25 | libjpeg \ |
| 26 | liblog \ |
| 27 | libui \ |
| 28 | libutils \ |
| 29 | |
Michael Goffioul | 1924a3c | 2020-04-01 17:54:21 -0400 | [diff] [blame] | 30 | LOCAL_HEADER_LIBRARIES := \ |
| 31 | libbinder_headers |
| 32 | |
Chih-Wei Huang | 23fa906 | 2013-07-07 15:26:00 +0800 | [diff] [blame] | 33 | LOCAL_MODULE := camera.x86 |
Chih-Wei Huang | 0d92eda | 2012-02-07 16:55:49 +0800 | [diff] [blame] | 34 | LOCAL_MODULE_TAGS := optional |
Chih-Wei Huang | efcfa17 | 2014-11-06 11:06:49 +0800 | [diff] [blame] | 35 | LOCAL_MODULE_RELATIVE_PATH := hw |
Chih-Wei Huang | 0d92eda | 2012-02-07 16:55:49 +0800 | [diff] [blame] | 36 | |
| 37 | include $(BUILD_SHARED_LIBRARY) |
| 38 | |
| 39 | endif |