blob: dd816293c9ae5b405137cf0b7f8a7a952883ae32 [file] [log] [blame]
dianlujitao1334e752017-11-29 15:13:23 +08001//
2// Copyright (C) 2017 The LineageOS 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: "libbfqio_headers",
19 vendor_available: true,
20 export_include_dirs: ["include"],
21}
22
23cc_defaults {
24 name: "libbfqio_defaults",
25 srcs: [
26 "bfqio.c",
27 ],
28
29 shared_libs: [
30 "libcutils",
31 "liblog",
32 ],
33 header_libs: [
34 "libbfqio_headers",
35 ],
36 export_header_lib_headers: ["libbfqio_headers"],
37
38 cflags: [
39 "-Werror",
40 "-Wall",
41 "-Wextra",
42 ],
43}
44
45cc_library {
46 name: "libbfqio",
47 vendor_available: true,
48 defaults: ["libbfqio_defaults"],
49}
50
51cc_library {
52 name: "libbfqio_vendor",
53 vendor: true,
54 defaults: ["libbfqio_defaults"],
55}