blob: f648a4b085939f14b3d09b95d96ac53461e9764c [file] [log] [blame]
Steven Morelande1786082017-04-27 14:05:22 -07001//
2// Copyright (C) 2013 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17// WARNING: this makefile builds a shared library. Do not ever make it build
18// a static library or otherwise statically link libexif with your code.
19cc_library_shared {
20 name: "libexif",
Justin Yun865d8f52017-07-24 15:19:44 +090021 vendor_available: true,
22 vndk: {
23 enabled: true,
24 },
Steven Morelande1786082017-04-27 14:05:22 -070025
26 srcs: [
27 "libexif/exif-byte-order.c",
28 "libexif/exif-content.c",
29 "libexif/exif-data.c",
30 "libexif/exif-entry.c",
31 "libexif/exif-format.c",
32 "libexif/exif-ifd.c",
33 "libexif/exif-loader.c",
34 "libexif/exif-log.c",
35 "libexif/exif-mem.c",
36 "libexif/exif-mnote-data.c",
37 "libexif/exif-tag.c",
38 "libexif/exif-utils.c",
39 "libexif/canon/exif-mnote-data-canon.c",
40 "libexif/canon/mnote-canon-entry.c",
41 "libexif/canon/mnote-canon-tag.c",
42 "libexif/olympus/exif-mnote-data-olympus.c",
43 "libexif/olympus/mnote-olympus-tag.c",
44 "libexif/olympus/mnote-olympus-entry.c",
45 "libexif/fuji/exif-mnote-data-fuji.c",
46 "libexif/fuji/mnote-fuji-entry.c",
47 "libexif/fuji/mnote-fuji-tag.c",
48 "libexif/pentax/exif-mnote-data-pentax.c",
49 "libexif/pentax/mnote-pentax-entry.c",
50 "libexif/pentax/mnote-pentax-tag.c",
51 ],
52
Colin Cross2431bfa2017-05-16 14:01:50 -070053 export_include_dirs: ["."],
Steven Morelande1786082017-04-27 14:05:22 -070054
55 cflags: [
56 "-ftrapv",
57
58 // TODO(b/27347470): Disable the following warnings.
59 "-Wno-conversion",
60 "-Wno-unused-parameter",
61 "-Wno-missing-field-initializers",
62 "-Wno-switch",
63 "-Wno-absolute-value",
64 "-Werror",
65 ],
66
67}
68
69// WARNING: this makefile builds a shared library. Do not ever make it build
70// a static library or otherwise statically link libexif with your code.