dianlujitao | 1334e75 | 2017-11-29 15:13:23 +0800 | [diff] [blame] | 1 | // |
dianlujitao | 506c0b7 | 2019-03-01 11:37:32 +0800 | [diff] [blame] | 2 | // Copyright (C) 2017-2019 The LineageOS Project |
dianlujitao | 1334e75 | 2017-11-29 15:13:23 +0800 | [diff] [blame] | 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 | cc_library_headers { |
| 18 | name: "libbfqio_headers", |
| 19 | vendor_available: true, |
| 20 | export_include_dirs: ["include"], |
| 21 | } |
| 22 | |
dianlujitao | 506c0b7 | 2019-03-01 11:37:32 +0800 | [diff] [blame] | 23 | cc_library { |
| 24 | name: "libbfqio", |
| 25 | vendor_available: true, |
dianlujitao | 1334e75 | 2017-11-29 15:13:23 +0800 | [diff] [blame] | 26 | srcs: [ |
| 27 | "bfqio.c", |
| 28 | ], |
| 29 | |
| 30 | shared_libs: [ |
| 31 | "libcutils", |
| 32 | "liblog", |
| 33 | ], |
| 34 | header_libs: [ |
| 35 | "libbfqio_headers", |
| 36 | ], |
| 37 | export_header_lib_headers: ["libbfqio_headers"], |
| 38 | |
| 39 | cflags: [ |
| 40 | "-Werror", |
| 41 | "-Wall", |
| 42 | "-Wextra", |
| 43 | ], |
| 44 | } |