1#!/bin/bash 2 3# NOTE: Ensure you use flatc version 1.6.0 here! 4 5# Generate the CHRE-side header file 6flatc --cpp -o ../include/generated/ --scoped-enums \ 7 --cpp-ptr-type chre::UniquePtr chre_power_test.fbs 8 9# Generate the AP-side header file with some extra goodies 10flatc --cpp -o ./ --scoped-enums --gen-mutable \ 11 --gen-object-api chre_power_test.fbs 12