Loading include/android/bitmap.h +15 −0 Original line number Diff line number Diff line Loading @@ -28,8 +28,23 @@ #include <stdbool.h> #include <stdint.h> #include <stddef.h> #include <jni.h> #ifndef __ANDROID__ // Value copied from 'bionic/libc/include/android/api-level.h' which is not available on // non Android systems. It is set to 10000 which is same as __ANDROID_API_FUTURE__ value. #ifndef __ANDROID_API__ #define __ANDROID_API__ 10000 #endif // Value copied from 'bionic/libc/include/android/versioning.h' which is not available on // non Android systems #ifndef __INTRODUCED_IN #define __INTRODUCED_IN(api_level) #endif #endif #ifdef __cplusplus extern "C" { #endif Loading include/android/imagedecoder.h +14 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,20 @@ #include <android/rect.h> #include <stdint.h> #ifndef __ANDROID__ // Value copied from 'bionic/libc/include/android/api-level.h' which is not available on // non Android systems. It is set to 10000 which is same as __ANDROID_API_FUTURE__ value. #ifndef __ANDROID_API__ #define __ANDROID_API__ 10000 #endif // Value copied from 'bionic/libc/include/android/versioning.h' which is not available on // non Android systems #ifndef __INTRODUCED_IN #define __INTRODUCED_IN(api_level) #endif #endif #ifdef __cplusplus extern "C" { #endif Loading libs/nativewindow/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ cc_library_headers { // TODO(b/153609531): remove when no longer needed. native_bridge_supported: true, min_sdk_version: "29", host_supported: true, } ndk_library { Loading Loading
include/android/bitmap.h +15 −0 Original line number Diff line number Diff line Loading @@ -28,8 +28,23 @@ #include <stdbool.h> #include <stdint.h> #include <stddef.h> #include <jni.h> #ifndef __ANDROID__ // Value copied from 'bionic/libc/include/android/api-level.h' which is not available on // non Android systems. It is set to 10000 which is same as __ANDROID_API_FUTURE__ value. #ifndef __ANDROID_API__ #define __ANDROID_API__ 10000 #endif // Value copied from 'bionic/libc/include/android/versioning.h' which is not available on // non Android systems #ifndef __INTRODUCED_IN #define __INTRODUCED_IN(api_level) #endif #endif #ifdef __cplusplus extern "C" { #endif Loading
include/android/imagedecoder.h +14 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,20 @@ #include <android/rect.h> #include <stdint.h> #ifndef __ANDROID__ // Value copied from 'bionic/libc/include/android/api-level.h' which is not available on // non Android systems. It is set to 10000 which is same as __ANDROID_API_FUTURE__ value. #ifndef __ANDROID_API__ #define __ANDROID_API__ 10000 #endif // Value copied from 'bionic/libc/include/android/versioning.h' which is not available on // non Android systems #ifndef __INTRODUCED_IN #define __INTRODUCED_IN(api_level) #endif #endif #ifdef __cplusplus extern "C" { #endif Loading
libs/nativewindow/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ cc_library_headers { // TODO(b/153609531): remove when no longer needed. native_bridge_supported: true, min_sdk_version: "29", host_supported: true, } ndk_library { Loading