History log of /system/tools/hidl/c2hal/c2hal_l.ll
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6081863ce80ff231323a54e97072a17227a56820 04-Feb-2017 Steven Moreland <smoreland@google.com> Add -Werror.

Also, fixed several warnings (including one bug in generateCppImpl.cpp).

Test: compiles

Bug: 32559427

Change-Id: I78375b9052c0ad447ebac638258f25bbf562712f
/system/tools/hidl/c2hal/c2hal_l.ll
cea7773ec460225308cb3abc185e9787c0bc179c 03-Oct-2016 Yifan Hong <elsk@google.com> c2hal: allow c++11 enum class and enum struct

Test: `make c2hal` and run c2hal on c2hal/test/test.h

Change-Id: I76654b37d44578027b5cb2348d02296b3af45d77
/system/tools/hidl/c2hal/c2hal_l.ll
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/c2hal_l.ll