blob: de632caa2604871e947c4453773fd77a4bb02a4c [file] [log] [blame]
Chenbo Feng5b118312017-10-25 11:23:50 -07001//
2// Copyright (C) 2017 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
17cc_library_headers {
18 name: "libqtaguid_headers",
19 vendor_available: false,
20 host_supported: false,
21 export_include_dirs: ["include"],
22 target: {
23 linux_bionic: {
24 enabled: true,
25 },
26 },
27}
28
29cc_library {
30 name: "libqtaguid",
31 vendor_available: false,
32 host_supported: false,
33 target: {
34 android: {
35 srcs: [
36 "qtaguid.c",
37 ],
38 sanitize: {
39 misc_undefined: ["integer"],
40 },
41 },
42 },
43
44 shared_libs: ["liblog"],
45 header_libs: [
46 "libqtaguid_headers",
47 ],
48 export_header_lib_headers: ["libqtaguid_headers"],
49 local_include_dirs: ["include"],
50
51 cflags: [
52 "-Werror",
53 "-Wall",
54 "-Wextra",
55 ],
56}