File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ typedef int int32_t[sizeof(int) == 4];
36
36
#define ABI_SECTION ".note.android.ident"
37
37
#define ABI_NOTETYPE 1
38
38
#define ABI_ANDROID_API PLATFORM_SDK_VERSION
39
+ #define ABI_NDK_VERSION "%NDK_VERSION%"
40
+ #define ABI_NDK_BUILD_NUMBER "%NDK_BUILD_NUMBER%"
41
+
42
+ #define NDK_RESERVED_SIZE 64
39
43
40
44
#define L 9999
41
45
@@ -63,10 +67,14 @@ static const struct {
63
67
int32_t type ;
64
68
char name [sizeof ABI_VENDOR ];
65
69
int32_t android_api ;
70
+ char ndk_version [NDK_RESERVED_SIZE ];
71
+ char ndk_build_number [NDK_RESERVED_SIZE ];
66
72
} abitag __attribute__ ((section (ABI_SECTION ), aligned (4 ), used )) = {
67
73
sizeof ABI_VENDOR ,
68
74
sizeof (int32_t ),
69
75
ABI_NOTETYPE ,
70
76
ABI_VENDOR ,
71
77
ABI_ANDROID_API ,
78
+ ABI_NDK_VERSION ,
79
+ ABI_NDK_BUILD_NUMBER ,
72
80
};
You can’t perform that action at this time.
0 commit comments