blob: ba6852fc82978257f48debbdd0e06876b6f13a03 [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
20LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
21
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 Rayb0be1032013-05-28 15:52:47 -070029 Metadata.cpp \
Alex Raybcaf7882013-02-28 16:04:35 -080030 Stream.cpp \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080031
32LOCAL_SHARED_LIBRARIES := \
33 libcamera_metadata \
Alex Rayed6b8a72012-12-27 10:42:22 -080034 libcutils \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080035 liblog \
Alex Ray083315c2013-04-26 19:32:29 -070036 libsync \
Alex Rayea803822013-10-14 15:56:43 -070037 libutils \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080038
Alex Ray02c29b92013-02-18 15:38:05 -080039LOCAL_CFLAGS += -Wall -Wextra -fvisibility=hidden
Alex Ray7ee0b7a2012-11-06 00:12:49 -080040
41LOCAL_MODULE_TAGS := optional
42
43include $(BUILD_SHARED_LIBRARY)