Revert^2 "Link lzma and lz4 compression libs statically into libartbase and use that"

This reverts commit 9960cbc0ff98978a9b32f14ae77d8ddb3c6908d9.

Reason for revert: This is the same as aosp/815019 except version_script is
excluded on Darwin. I think it should pass the mac targets, but haven't
tested.

Test: art/tools/buildbot-build.sh {--host,--target}
Test: art/test/testrunner/run_build_test_target.py art-asan (not on Darwin)
Test: python frameworks/rs/build_rs.py (on Darwin, thanks Orion!)
Bug: 118374951
Change-Id: I7a362381f6d891c6dc1304e5fcf6f8851aa67d7c
diff --git a/libartbase/libartbase.map b/libartbase/libartbase.map
new file mode 100644
index 0000000..6249930
--- /dev/null
+++ b/libartbase/libartbase.map
@@ -0,0 +1,15 @@
+# This is used only to hide data symbols that get imported through
+# whole_static_libs, or else they might trigger the ASan odr-violation check.
+# Before adding symbols here, please make sure that it doesn't give rise to a
+# real ODR problem. All these symbols are either in .rodata or .data.rel.ro
+# sections.
+LIBARTBASE {
+  local:
+    PPMD7_kExpEscape;
+    XZ_SIG;
+    g_AlignedAlloc;
+    g_Alloc;
+    g_BigAlloc;
+    g_MidAlloc;
+    k7zSignature;
+};