blob: 237cd2b1aba5ab71348dd70b3ef6ad25a68eba57 [file] [log] [blame]
Colin Crossa8f0f312017-04-19 17:51:04 -07001// 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
Bob Badour56786ac2021-02-25 15:24:36 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_av_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_av_license"],
22}
23
Colin Crossa8f0f312017-04-19 17:51:04 -070024cc_library_shared {
25 name: "libimg_utils",
26
27 srcs: [
28 "src/EndianUtils.cpp",
29 "src/FileInput.cpp",
30 "src/FileOutput.cpp",
31 "src/SortedEntryVector.cpp",
32 "src/Input.cpp",
33 "src/Output.cpp",
34 "src/Orderable.cpp",
35 "src/TiffIfd.cpp",
36 "src/TiffWritable.cpp",
37 "src/TiffWriter.cpp",
38 "src/TiffEntry.cpp",
39 "src/TiffEntryImpl.cpp",
40 "src/ByteArrayOutput.cpp",
41 "src/DngUtils.cpp",
42 "src/StripSource.cpp",
43 ],
44
45 shared_libs: [
46 "liblog",
47 "libutils",
48 "libcutils",
49 ],
50
51 cflags: [
52 "-Wall",
53 "-Wextra",
54 "-Werror",
55 "-fvisibility=hidden",
56 ],
57
58 product_variables: {
59 debuggable: {
60 // Enable assert() in eng builds
61 cflags: [
62 "-UNDEBUG",
63 "-DLOG_NDEBUG=1",
64 ],
65 },
66 },
67
68 export_include_dirs: ["include"],
69}