blob: ae68ed5da437e9a2c550aae076dc8595e3171a58 [file] [log] [blame]
Alex Ray7ee0b7a2012-11-06 00:12:49 -08001# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := camera.default
Colin Cross3557aba2014-01-24 21:00:32 -080020LOCAL_MODULE_RELATIVE_PATH := hw
Alex Ray7ee0b7a2012-11-06 00:12:49 -080021
22LOCAL_C_INCLUDES += \
Alex Rayed6b8a72012-12-27 10:42:22 -080023 system/core/include \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080024 system/media/camera/include \
25
26LOCAL_SRC_FILES := \
27 CameraHAL.cpp \
28 Camera.cpp \
Alex Ray61f7a0c2013-07-03 17:54:19 -070029 ExampleCamera.cpp \
Alex Rayb0be1032013-05-28 15:52:47 -070030 Metadata.cpp \
Alex Raybcaf7882013-02-28 16:04:35 -080031 Stream.cpp \
Alex Ray7915e972013-10-17 21:52:03 -070032 VendorTags.cpp \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080033
34LOCAL_SHARED_LIBRARIES := \
35 libcamera_metadata \
Alex Rayed6b8a72012-12-27 10:42:22 -080036 libcutils \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080037 liblog \
Alex Ray083315c2013-04-26 19:32:29 -070038 libsync \
Alex Rayea803822013-10-14 15:56:43 -070039 libutils \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080040
Alex Ray02c29b92013-02-18 15:38:05 -080041LOCAL_CFLAGS += -Wall -Wextra -fvisibility=hidden
Alex Ray7ee0b7a2012-11-06 00:12:49 -080042
43LOCAL_MODULE_TAGS := optional
44
45include $(BUILD_SHARED_LIBRARY)