platform_system_core/libvendorsupport
Justin Yun f8292344cd Define macros for LLNDK versioning
__INTRODUCED_IN_LLNDK(vendor_api_level) is for the LLNDK APIs
introduced in the vendor_api_level. It is ignored for non-vendor
modules.

API_LEVEL_AT_LEAST(sdk_api_level, vendor_api_level) is used as a
statement for 'if' to guard the API callers. For example:

if API_LEVEL_AT_LEAST(__ANDROID_API_V__, 202404) {
  new_api_for_V_and_202404();
} else {
  fallback_function();
}

Bug: 302113279
Test: build trunk-staging and next configurations
Change-Id: I60d40655b1f8afdfa5c69b2ac4be2205f8057bea
2024-03-11 20:24:07 +09:00
..
include/vendorsupport Rename functions in libvendorsupport 2024-02-16 23:53:04 +09:00
include_llndk/android Define macros for LLNDK versioning 2024-03-11 20:24:07 +09:00
tests Rename functions in libvendorsupport 2024-02-16 23:53:04 +09:00
Android.bp Make libvendorsupport_llndk_headers available to APEXes 2024-02-27 18:46:58 +09:00
libvendorsupport.map.txt Rename functions in libvendorsupport 2024-02-16 23:53:04 +09:00
OWNERS Provide a new LLNDK for the vendor api level handling 2024-01-05 22:56:09 +09:00
TEST_MAPPING Provide a new LLNDK for the vendor api level handling 2024-01-05 22:56:09 +09:00
version_props.c Rename functions in libvendorsupport 2024-02-16 23:53:04 +09:00