Whitelist libcore to build against libicuuc and libicui18n directly

JNI code for core-libart (libjavacore) and core-oj (libopenjdk) are
in the runtime APEX. We want them to use libicuuc and libicui18n
contained within the runtime APEX, rather than calling ICU4C via
the limited subset shim library that the APEX provides to
platform components outside of the APEX.

Whitelist the libs by adding -DANDROID_LINK_SHARED_ICU4C.
Without it, external/icu/android_icu4c/include/uconfig_local.h
would prevent compilation.

Bug: 117094880
Test: m checkbuild
Change-Id: Ie1aaa0be3710a9a39bc20b630171b3c1915fc770
1 file changed