xref: /aosp_15_r20/system/chre/host/msm/daemon/idl/update.sh (revision 84e339476a462649f82315436d70fd732297a399)
1#!/bin/bash
2# This script invokes QAIC to generate the source files associated with the
3# FastRPC IDL
4
5if [ -z "$HEXAGON_SDK_ROOT" ]; then
6    HEXAGON_SDK_ROOT="$HOME/Qualcomm/Hexagon_SDK/3.5.2"
7fi
8
9QAIC_DIR="$HEXAGON_SDK_ROOT/tools/qaic/Ubuntu18"
10OUT_DIR="../generated"
11
12mkdir -p $OUT_DIR
13"$QAIC_DIR"/qaic -mdll -o $OUT_DIR -I. chre_slpi.idl
14