Alec Mouri | 671d0f5 | 2019-09-05 13:59:19 -0700 | [diff] [blame^] | 1 | // Copyright 2019 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | cc_library_headers { |
| 16 | name: "libnativedisplay_headers", |
| 17 | export_include_dirs: ["include"], |
| 18 | } |
| 19 | |
| 20 | cc_library { |
| 21 | name: "libnativedisplay", |
| 22 | export_include_dirs: [ |
| 23 | "include", |
| 24 | ], |
| 25 | |
| 26 | clang: true, |
| 27 | |
| 28 | cflags: [ |
| 29 | "-Wall", |
| 30 | "-Werror", |
| 31 | "-Wno-enum-compare", |
| 32 | "-Wno-unused-function", |
| 33 | ], |
| 34 | |
| 35 | srcs: [ |
| 36 | "ADisplay.cpp", |
| 37 | ], |
| 38 | |
| 39 | shared_libs: [ |
| 40 | "libgui", |
| 41 | "liblog", |
| 42 | "libui", |
| 43 | "libutils", |
| 44 | ], |
| 45 | |
| 46 | header_libs: [ |
| 47 | "libnativedisplay_headers", |
| 48 | ], |
| 49 | |
| 50 | } |