Alex Ray | 7ee0b7a | 2012-11-06 00:12:49 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_MODULE := camera.default |
| 20 | LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw |
| 21 | |
| 22 | LOCAL_C_INCLUDES += \ |
Alex Ray | ed6b8a7 | 2012-12-27 10:42:22 -0800 | [diff] [blame] | 23 | system/core/include \ |
Alex Ray | 7ee0b7a | 2012-11-06 00:12:49 -0800 | [diff] [blame] | 24 | system/media/camera/include \ |
| 25 | |
| 26 | LOCAL_SRC_FILES := \ |
| 27 | CameraHAL.cpp \ |
| 28 | Camera.cpp \ |
Alex Ray | b0be103 | 2013-05-28 15:52:47 -0700 | [diff] [blame^] | 29 | Metadata.cpp \ |
Alex Ray | bcaf788 | 2013-02-28 16:04:35 -0800 | [diff] [blame] | 30 | Stream.cpp \ |
Alex Ray | 7ee0b7a | 2012-11-06 00:12:49 -0800 | [diff] [blame] | 31 | |
| 32 | LOCAL_SHARED_LIBRARIES := \ |
| 33 | libcamera_metadata \ |
Alex Ray | ed6b8a7 | 2012-12-27 10:42:22 -0800 | [diff] [blame] | 34 | libcutils \ |
Alex Ray | 7ee0b7a | 2012-11-06 00:12:49 -0800 | [diff] [blame] | 35 | liblog \ |
Alex Ray | 083315c | 2013-04-26 19:32:29 -0700 | [diff] [blame] | 36 | libsync \ |
Alex Ray | 7ee0b7a | 2012-11-06 00:12:49 -0800 | [diff] [blame] | 37 | |
Alex Ray | 02c29b9 | 2013-02-18 15:38:05 -0800 | [diff] [blame] | 38 | LOCAL_CFLAGS += -Wall -Wextra -fvisibility=hidden |
Alex Ray | 7ee0b7a | 2012-11-06 00:12:49 -0800 | [diff] [blame] | 39 | |
| 40 | LOCAL_MODULE_TAGS := optional |
| 41 | |
| 42 | include $(BUILD_SHARED_LIBRARY) |