summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2020-09-23 00:38:38 +0100
committerMartin Stjernholm <mast@google.com>2020-09-28 10:13:56 +0000
commit35f765b9c66a9d999d35afd54c693f8636d0a7ee (patch)
tree4e51043f9d638c0d861022291ef80d126fb96e0d /compiler/optimizing/instruction_builder.cc
parenta28438ab47e8e41599fa6b2343f8a6a21efa0116 (diff)
Link all internal libraries statically into dex2oat(d) on host.
All static defaults had to change to whole_static_libs to work with the new libdex2oat(d)_static libraries, so that they don't lose all symbols in the static_libs dependency from the dex2oat(d) binaries. The static unstripped dex2oat binary is 348 MB, 35 MB smaller than the sum of the dynamic binary + DSO's. Test: art/build/apex/runtests.sh Test: runtests in device chroot Test: art/test/testrunner/run_build_test_target.py art-test Test: readelf -d out/host/linux-x86/bin/dex2oat(d) Check that NEEDED only lists system libraries (libdl, libpthread, libm, librt, libgcc_s, libc). Bug: 145934348 Change-Id: I7abcf1db9b053f71ced6a7dde38ab1b4300b7b5a
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions