History log of /system/tools/hidl/c2hal/Expression.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b33b5ee164d891adc9d2b69390b7220cc6bdcc0a 29-Sep-2016 Yifan Hong <elsk@google.com> c2hal: replace UNKOWN with UNKNOWN

Test: `mma`

Change-Id: Icf6be62b2ce6984def5679755088c18d5dc4c35a
/system/tools/hidl/c2hal/Expression.h
4200903983e12253942381e2f9331479848c0b94 29-Sep-2016 Yifan Hong <elsk@google.com> c2hal: Use better To(Camel|Pascal|Snake)Case functions.

* enforce SNAKE_CASE on enums.
* rename upcase to uppercase everywhere.

Test: `make c2hal` and examine the result for c2hal/test/test.h

Change-Id: I959a7ed527f75e1a3b451ba484dbfea288c2db0d
/system/tools/hidl/c2hal/Expression.h
f1a35f7d73f38e0d30d7a4343e33c3f4777cf87e 17-Aug-2016 Steven Moreland <smoreland@google.com> added c2hal

This is a transpiler which converts C headers to .hal files. Its design
is intended to mirror hidl-gen in order to make it easier for team
members familiar with one to be familiar with the other.

After making c2hal, commands from ~/android/master/:

Build the test.h header:
c2hal -r android.hardware:hardware/interfaces -p android.hardware.baz@1.0 system/tools/hidl/c2hal/test/test.h

Build the simple.h header:
c2hal -r android.hardware:hardware/interfaces -p android.hardware.simple@1.0 system/tools/hidl/c2hal/test/simple.h

Build all headers from libhardware:
python3 system/tools/hidl/c2hal/test/build_all.py ~/android/master/hardware/libhardware/include/hardware/

Build various OpenGl versions:
python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/include/EGL/
python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/include/ETC1/
python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/include/GLES/
python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/include/GLES2/
python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/include/GLES3/
python3 system/tools/hidl/c2hal/test/build_all.py -g ~/android/master/frameworks/native/opengl/include/KHR/

Change-Id: I5a3b1d6d2350dd7e1ff825deeec212314b49d083
/system/tools/hidl/c2hal/Expression.h