blob: 3cd1cd207154fe83ce447d710247c8d3c2ab9dae [file] [log] [blame]
#!/bin/bash
# TODO(b/33276472)
if [ ! -d system/libhidl/transport ] ; then
echo "Where is system/libhidl/transport?";
exit 1;
fi
packages=(
android.hidl.base@1.0
android.hidl.manager@1.0
android.hidl.memory@1.0
android.hidl.token@1.0
)
for package in "${packages[@]}"; do
echo "Updating $package."
hidl-gen -Lmakefile -r android.hidl:system/libhidl/transport $package
hidl-gen -Landroidbp -r android.hidl:system/libhidl/transport $package
done