commit | 199fbe5594fc4f5c0caa215af555973238865887 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Fri Sep 09 15:32:19 2016 -0700 |
committer | Dan Albert <danalbert@google.com> | Fri Sep 09 15:37:54 2016 -0700 |
tree | a8c40dbdb075917d5ec6b023a66b8bd7771a3a06 | |
parent | 30a6a8830f6bec346de3e9ad046c8576283e36d8 [diff] |
Get libgtest from libart-gtest. We can't link libgtest into both the tests and libart-gtest because gtest has global data that causes ODR issues. Instead, link libgtest *whole* into libart-gtest to be sure that we actually have enough to gtest. Headers from LOCAL_WHOLE_STATIC_LIBRARIES are re-exported automatically, which solves the initial problem I was here for. Test: mma test-art-host-gtest Bug: None Change-Id: Icb985e070d8afb3e614b4e94714c61bc95e4e7fc