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 15cc_defaults { 16 name: "Magick++_defaults", 17 18 srcs: ["lib/*.cpp"], 19 20 cflags: [ 21 "-DHAVE_CONFIG_H", 22 "-Wall", 23 "-Werror", 24 "-Wno-deprecated-register", 25 "-Wno-unused-private-field", 26 ], 27 cppflags: ["-fexceptions"], 28 29 header_libs: ["Magick_headers"], 30 export_header_lib_headers: ["Magick_headers"], 31 export_include_dirs: ["lib"], 32} 33 34cc_library_static { 35 name: "Magick++_platform", 36 defaults: ["Magick++_defaults"], 37 stl: "libc++_static", 38} 39 40cc_library_static { 41 name: "Magick++", 42 defaults: ["Magick++_defaults"], 43 sdk_version: "24", 44 stl: "c++_static", 45} 46