diff options
| author | 2020-09-30 17:04:23 +0100 | |
|---|---|---|
| committer | 2020-10-01 16:48:34 +0000 | |
| commit | 9e85eeb6f821f296c7fd2819f46c8dd6fae12b0f (patch) | |
| tree | 3c8c7f9c3ef63076028d015e2e2cd9ba0b3fa3d6 /compiler/optimizing/instruction_builder.cc | |
| parent | 01aaf0f0fdaf641013d3cec24a2c9bd2186fa5a7 (diff) | |
Link all internal libraries statically into oatdump(d) on host.
Avoid all DSO dependencies except system libs, similar to dex2oat and
hiddenapi binaries, to make it work when added to
art-module-host-exports.
The stripped oatdump binary is 12 MB, oatdumpd is 15 MB.
Test: `m oatdump{,d}` and run them from out/host/linux-x86/bin
Test: readelf -d out/host/linux-x86/bin/oatdump(d)
Check that NEEDED only lists system libraries (libdl, libpthread,
libm, librt, libgcc_s, libc).
Bug: 145934348
Change-Id: Ib20ce3382435b76058b88b9085e3c0831848a489
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions