2b38e8935dcd6bf91cbd20fdee532c2e3adc46b3 |
|
12-Oct-2016 |
Diego Wilson <diegowilson@google.com> |
Remove hw_device_t struct from c2hal output hw_device_t was required member of all conventional HAL structs. This is no longer needed in HIDL so it shall be removed by default. Test: "make c2hal_test" and verify output Change-Id: Iab67b329fc747b24dc3b727da8328b123a96f5cd
/system/tools/hidl/c2hal/Type.h
|
05ebcf56647d3858f44c809811bdc3753e030176 |
|
19-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: recognized unsigned integer types. Bug: 31591909 Test: build c2hal, convert test.h, verify output, ensure c2hal still runs on all libhardware, opengl, and test headers. Change-Id: I911eea6ad829d1206c4a2d50b26c2a98cf54ccb4
/system/tools/hidl/c2hal/Type.h
|
ce65189eb8825c7239438e9ff1abb08f65f15bd0 |
|
19-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: respect arrays of dimensions higher than one. Test: build c2hal, verify output of test.h, verify c2hal works on all libhardware and opengl headers still. Change-Id: I42bf77ff09a8b2ff0883b0bf5aa019b5b4a31f04
/system/tools/hidl/c2hal/Type.h
|
698da76eb084476c96c35ad1e6c72cc2bed1d475 |
|
02-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: Updated array location in Type::decorateName Bug: 31268417 Change-Id: Ie06342fbb0ad01ca4e6b31133a692bab1bc638d6
/system/tools/hidl/c2hal/Type.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/Type.h
|