Android.mk revision 22fcacaf30e157037e6651241c7b3a45f075daa0
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 15LOCAL_PATH := $(call my-dir) 16 17include $(CLEAR_VARS) 18 19LOCAL_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 \ 34 35LOCAL_SHARED_LIBRARIES := \ 36 libexpat \ 37 libutils \ 38 libcutils \ 39 libcamera_metadata \ 40 libcamera_client 41 42LOCAL_C_INCLUDES += \ 43 $(LOCAL_PATH)/../include \ 44 system/media/camera/include 45 46LOCAL_CFLAGS += \ 47 -Wall \ 48 -Wextra \ 49 -fvisibility=hidden 50 51ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),) 52 # Enable assert() in eng builds 53 LOCAL_CFLAGS += -UNDEBUG -DLOG_NDEBUG=1 54endif 55 56LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include 57 58LOCAL_MODULE := libimg_utils 59 60include $(BUILD_SHARED_LIBRARY) 61