1#!/bin/bash
2
3# Generate the CHRE-side header file
4flatc --cpp -o ../include/chre/platform/shared/generated/ --scoped-enums \
5  --cpp-ptr-type chre::UniquePtr host_messages.fbs
6
7# Generate the AP-side header file with some extra goodies
8flatc --cpp -o ../../../host/common/include/chre_host/generated/ --scoped-enums \
9  --gen-mutable --gen-object-api host_messages.fbs
10