diff options
author | Martin Stjernholm <mast@google.com> | 2020-09-04 00:49:44 +0100 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2020-09-07 14:59:33 +0000 |
commit | b309240781b17ee994d088648d5fc76814dde436 (patch) | |
tree | a62c1d3a10063d1b0b4b11b5f128a5f03398fa59 /compiler/optimizing/instruction_builder.cc | |
parent | fa37ba22d1e996ad785f94819be286abfae2aae5 (diff) |
Fix libnativeloader unit tests being skipped.
ART_TARGET_ANDROID was only defined in art_defaults, which wasn't
imported into libnativeloader_test. However doing that imports a lot of
stuff, including compiler pickiness that doesn't work with cxxabi.h
included via gtest.h. We instead make ART_TARGET_(ANDROID|LINUX)
implicitly defined in all art_cc_* module types.
These tests have probably not run since https://r.android.com/1295365.
Also fixed the accumulated bitrot.
Test: atest libnativeloader_test, check that 25 tests pass.
Test: Plant a test failure in native_loader_test.cpp, check that
presubmit fails.
Bug: 154074847
Bug: 137356719
Change-Id: I4e9d4dc8d78c91a7b750b8de0ab7db2114b154ac
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions