dianlujitao | 47d41f6 | 2019-10-06 12:04:33 +0800 | [diff] [blame] | 1 | // Copyright (C) 2019 The LineageOS 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_binary { |
| 16 | name: "vendor.qti.hardware.cryptfshw@1.0-service-qti.qsee", |
| 17 | defaults: ["hidl_defaults"], |
| 18 | relative_install_path: "hw", |
| 19 | vendor: true, |
| 20 | init_rc: ["vendor.qti.hardware.cryptfshw@1.0-service-qti.qsee.rc"], |
| 21 | owner: "qti", |
| 22 | srcs: [ |
| 23 | "QSEEComController.cpp", |
| 24 | "service.cpp", |
| 25 | ], |
| 26 | arch: { |
| 27 | arm: { |
| 28 | shared_libs: [ |
| 29 | "libhwbinder", |
| 30 | ], |
| 31 | cflags: ["-DARCH_ARM_32"], |
| 32 | }, |
| 33 | }, |
| 34 | product_variables: { |
| 35 | lineage: { |
| 36 | should_wait_for_qsee: { |
| 37 | cflags: ["-DWAIT_FOR_QSEE"], |
| 38 | }, |
| 39 | }, |
| 40 | }, |
| 41 | header_libs: ["generated_kernel_headers"], |
| 42 | shared_libs: [ |
| 43 | "libbase", |
| 44 | "libdl", |
| 45 | "libhidlbase", |
| 46 | "libhidltransport", |
| 47 | "libutils", |
| 48 | "vendor.qti.hardware.cryptfshw@1.0", |
| 49 | ], |
| 50 | static_libs: ["vendor.qti.hardware.cryptfshw@1.0-base"], |
| 51 | } |