commit | 0adf4d80ca1c673e5f7c5249faabadccdc1ddbbd | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Mon Oct 01 18:17:45 2018 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Fri Oct 12 03:22:29 2018 +0100 |
tree | 0c4f88f1fa6ab56fd1b24426c75f17836a6bd81d | |
parent | 78940f2254354373c6b311c759c43f51d3ad77f1 [diff] |
Rewrite cpp-define-generator 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