Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 15 | package { |
Aditya Choudhary | 04ef212 | 2024-02-02 14:00:43 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_aaos_framework", |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 17 | // See: http://go/android-license-faq |
| 18 | // A large-scale-change added 'default_applicable_licenses' to import |
| 19 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 20 | // to get the below license kinds: |
| 21 | // SPDX-license-identifier-Apache-2.0 |
| 22 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 23 | } |
| 24 | |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 25 | cc_defaults { |
| 26 | name: "vhal_v2_0_defaults", |
| 27 | shared_libs: [ |
| 28 | "libhidlbase", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 29 | "liblog", |
| 30 | "libutils", |
| 31 | "android.hardware.automotive.vehicle@2.0", |
| 32 | ], |
| 33 | cflags: [ |
| 34 | "-Wall", |
| 35 | "-Wextra", |
| 36 | "-Werror", |
| 37 | ], |
| 38 | } |
| 39 | |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 40 | cc_defaults { |
| 41 | name: "vhal_v2_0_target_defaults", |
| 42 | defaults: ["vhal_v2_0_defaults"], |
| 43 | shared_libs: [ |
| 44 | "libbinder_ndk", |
Jiyong Park | c426c6d | 2021-08-04 12:48:07 +0900 | [diff] [blame] | 45 | "android.automotive.watchdog-V2-ndk", |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 46 | ], |
| 47 | } |
| 48 | |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 49 | cc_library_headers { |
| 50 | name: "vhal_v2_0_common_headers", |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 51 | visibility: ["//visibility:public"], |
Tri Vo | 22b2d68 | 2017-07-11 12:53:12 -0700 | [diff] [blame] | 52 | vendor: true, |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 53 | export_include_dirs: ["common/include/vhal_v2_0"], |
| 54 | } |
| 55 | |
| 56 | // Vehicle reference implementation lib |
Anthony Mah | a9d8c0d | 2017-10-03 16:22:22 -0700 | [diff] [blame] | 57 | cc_library { |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 58 | name: "android.hardware.automotive.vehicle@2.0-manager-lib", |
Tri Vo | 22b2d68 | 2017-07-11 12:53:12 -0700 | [diff] [blame] | 59 | vendor: true, |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 60 | defaults: ["vhal_v2_0_target_defaults"], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 61 | srcs: [ |
Pavel Maltsev | 250139c | 2017-08-24 15:09:41 -0700 | [diff] [blame] | 62 | "common/src/Obd2SensorStore.cpp", |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 63 | "common/src/ProtoMessageConverter.cpp", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 64 | "common/src/SubscriptionManager.cpp", |
| 65 | "common/src/VehicleHalManager.cpp", |
| 66 | "common/src/VehicleObjectPool.cpp", |
| 67 | "common/src/VehiclePropertyStore.cpp", |
| 68 | "common/src/VehicleUtils.cpp", |
Aditi Nagaraj | 8dcab8e | 2018-01-10 17:10:01 -0800 | [diff] [blame] | 69 | "common/src/VmsUtils.cpp", |
Eric Jeong | 908101a | 2020-04-23 09:43:55 -0700 | [diff] [blame] | 70 | "common/src/WatchdogClient.cpp", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 71 | ], |
Felipe Leme | 75a27f8 | 2020-01-31 15:25:55 -0800 | [diff] [blame] | 72 | shared_libs: [ |
| 73 | "libbase", |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 74 | "libprotobuf-cpp-lite", |
Felipe Leme | 75a27f8 | 2020-01-31 15:25:55 -0800 | [diff] [blame] | 75 | ], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 76 | local_include_dirs: ["common/include/vhal_v2_0"], |
| 77 | export_include_dirs: ["common/include"], |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 78 | static_libs: [ |
| 79 | "android.hardware.automotive.vehicle@2.0-libproto-native", |
| 80 | ], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 81 | } |
| 82 | |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 83 | // Vehicle default VehicleHAL implementation |
| 84 | cc_library_static { |
| 85 | name: "android.hardware.automotive.vehicle@2.0-default-impl-lib", |
Tri Vo | 22b2d68 | 2017-07-11 12:53:12 -0700 | [diff] [blame] | 86 | vendor: true, |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 87 | defaults: ["vhal_v2_0_target_defaults"], |
Yu Shan | 2842eb5 | 2022-08-31 18:08:10 -0700 | [diff] [blame] | 88 | cflags: [ |
| 89 | "-DENABLE_VENDOR_CLUSTER_PROPERTY_FOR_TESTING", |
| 90 | "-DENABLE_GET_PROP_CONFIGS_BY_MULTIPLE_REQUESTS", |
| 91 | ], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 92 | srcs: [ |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 93 | "impl/vhal_v2_0/DefaultVehicleHal.cpp", |
Hao Chen | a6d6fa3 | 2020-02-14 11:51:26 -0800 | [diff] [blame] | 94 | "impl/vhal_v2_0/VehicleHalClient.cpp", |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 95 | "impl/vhal_v2_0/DefaultVehicleHalServer.cpp", |
Chao Yan | f63c2ca | 2018-04-17 11:32:39 -0700 | [diff] [blame] | 96 | "impl/vhal_v2_0/LinearFakeValueGenerator.cpp", |
| 97 | "impl/vhal_v2_0/JsonFakeValueGenerator.cpp", |
Chao Yan | 0f85dd1 | 2018-06-04 14:03:02 -0700 | [diff] [blame] | 98 | "impl/vhal_v2_0/GeneratorHub.cpp", |
Yu Shan | 122eea6 | 2021-07-20 18:22:23 -0700 | [diff] [blame] | 99 | "impl/vhal_v2_0/FakeObd2Frame.cpp", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 100 | ], |
| 101 | local_include_dirs: ["common/include/vhal_v2_0"], |
| 102 | export_include_dirs: ["impl"], |
felipeal | 9c998c0 | 2020-04-17 14:32:53 -0700 | [diff] [blame] | 103 | whole_static_libs: [ |
Yu Shan | 58f71e7 | 2021-08-03 16:49:40 -0700 | [diff] [blame] | 104 | "android.hardware.automotive.vehicle@2.0-fake-user-hal-lib", |
felipeal | 9c998c0 | 2020-04-17 14:32:53 -0700 | [diff] [blame] | 105 | "android.hardware.automotive.vehicle@2.0-manager-lib", |
| 106 | ], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 107 | shared_libs: [ |
| 108 | "libbase", |
Inseob Kim | 31ab19f | 2019-09-10 14:56:19 +0900 | [diff] [blame] | 109 | "libjsoncpp", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 110 | "libprotobuf-cpp-lite", |
| 111 | ], |
| 112 | static_libs: [ |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 113 | "android.hardware.automotive.vehicle@2.0-libproto-native", |
| 114 | ], |
| 115 | } |
| 116 | |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 117 | // Vehicle HAL Server reference impl lib |
| 118 | cc_library_static { |
| 119 | name: "android.hardware.automotive.vehicle@2.0-server-common-lib", |
| 120 | vendor: true, |
| 121 | host_supported: true, |
| 122 | defaults: ["vhal_v2_0_defaults"], |
| 123 | local_include_dirs: ["common/include/vhal_v2_0"], |
| 124 | export_include_dirs: ["common/include"], |
| 125 | srcs: [ |
| 126 | "common/src/Obd2SensorStore.cpp", |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 127 | "common/src/ProtoMessageConverter.cpp", |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 128 | "common/src/VehicleObjectPool.cpp", |
Hao Chen | 0b7c287 | 2021-05-12 12:21:33 -0700 | [diff] [blame] | 129 | "common/src/VehiclePropertyStore.cpp", |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 130 | "common/src/VehicleUtils.cpp", |
| 131 | ], |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 132 | static_libs: [ |
| 133 | "android.hardware.automotive.vehicle@2.0-libproto-native", |
| 134 | ], |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 135 | } |
| 136 | |
| 137 | // Vehicle HAL Server default implementation |
| 138 | cc_library_static { |
| 139 | name: "android.hardware.automotive.vehicle@2.0-server-impl-lib", |
| 140 | vendor: true, |
| 141 | host_supported: true, |
| 142 | defaults: ["vhal_v2_0_defaults"], |
| 143 | local_include_dirs: ["common/include/vhal_v2_0"], |
| 144 | export_include_dirs: ["impl"], |
| 145 | srcs: [ |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 146 | "impl/vhal_v2_0/GeneratorHub.cpp", |
| 147 | "impl/vhal_v2_0/JsonFakeValueGenerator.cpp", |
| 148 | "impl/vhal_v2_0/LinearFakeValueGenerator.cpp", |
Yu Shan | 6029a37 | 2021-06-22 19:11:05 -0700 | [diff] [blame] | 149 | "impl/vhal_v2_0/DefaultVehicleHalServer.cpp", |
Yu Shan | 122eea6 | 2021-07-20 18:22:23 -0700 | [diff] [blame] | 150 | "impl/vhal_v2_0/FakeObd2Frame.cpp", |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 151 | ], |
| 152 | whole_static_libs: [ |
| 153 | "android.hardware.automotive.vehicle@2.0-server-common-lib", |
| 154 | ], |
| 155 | static_libs: [ |
| 156 | "android.hardware.automotive.vehicle@2.0-libproto-native", |
| 157 | ], |
| 158 | shared_libs: [ |
| 159 | "libbase", |
| 160 | "libjsoncpp", |
| 161 | ], |
| 162 | } |
| 163 | |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 164 | cc_test { |
| 165 | name: "android.hardware.automotive.vehicle@2.0-manager-unit-tests", |
Tri Vo | 22b2d68 | 2017-07-11 12:53:12 -0700 | [diff] [blame] | 166 | vendor: true, |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 167 | defaults: ["vhal_v2_0_target_defaults"], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 168 | whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"], |
Chih-Hung Hsieh | ad1bf31 | 2022-02-17 21:56:13 -0800 | [diff] [blame] | 169 | tidy_timeout_srcs: [ |
| 170 | "tests/VmsUtils_test.cpp", |
| 171 | ], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 172 | srcs: [ |
| 173 | "tests/RecurrentTimer_test.cpp", |
| 174 | "tests/SubscriptionManager_test.cpp", |
| 175 | "tests/VehicleHalManager_test.cpp", |
| 176 | "tests/VehicleObjectPool_test.cpp", |
| 177 | "tests/VehiclePropConfigIndex_test.cpp", |
Aditi Nagaraj | 8dcab8e | 2018-01-10 17:10:01 -0800 | [diff] [blame] | 178 | "tests/VmsUtils_test.cpp", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 179 | ], |
Felipe Leme | 75a27f8 | 2020-01-31 15:25:55 -0800 | [diff] [blame] | 180 | shared_libs: [ |
| 181 | "libbase", |
Yu Shan | 8ae3ea9 | 2021-06-01 15:44:43 -0700 | [diff] [blame] | 182 | "libcutils", |
Felipe Leme | 75a27f8 | 2020-01-31 15:25:55 -0800 | [diff] [blame] | 183 | ], |
Yu Shan | 3984457 | 2021-06-23 20:42:24 -0700 | [diff] [blame] | 184 | // Exclude share libraries from default because they might be missing on |
| 185 | // some test platforms and we are using static libraries instead. |
Yu Shan | 045138d | 2021-06-02 16:15:29 -0700 | [diff] [blame] | 186 | exclude_shared_libs: [ |
Jiyong Park | c426c6d | 2021-08-04 12:48:07 +0900 | [diff] [blame] | 187 | "android.automotive.watchdog-V2-ndk", |
Yu Shan | 045138d | 2021-06-02 16:15:29 -0700 | [diff] [blame] | 188 | "android.hardware.automotive.vehicle@2.0", |
| 189 | ], |
| 190 | static_libs: [ |
Jiyong Park | c426c6d | 2021-08-04 12:48:07 +0900 | [diff] [blame] | 191 | "android.automotive.watchdog-V2-ndk", |
Yu Shan | 045138d | 2021-06-02 16:15:29 -0700 | [diff] [blame] | 192 | "android.hardware.automotive.vehicle@2.0", |
| 193 | ], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 194 | header_libs: ["libbase_headers"], |
Keun Soo YIM | ff84c37 | 2018-11-27 14:04:42 -0800 | [diff] [blame] | 195 | test_suites: ["general-tests"], |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 196 | } |
| 197 | |
Hao Chen | 1c1fdca | 2019-11-15 14:20:34 -0800 | [diff] [blame] | 198 | cc_test { |
| 199 | name: "android.hardware.automotive.vehicle@2.0-default-impl-unit-tests", |
| 200 | vendor: true, |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 201 | defaults: ["vhal_v2_0_target_defaults"], |
Hao Chen | 1c1fdca | 2019-11-15 14:20:34 -0800 | [diff] [blame] | 202 | srcs: [ |
| 203 | "impl/vhal_v2_0/tests/ProtoMessageConverter_test.cpp", |
Yu Shan | 3984457 | 2021-06-23 20:42:24 -0700 | [diff] [blame] | 204 | "impl/vhal_v2_0/tests/DefaultVhalImpl_test.cpp", |
Hao Chen | 1c1fdca | 2019-11-15 14:20:34 -0800 | [diff] [blame] | 205 | ], |
| 206 | static_libs: [ |
Yu Shan | 3984457 | 2021-06-23 20:42:24 -0700 | [diff] [blame] | 207 | "libbase", |
| 208 | "libcutils", |
Yu Shan | 795f4de | 2021-07-01 15:41:19 -0700 | [diff] [blame] | 209 | "libgmock", |
Yu Shan | 3984457 | 2021-06-23 20:42:24 -0700 | [diff] [blame] | 210 | "libjsoncpp", |
| 211 | "libprotobuf-cpp-lite", |
| 212 | ], |
| 213 | // Exclude share libraries from default because they might be missing on |
| 214 | // some test platforms and we are using static libraries instead. |
| 215 | exclude_shared_libs: [ |
Jiyong Park | c426c6d | 2021-08-04 12:48:07 +0900 | [diff] [blame] | 216 | "android.automotive.watchdog-V2-ndk", |
Yu Shan | 3984457 | 2021-06-23 20:42:24 -0700 | [diff] [blame] | 217 | "android.hardware.automotive.vehicle@2.0", |
| 218 | ], |
| 219 | whole_static_libs: [ |
Jiyong Park | c426c6d | 2021-08-04 12:48:07 +0900 | [diff] [blame] | 220 | "android.automotive.watchdog-V2-ndk", |
Yu Shan | 045138d | 2021-06-02 16:15:29 -0700 | [diff] [blame] | 221 | "android.hardware.automotive.vehicle@2.0", |
Hao Chen | 1c1fdca | 2019-11-15 14:20:34 -0800 | [diff] [blame] | 222 | "android.hardware.automotive.vehicle@2.0-default-impl-lib", |
| 223 | "android.hardware.automotive.vehicle@2.0-libproto-native", |
Yu Shan | 045138d | 2021-06-02 16:15:29 -0700 | [diff] [blame] | 224 | ], |
Yu Shan | 4a23901 | 2021-07-20 18:12:53 -0700 | [diff] [blame] | 225 | data: [ |
Yu Shan | 4a23901 | 2021-07-20 18:12:53 -0700 | [diff] [blame] | 226 | ":vhal_test_json", |
Yu Shan | 56020bc | 2021-07-16 15:51:16 -0700 | [diff] [blame] | 227 | ":vhal_test_override_json", |
Yu Shan | 4a23901 | 2021-07-20 18:12:53 -0700 | [diff] [blame] | 228 | ], |
Hao Chen | 1c1fdca | 2019-11-15 14:20:34 -0800 | [diff] [blame] | 229 | test_suites: ["general-tests"], |
| 230 | } |
| 231 | |
Yu Shan | 2842eb5 | 2022-08-31 18:08:10 -0700 | [diff] [blame] | 232 | cc_test { |
| 233 | name: "android.hardware.automotive.vehicle@2.0-default-config-test", |
| 234 | vendor: true, |
| 235 | defaults: ["vhal_v2_0_target_defaults"], |
| 236 | srcs: [ |
| 237 | "impl/vhal_v2_0/tests/DefaultConfigSupportedPropertyIds_test.cpp", |
| 238 | ], |
| 239 | cflags: [ |
| 240 | "-DENABLE_VENDOR_CLUSTER_PROPERTY_FOR_TESTING", |
| 241 | "-DENABLE_GET_PROP_CONFIGS_BY_MULTIPLE_REQUESTS", |
| 242 | ], |
| 243 | static_libs: [ |
| 244 | "android.hardware.automotive.vehicle@2.0-default-impl-lib", |
| 245 | "libgtest", |
| 246 | "libgmock", |
| 247 | ], |
| 248 | test_suites: ["general-tests"], |
| 249 | } |
| 250 | |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 251 | cc_binary { |
Yu Shan | 612dbf6 | 2021-07-02 18:11:08 -0700 | [diff] [blame] | 252 | name: "android.hardware.automotive.vehicle@2.0-default-service", |
Hao Chen | c324db9 | 2020-06-03 18:29:31 -0700 | [diff] [blame] | 253 | defaults: ["vhal_v2_0_target_defaults"], |
Calvin Huang | a653616 | 2020-04-20 12:41:20 -0700 | [diff] [blame] | 254 | vintf_fragments: [ |
Yu Shan | 612dbf6 | 2021-07-02 18:11:08 -0700 | [diff] [blame] | 255 | "android.hardware.automotive.vehicle@2.0-default-service.xml", |
Calvin Huang | a653616 | 2020-04-20 12:41:20 -0700 | [diff] [blame] | 256 | ], |
Yu Shan | 612dbf6 | 2021-07-02 18:11:08 -0700 | [diff] [blame] | 257 | init_rc: ["android.hardware.automotive.vehicle@2.0-default-service.rc"], |
Tri Vo | 22b2d68 | 2017-07-11 12:53:12 -0700 | [diff] [blame] | 258 | vendor: true, |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 259 | relative_install_path: "hw", |
| 260 | srcs: ["VehicleService.cpp"], |
| 261 | shared_libs: [ |
| 262 | "libbase", |
Inseob Kim | 31ab19f | 2019-09-10 14:56:19 +0900 | [diff] [blame] | 263 | "libjsoncpp", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 264 | "libprotobuf-cpp-lite", |
| 265 | ], |
| 266 | static_libs: [ |
| 267 | "android.hardware.automotive.vehicle@2.0-manager-lib", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 268 | "android.hardware.automotive.vehicle@2.0-libproto-native", |
Yu Shan | 612dbf6 | 2021-07-02 18:11:08 -0700 | [diff] [blame] | 269 | "android.hardware.automotive.vehicle@2.0-default-impl-lib", |
Tri Vo | fc87140 | 2017-07-10 17:13:23 -0700 | [diff] [blame] | 270 | ], |
| 271 | } |
Ayushi Khopkar | b3057b0 | 2020-08-31 10:59:52 +0530 | [diff] [blame] | 272 | |
| 273 | cc_fuzz { |
| 274 | name: "vehicleManager_fuzzer", |
| 275 | vendor: true, |
| 276 | defaults: ["vhal_v2_0_target_defaults"], |
| 277 | whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"], |
| 278 | srcs: [ |
| 279 | "tests/fuzzer/VehicleManager_fuzzer.cpp", |
| 280 | ], |
| 281 | shared_libs: [ |
| 282 | "libbase", |
| 283 | "libcutils", |
| 284 | "libbinder_ndk", |
| 285 | ], |
| 286 | header_libs: ["libbase_headers"], |
| 287 | local_include_dirs: [ |
| 288 | "common/include", |
| 289 | "tests", |
| 290 | ], |
| 291 | fuzz_config: { |
| 292 | cc: [ |
| 293 | "android-media-fuzzing-reports@google.com", |
| 294 | ], |
| 295 | componentid: 533764, |
Ayushi Khopkar | 5088c6c | 2023-03-17 18:19:58 +0530 | [diff] [blame] | 296 | hotlists: [ |
| 297 | "4593311", |
| 298 | ], |
| 299 | description: "The fuzzer targets the APIs of android.hardware.automotive.vehicle@2.0-manager-lib", |
| 300 | vector: "local_no_privileges_required", |
| 301 | service_privilege: "privileged", |
| 302 | users: "multi_user", |
| 303 | fuzzed_code_usage: "shipped", |
Ayushi Khopkar | b3057b0 | 2020-08-31 10:59:52 +0530 | [diff] [blame] | 304 | }, |
| 305 | } |