diff options
| author | Changyeon Jo <changyeon@google.com> | 2021-10-18 08:47:03 -0700 |
|---|---|---|
| committer | Changyeon Jo <changyeon@google.com> | 2021-10-21 09:12:47 -0700 |
| commit | 9b3c9adb71145056dd8cbfd417b0b017106b17a3 (patch) | |
| tree | cd54d476fd1971f78588be757b31e7e18764c1e0 | |
| parent | b3fba1d7c3886b7ec281b13a11e94c42f5322c3c (diff) | |
Using a manifest fragment
Fix: 203414344
Test: m -j and start CAN services
Change-Id: I423ab883d959f234a52adf680fae91bf264bea8b
| -rw-r--r-- | automotive/can/1.0/default/Android.bp | 1 | ||||
| -rw-r--r-- | automotive/can/1.0/default/manifest_android.hardware.automotive.can@1.0.xml | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/automotive/can/1.0/default/Android.bp b/automotive/can/1.0/default/Android.bp index c0c17e27f..163fdb726 100644 --- a/automotive/can/1.0/default/Android.bp +++ b/automotive/can/1.0/default/Android.bp @@ -64,4 +64,5 @@ cc_binary { "android.hardware.automotive@libc++fs", "libnl++", ], + vintf_fragments: ["manifest_android.hardware.automotive.can@1.0.xml"], } diff --git a/automotive/can/1.0/default/manifest_android.hardware.automotive.can@1.0.xml b/automotive/can/1.0/default/manifest_android.hardware.automotive.can@1.0.xml new file mode 100644 index 000000000..2078ce54d --- /dev/null +++ b/automotive/can/1.0/default/manifest_android.hardware.automotive.can@1.0.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2020 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. +--> +<manifest version="1.0" type="device" > + <hal format="hidl"> + <name>android.hardware.automotive.can</name> + <transport>hwbinder</transport> + <fqname>@1.0::ICanController/socketcan</fqname> + </hal> +</manifest> |
