blob: 5d2693456c046d4cbcea2c55fa084bd09b99ec16 [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 Raybcaf7882013-02-28 16:04:35 -080029 Stream.cpp \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080030
31LOCAL_SHARED_LIBRARIES := \
32 libcamera_metadata \
Alex Rayed6b8a72012-12-27 10:42:22 -080033 libcutils \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080034 liblog \
Alex Ray083315c2013-04-26 19:32:29 -070035 libsync \
Alex Ray7ee0b7a2012-11-06 00:12:49 -080036
Alex Ray02c29b92013-02-18 15:38:05 -080037LOCAL_CFLAGS += -Wall -Wextra -fvisibility=hidden
Alex Ray7ee0b7a2012-11-06 00:12:49 -080038
39LOCAL_MODULE_TAGS := optional
40
41include $(BUILD_SHARED_LIBRARY)