1# Copyright (C) 2016 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 := Magick++ 20 21LOCAL_SDK_VERSION := 24 22 23LOCAL_NDK_STL_VARIANT := c++_static 24 25LOCAL_SRC_FILES := lib/Blob.cpp\ 26 lib/BlobRef.cpp\ 27 lib/CoderInfo.cpp\ 28 lib/Color.cpp\ 29 lib/Drawable.cpp\ 30 lib/Exception.cpp\ 31 lib/Functions.cpp\ 32 lib/Geometry.cpp\ 33 lib/Image.cpp\ 34 lib/ImageRef.cpp\ 35 lib/Montage.cpp\ 36 lib/Options.cpp\ 37 lib/Pixels.cpp\ 38 lib/ResourceLimits.cpp\ 39 lib/STL.cpp\ 40 lib/Statistic.cpp\ 41 lib/Thread.cpp\ 42 lib/TypeMetric.cpp 43 44LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. \ 45 $(LOCAL_PATH)/lib 46 47LOCAL_CFLAGS += -DHAVE_CONFIG_H 48 49LOCAL_CPPFLAGS += -fexceptions 50 51LOCAL_EXPORT_C_INCLUDE_DIRS := \ 52 external/ImageMagick/Magick++/lib \ 53 external/ImageMagick 54 55include $(BUILD_STATIC_LIBRARY)