system/chre/apps/power_test/common/idl/update.sh

12 lines
355 B
Bash
Raw Permalink Normal View History

2025-08-25 08:01:50 +08:00
#!/bin/bash
# NOTE: Ensure you use flatc version 1.6.0 here!
# Generate the CHRE-side header file
flatc --cpp -o ../include/generated/ --scoped-enums \
--cpp-ptr-type chre::UniquePtr chre_power_test.fbs
# Generate the AP-side header file with some extra goodies
flatc --cpp -o ./ --scoped-enums --gen-mutable \
--gen-object-api chre_power_test.fbs