Use libdexfile_support_static only for the simpleperf NDK binary.

It contains the full ART dex support which is part of the ART APEX and
hence shouldn't go into the system image when ART is updatable.

For some libraries that are only used for testing or on host this
matters less, but for the sake of simplicity we limit the use of
libdexfile_support_static as much as possible.

Test: Build and boot
Test: mmm system/extras/simpleperf/
Test: atest simpleperf_unit_test
Bug: 142944931
Bug: 151466650
Change-Id: Iae9b57aded398e6f3b56329e3e056f7bfd8ed0b5
1 file changed