Create symlink as a side effect

Symlinks aren't supported directly in the build graph and thus they must
be side effects of some other action. The symlinks in the symbols
directory is now created as a side effect of building
out/target/product/<product>/obj/FAKE/com.android.runtime_intermediates/symlink.timestamp
file.

For more details, please refer to
https://android-review.googlesource.com/c/platform/art/+/930848/5/Android.mk#392

Bug: 120846816
Test: m dist with marlin (flattened) and blueline (non-flattened)
examine symbols.zip file and check that unstripped shared libraries are
found under /apex/com.android.runtime directory

Change-Id: I408eea6b91d4daf5e873c479fe5f0a2faf8a859e
1 file changed