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 15cc_library_shared { 16 name: "libimg_utils", 17 18 srcs: [ 19 "src/EndianUtils.cpp", 20 "src/FileInput.cpp", 21 "src/FileOutput.cpp", 22 "src/SortedEntryVector.cpp", 23 "src/Input.cpp", 24 "src/Output.cpp", 25 "src/Orderable.cpp", 26 "src/TiffIfd.cpp", 27 "src/TiffWritable.cpp", 28 "src/TiffWriter.cpp", 29 "src/TiffEntry.cpp", 30 "src/TiffEntryImpl.cpp", 31 "src/ByteArrayOutput.cpp", 32 "src/DngUtils.cpp", 33 "src/StripSource.cpp", 34 ], 35 36 shared_libs: [ 37 "liblog", 38 "libutils", 39 "libcutils", 40 ], 41 42 cflags: [ 43 "-Wall", 44 "-Wextra", 45 "-Werror", 46 "-fvisibility=hidden", 47 ], 48 49 product_variables: { 50 debuggable: { 51 // Enable assert() in eng builds 52 cflags: [ 53 "-UNDEBUG", 54 "-DLOG_NDEBUG=1", 55 ], 56 }, 57 }, 58 59 export_include_dirs: ["include"], 60} 61