Pass min_sdk_version to cc __ANDROID_SDK_VERSION__
The macro is required only for apex variants regardless of useVndk. Before the enforcement of LLNDK sdk version, the macro was not passed to vendor variants. Bug: 151689896 Test: TARGET_BUILD_APPS=com.android.media.swcodec m libbase in swcodec apex is linked with liblog#29 (compiled with __ANDROID_SDK_VERSIO__=29) Merged-In: I57fa4afe027eb39b98bd94d534be9ebe11713f19 Change-Id: I57fa4afe027eb39b98bd94d534be9ebe11713f19 (cherry picked from commit 24282778) Exempt-From-Owner-Approval: cp from aosp
Loading
Please register or sign in to comment