diff options
author | 2024-08-05 23:53:18 +0000 | |
---|---|---|
committer | 2024-08-06 00:11:10 +0000 | |
commit | 25ac318e203705c7a7a96d25cbf20803fd478cf7 (patch) | |
tree | 03701f48ece787235c69a0553eee215e35d93458 /opengl/Android.bp | |
parent | e1c075b7e498370f0a4af6802b6e39ff1c48cb9b (diff) |
Skip C-verification of GL headers.
C-compatibility can't be verified for modules with headers that aren't
self-contained. The *ext.h headers in GL aren't self-contained, so
disable it here.
Bug: http://b/113359184
Test: m ndk
Change-Id: Ib88da62338f5de3f1ee8ad2afbda5b188ed06d2c
Diffstat (limited to 'opengl/Android.bp')
-rw-r--r-- | opengl/Android.bp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/opengl/Android.bp b/opengl/Android.bp index 4454f36b67..37dc9314e2 100644 --- a/opengl/Android.bp +++ b/opengl/Android.bp @@ -30,6 +30,10 @@ ndk_headers { to: "", srcs: ["include/EGL/**/*.h"], license: "include/EGL/NOTICE", + // eglext.h is not self-contained. Safe to skip C-compat verification + // though since upstream also cares about C compatibility, and the header is + // auto-generated anyway. + skip_verification: true, } ndk_headers { @@ -38,6 +42,10 @@ ndk_headers { to: "", srcs: ["include/GLES/**/*.h"], license: "include/GLES/NOTICE", + // glext.h is not self-contained. Safe to skip C-compat verification + // though since upstream also cares about C compatibility, and the header is + // auto-generated anyway. + skip_verification: true, } ndk_headers { @@ -46,6 +54,10 @@ ndk_headers { to: "", srcs: ["include/GLES2/**/*.h"], license: "include/GLES2/NOTICE", + // gl2ext.h is not self-contained. Safe to skip C-compat verification + // though since upstream also cares about C compatibility, and the header is + // auto-generated anyway. + skip_verification: true, } ndk_headers { |