Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 1 | // |
Ayush Raj | 2e3f312 | 2019-05-08 12:47:14 +0530 | [diff] [blame] | 2 | // Copyright (C) 2018-2019 The Android Open Source Project |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [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_shared { |
Gaurav Singhal | d1b7b13 | 2019-05-27 16:23:26 +0530 | [diff] [blame] | 18 | name: "nfc_nci.nqx.default.hw", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 19 | defaults: ["hidl_defaults"], |
| 20 | vendor: true, |
| 21 | |
| 22 | cflags: [ |
| 23 | "-Wall", |
| 24 | "-Werror", |
| 25 | "-Wextra", |
| 26 | "-DNXP_EXTNS=TRUE", |
| 27 | "-DNXP_HW_SELF_TEST=TRUE" |
| 28 | ], |
| 29 | |
| 30 | srcs: [ |
| 31 | "halimpl/dnld/phDnldNfc.cc", |
| 32 | "halimpl/dnld/phDnldNfc_Internal.cc", |
| 33 | "halimpl/dnld/phDnldNfc_Utils.cc", |
| 34 | "halimpl/dnld/phNxpNciHal_Dnld.cc", |
| 35 | "halimpl/hal/phNxpNciHal.cc", |
| 36 | "halimpl/hal/phNxpNciHal_NfcDepSWPrio.cc", |
| 37 | "halimpl/hal/phNxpNciHal_dta.cc", |
| 38 | "halimpl/hal/phNxpNciHal_ext.cc", |
| 39 | "halimpl/hal/phNxpNciHal_nciParser.cc", |
| 40 | "halimpl/log/phNxpLog.cc", |
| 41 | "halimpl/self-test/phNxpNciHal_SelfTest.cc", |
Gaurav Singhal | ccd8974 | 2019-04-19 12:27:16 +0530 | [diff] [blame] | 42 | "halimpl/src/adaptation/EseAdaptation.cc", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 43 | "halimpl/tml/phDal4Nfc_messageQueueLib.cc", |
| 44 | "halimpl/tml/phOsalNfc_Timer.cc", |
| 45 | "halimpl/tml/phTmlNfc.cc", |
| 46 | "halimpl/tml/phTmlNfc_i2c.cc", |
| 47 | "halimpl/tml/spi_spm.cc", |
| 48 | "halimpl/utils/NxpNfcCapability.cc", |
| 49 | "halimpl/utils/phNxpConfig.cc", |
| 50 | "halimpl/utils/phNxpNciHal_utils.cc", |
| 51 | "halimpl/utils/sparse_crc32.cc", |
nxf24178 | 2d186f2 | 2019-06-20 16:41:39 +0530 | [diff] [blame] | 52 | "halimpl/hal/phNxpNciHal_IoctlOperations.cc", |
Ayush Raj | e093f3b | 2019-07-22 11:38:24 +0530 | [diff] [blame] | 53 | "halimpl/hal/phNxpNciHal_extOperations.cc", |
Bhuvan Varshney | 6698f94 | 2020-03-05 14:12:48 +0530 | [diff] [blame] | 54 | "halimpl/eseclients_extns/src/eSEClientExtns.cc", |
nxf52135 | e11fd5c | 2020-02-11 18:23:49 +0530 | [diff] [blame] | 55 | "halimpl/mifare/NxpMfcReader.cc", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 56 | ], |
| 57 | |
| 58 | local_include_dirs: [ |
| 59 | "halimpl/common", |
| 60 | "halimpl/dnld", |
| 61 | "halimpl/hal", |
| 62 | "halimpl/inc", |
| 63 | "halimpl/log", |
| 64 | "halimpl/self-test", |
| 65 | "halimpl/tml", |
| 66 | "halimpl/utils", |
Ayush Raj | 2e3f312 | 2019-05-08 12:47:14 +0530 | [diff] [blame] | 67 | "halimpl/eseclients_extns/inc", |
nxf52135 | e11fd5c | 2020-02-11 18:23:49 +0530 | [diff] [blame] | 68 | "halimpl/src/include", |
| 69 | "halimpl/mifare", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 70 | ], |
| 71 | |
| 72 | include_dirs: [ |
Sumatheendra Raghavendrachar | 0b1e9f3 | 2018-10-25 12:03:51 +0530 | [diff] [blame] | 73 | "vendor/nxp/opensource/halimpl/SN100x/extns/impl", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 74 | ], |
| 75 | |
| 76 | export_include_dirs: [ |
| 77 | "extns/impl", |
| 78 | "halimpl/inc", |
Gaurav Singhal | 6ac5cbb | 2019-12-26 17:55:32 +0530 | [diff] [blame] | 79 | "halimpl/hal", |
| 80 | "halimpl/utils", |
| 81 | "halimpl/log", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 82 | "halimpl/common", |
Bhuvan Varshney | 6698f94 | 2020-03-05 14:12:48 +0530 | [diff] [blame] | 83 | "halimpl/mifare", |
| 84 | "halimpl/eseclients_extns/inc", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 85 | ], |
| 86 | |
| 87 | shared_libs: [ |
| 88 | "android.hardware.nfc@1.0", |
| 89 | "android.hardware.nfc@1.1", |
Ganesh Deva | 9e9adb5 | 2019-02-15 21:40:44 +0530 | [diff] [blame] | 90 | "android.hardware.nfc@1.2", |
Gaurav Singhal | 6ac5cbb | 2019-12-26 17:55:32 +0530 | [diff] [blame] | 91 | "vendor.nxp.hardware.nfc@2.0", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 92 | "android.hardware.secure_element@1.0", |
| 93 | "libbase", |
| 94 | "libcutils", |
| 95 | "libdl", |
| 96 | "libhardware", |
| 97 | "libhardware_legacy", |
| 98 | "libhidlbase", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 99 | "liblog", |
| 100 | "libutils", |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 101 | ], |
Karthik Poosa | 97e67bb | 2020-05-01 11:30:11 +0530 | [diff] [blame] | 102 | |
Karthik Poosa | 1664cbb | 2020-05-04 13:10:01 +0530 | [diff] [blame] | 103 | header_libs: [ |
| 104 | "libese_client_headers", |
| 105 | ], |
| 106 | |
Bhuvan Varshney | 84ebe47 | 2019-10-16 12:09:49 +0530 | [diff] [blame] | 107 | sanitize: { |
| 108 | cfi: true, |
Bhuvan Varshney | 6a33b94 | 2019-11-04 15:16:44 +0530 | [diff] [blame] | 109 | integer_overflow: true, |
Bhuvan Varshney | 84ebe47 | 2019-10-16 12:09:49 +0530 | [diff] [blame] | 110 | }, |
Gaurav Singhal | 7bc627d | 2018-08-30 10:39:24 +0530 | [diff] [blame] | 111 | } |