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_y.yy
|
7c0a90a2b7050cf9f92c72fe62f757201ad8f41e |
|
30-Sep-2016 |
Yifan Hong <elsk@google.com> |
c2hal: remove some std::reverse. Test: `make c2hal` and examine the result for c2hal/test/test.h Change-Id: I1a54c112ad63229df21d548f87bd92c7b6777b9c
/system/tools/hidl/c2hal/c2hal_y.yy
|
b33b5ee164d891adc9d2b69390b7220cc6bdcc0a |
|
29-Sep-2016 |
Yifan Hong <elsk@google.com> |
c2hal: replace UNKOWN with UNKNOWN Test: `mma` Change-Id: Icf6be62b2ce6984def5679755088c18d5dc4c35a
/system/tools/hidl/c2hal/c2hal_y.yy
|
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/c2hal_y.yy
|
643e509e612153a64004ee35b8cc7857428482f1 |
|
30-Sep-2016 |
Yifan Hong <elsk@google.com> |
c2hal: fix array sizes got reversed. Test: `make c2hal` and examine the result for c2hal/test/test.h Change-Id: I4587889b7ee0dc993031f6a99c13b643f098b381
/system/tools/hidl/c2hal/c2hal_y.yy
|
039bf8586d2025c46be840897c0dcf9470745e4f |
|
26-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: error on reduce/reduce conflict. Also error on additional shift/reduce conflicts. Test: make c2hal Bug: 31751690 Bug: 31617732 Change-Id: I286cd33d11d2ddcd415342c0102a36362b9767b0
/system/tools/hidl/c2hal/c2hal_y.yy
|
2fd6086efc3ba30310e6938c4d81ccd70da24ac9 |
|
20-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: Removed ambiguity from enum/macro commit. Test: build c2hal, run c2hal on test/hardware/telephony/opengl headers, verify output on test headers. Change-Id: Ic6128ef1be41d09b9ea8f1b32f4072ee794cf0b1
/system/tools/hidl/c2hal/c2hal_y.yy
|
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/c2hal_y.yy
|
c38c858f349efd50c5a254df54fd19bf4716a217 |
|
20-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: allow people to weave macros w/ enums. This was a problem with parsing the telephony 'hal' hardware/ril/include/telephony/ril.h Test: build c2hal, run c2hal on libhardware/ril/test/opengl headers, verify output of ril and test .hal files. Change-Id: I2316c139bbd12280b7d00202f06666463a046ad0
/system/tools/hidl/c2hal/c2hal_y.yy
|
3cae52cb0ab70f0aa7276d511dc9c405085d7d53 |
|
12-Sep-2016 |
Steven Moreland <smoreland@google.com> |
c2hal: LOCAL_IS_HOST_MODULE := true Change-Id: I9cd16529552bcb0b92161685261dc97be402ec41
/system/tools/hidl/c2hal/c2hal_y.yy
|
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_y.yy
|