Andrew F. Davis | c39eaab | 2018-07-26 15:21:38 -0500 | [diff] [blame] | 1 | // Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ |
| 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_shared { |
| 16 | name: "libkmsxx", |
| 17 | |
| 18 | vendor_available: true, |
| 19 | rtti: true, |
| 20 | |
| 21 | srcs: [ |
Haibo Huang | 57240f8 | 2020-04-01 14:42:37 -0700 | [diff] [blame] | 22 | "kms++/src/*.cpp", |
Andrew F. Davis | c39eaab | 2018-07-26 15:21:38 -0500 | [diff] [blame] | 23 | ], |
| 24 | |
| 25 | cflags: [ |
Haibo Huang | 57240f8 | 2020-04-01 14:42:37 -0700 | [diff] [blame] | 26 | "-DFMT_EXCEPTIONS=0", // fmtlib is not built with exception. |
Andrew F. Davis | c39eaab | 2018-07-26 15:21:38 -0500 | [diff] [blame] | 27 | "-Wall", |
| 28 | "-Wextra", |
| 29 | "-Wno-unused-parameter", |
| 30 | "-fexceptions", |
Haibo Huang | 57240f8 | 2020-04-01 14:42:37 -0700 | [diff] [blame] | 31 | "-include array", |
Andrew F. Davis | c39eaab | 2018-07-26 15:21:38 -0500 | [diff] [blame] | 32 | ], |
| 33 | |
| 34 | shared_libs: [ |
Haibo Huang | 57240f8 | 2020-04-01 14:42:37 -0700 | [diff] [blame] | 35 | "libbase", // for fmtlib |
Andrew F. Davis | c39eaab | 2018-07-26 15:21:38 -0500 | [diff] [blame] | 36 | "libdrm", |
| 37 | ], |
| 38 | |
| 39 | export_include_dirs: [ |
| 40 | "kms++/inc", |
| 41 | ], |
| 42 | } |