blob: 308bcb24a76bd5e4d2e42fe55931f6cb9e5c6567 [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",
21
22 srcs: [
23 "libexif/exif-byte-order.c",
24 "libexif/exif-content.c",
25 "libexif/exif-data.c",
26 "libexif/exif-entry.c",
27 "libexif/exif-format.c",
28 "libexif/exif-ifd.c",
29 "libexif/exif-loader.c",
30 "libexif/exif-log.c",
31 "libexif/exif-mem.c",
32 "libexif/exif-mnote-data.c",
33 "libexif/exif-tag.c",
34 "libexif/exif-utils.c",
35 "libexif/canon/exif-mnote-data-canon.c",
36 "libexif/canon/mnote-canon-entry.c",
37 "libexif/canon/mnote-canon-tag.c",
38 "libexif/olympus/exif-mnote-data-olympus.c",
39 "libexif/olympus/mnote-olympus-tag.c",
40 "libexif/olympus/mnote-olympus-entry.c",
41 "libexif/fuji/exif-mnote-data-fuji.c",
42 "libexif/fuji/mnote-fuji-entry.c",
43 "libexif/fuji/mnote-fuji-tag.c",
44 "libexif/pentax/exif-mnote-data-pentax.c",
45 "libexif/pentax/mnote-pentax-entry.c",
46 "libexif/pentax/mnote-pentax-tag.c",
47 ],
48
Colin Cross2431bfa2017-05-16 14:01:50 -070049 export_include_dirs: ["."],
Steven Morelande1786082017-04-27 14:05:22 -070050
51 cflags: [
52 "-ftrapv",
53
54 // TODO(b/27347470): Disable the following warnings.
55 "-Wno-conversion",
56 "-Wno-unused-parameter",
57 "-Wno-missing-field-initializers",
58 "-Wno-switch",
59 "-Wno-absolute-value",
60 "-Werror",
61 ],
62
63}
64
65// WARNING: this makefile builds a shared library. Do not ever make it build
66// a static library or otherwise statically link libexif with your code.