platform_hardware_interfaces/automotive/vehicle/Android.bp
Yu Shan b0b71c1f8a Create a skeleton Rust VHAL.
This is to prove that rust VHAL can be built and can run. The
skeleton Rust VHAL will return UNKNOWN_ERROR for all APIs.

Test: m android.hardware.automotive.vehicle-V3-rust-service
Manually replace VHAL on emulator with Selinux policy manually
updated to allow rust VHAL.
Bug: 320320087

Change-Id: I7d2dab392bf2ef982001df10c9b602c5c75888f7
2024-01-26 23:06:56 +00:00

35 lines
1.1 KiB
Text

/*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_defaults {
name: "VehicleHalInterfaceDefaults",
static_libs: [
"android.hardware.automotive.vehicle-V3-ndk",
"android.hardware.automotive.vehicle.property-V3-ndk",
],
}
rust_defaults {
name: "VehicleHalInterfaceRustDefaults",
rustlibs: [
"android.hardware.automotive.vehicle-V3-rust",
"android.hardware.automotive.vehicle.property-V3-rust",
],
}