summaryrefslogtreecommitdiff
path: root/tools/cpp-define-generator/make_header_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Update ART generator tools to use python3.Vladimir Marko2021-04-131-1/+1
| | | | | | Test: buildbot-build.sh --target Test: m cpp-define-generator-test && out/host/linux-x86/testcases/cpp-define-generator-test/cpp-define-generator-test Change-Id: I73018df1e531c37d21397c2ffa35238e3df76d65
* Cleanup the cpp-define-generator definitions.David Srbecky2018-10-121-4/+0
| | | | | Test: test-art-host-gtest-arch_test Change-Id: Ifda7a51d19156b1eb62bc39b16ec559d609744e5
* Rewrite cpp-define-generatorDavid Srbecky2018-10-121-0/+53
The new method works by generating temporary per-architecture human-readable object file with the constants embedded in it. Python script extracts those values and generates the header. This means the values can now implicitly depend on pointer size, compile time flags, or ABI specific object layout with no hacks. Test: test-art-host-gtest-arch_test Change-Id: Id6e8c77c01f9d6c49cd6d40e3487b56fa4777349