summaryrefslogtreecommitdiff
path: root/toolbox/generate-input.h-labels.py
AgeCommit message (Collapse)Author
2016-06-29Fix the generated getevent labels.Elliott Hughes
Some of the less-used stuff stayed behind in input.h, so we need to parse both files. Change-Id: Iff2b6e3fc4f5a6584169d12f16427b4f235da21a Test: manual inspection of the generated file.
2016-02-23Allow building with Python 3.xBernhard Rosenkränzer
Allow the scripts to run with both python 2.x and 3.x Change-Id: I911118bcf370d09bdb2fb46afa21af64257f1ffb Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2016-02-08Fix generation of event labels for getevent.Elliott Hughes
The recent uapi header update moved all the interesting constants out into another file. Track that, and add the missing makefile dependency. Bug: http://b/27073568 Change-Id: I8ac1dd1122865479f69a76cbf427d4aacdf7b790
2015-03-25$ANDROID_BUILD_TOP isn't set for continuous builds.Elliott Hughes
Instead, take advantage of the fact that we'll be run from the root of the tree. Change-Id: I5ce6d1c9ae8d478748ab90c9d3cc8e665ae5859b
2015-03-25Auto-generate the getevent labels from <linux/input.h>.Elliott Hughes
Now we only have to remember to update the kernel uapi headers, which we're pretty good at. Change-Id: If04eb8c50882fff5e5e2a5d72664f5d4c4c538b1