summaryrefslogtreecommitdiff
path: root/tools/cpp-define-generator/make_header_test.py
AgeCommit message (Collapse)Author
2021-04-13Update ART generator tools to use python3.Vladimir Marko
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
2018-10-12Cleanup the cpp-define-generator definitions.David Srbecky
Test: test-art-host-gtest-arch_test Change-Id: Ifda7a51d19156b1eb62bc39b16ec559d609744e5
2018-10-12Rewrite cpp-define-generatorDavid Srbecky
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