Ruben Brunk | e507721 | 2014-04-28 16:39:12 -0700 | [diff] [blame] | 1 | # Copyright 2014 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_SRC_FILES := \ |
| 20 | EndianUtils.cpp \ |
| 21 | FileInput.cpp \ |
| 22 | FileOutput.cpp \ |
| 23 | SortedEntryVector.cpp \ |
| 24 | Input.cpp \ |
| 25 | Output.cpp \ |
| 26 | Orderable.cpp \ |
| 27 | TiffIfd.cpp \ |
| 28 | TiffWritable.cpp \ |
| 29 | TiffWriter.cpp \ |
| 30 | TiffEntry.cpp \ |
| 31 | TiffEntryImpl.cpp \ |
| 32 | ByteArrayOutput.cpp \ |
| 33 | DngUtils.cpp \ |
Ruben Brunk | 4510de2 | 2014-05-28 18:42:37 -0700 | [diff] [blame] | 34 | StripSource.cpp \ |
Ruben Brunk | e507721 | 2014-04-28 16:39:12 -0700 | [diff] [blame] | 35 | |
| 36 | LOCAL_SHARED_LIBRARIES := \ |
Dimitry Ivanov | cdf1573 | 2016-02-12 16:41:00 -0800 | [diff] [blame] | 37 | liblog \ |
Ruben Brunk | e507721 | 2014-04-28 16:39:12 -0700 | [diff] [blame] | 38 | libexpat \ |
| 39 | libutils \ |
| 40 | libcutils \ |
| 41 | libcamera_metadata \ |
| 42 | libcamera_client |
| 43 | |
| 44 | LOCAL_C_INCLUDES += \ |
| 45 | $(LOCAL_PATH)/../include \ |
| 46 | system/media/camera/include |
| 47 | |
| 48 | LOCAL_CFLAGS += \ |
| 49 | -Wall \ |
| 50 | -Wextra \ |
Ruben Brunk | 272b7f2 | 2014-05-17 01:09:04 -0700 | [diff] [blame] | 51 | -Werror \ |
Ruben Brunk | e507721 | 2014-04-28 16:39:12 -0700 | [diff] [blame] | 52 | -fvisibility=hidden |
| 53 | |
| 54 | ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),) |
| 55 | # Enable assert() in eng builds |
| 56 | LOCAL_CFLAGS += -UNDEBUG -DLOG_NDEBUG=1 |
| 57 | endif |
| 58 | |
| 59 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include |
| 60 | |
| 61 | LOCAL_MODULE := libimg_utils |
| 62 | |
| 63 | include $(BUILD_SHARED_LIBRARY) |