diff options
author | 2023-04-11 15:32:54 +0000 | |
---|---|---|
committer | 2023-06-12 12:48:49 +0000 | |
commit | 66244e2af2e9ee54b57022eeeabb7230109a98fa (patch) | |
tree | 00ce5bb0103fcf9715173871278b4ba1ba213b1f /compiler/optimizing/code_generator.cc | |
parent | 8d09eb27e2fc343f42ecf39f50e57523a32dbb73 (diff) |
Static link gtests with ART libraries
Add new build targets `libart-for-test` and `libart-compiler-for-test`,
because building tests with LTO takes too much RAM and there is no way to
override LTO enabled in libart(-compiler). See: b/277207452
Add new *-for-test_static_defaults which use libart(-compiler)-for-test.
After this change, gtests will have access to all libart(-compiler)
symbols, which will allow merging libart and libart-compiler together
and further reducing the amount of public symbols.
Bug: 261703065
Bug: 247108425
Test: atest art_standalone_*_tests
Test: m aapt mts && mts-tradefed run commandAndExit mts-art-shard-03
Test: m test-art-host-gtest
Test: m art-check-testing-apex-gen
Change-Id: Ide03609e78af5441b6822e5640925e812bec4e11
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions