diff options
| author | 2019-09-30 09:36:08 -0700 | |
|---|---|---|
| committer | 2019-09-30 09:36:08 -0700 | |
| commit | 724a07eab5e78c31f76d8defb904b6aeee42537f (patch) | |
| tree | 310df7c9ca62bf773eb08692b3cd24d63c44c599 /opengl | |
| parent | bce5a0fb92a30c22b2cdea5c728379c6808f2869 (diff) | |
| parent | 636c03ef9f96a1f932dc1e9cf092d25d4541372a (diff) | |
Merge "Move to bionic platform include."
am: 636c03ef9f
Change-Id: I3c69dc9d2086e193a344a036f8f373e30ae14dfa
Diffstat (limited to 'opengl')
| -rw-r--r-- | opengl/libagl/Android.bp | 5 | ||||
| -rw-r--r-- | opengl/libagl/context.h | 2 | ||||
| -rw-r--r-- | opengl/libs/Android.bp | 4 | ||||
| -rw-r--r-- | opengl/libs/hooks.h | 2 | ||||
| -rw-r--r-- | opengl/tests/EGLTest/Android.bp | 4 |
5 files changed, 9 insertions, 8 deletions
diff --git a/opengl/libagl/Android.bp b/opengl/libagl/Android.bp index 6ec24b3712..f5bf015bad 100644 --- a/opengl/libagl/Android.bp +++ b/opengl/libagl/Android.bp @@ -25,8 +25,9 @@ cc_defaults { "libnativewindow", ], - // we need to access the private Bionic header <bionic_tls.h> - include_dirs: ["bionic/libc/private"], + header_libs: [ + "bionic_libc_platform_headers", + ], arch: { arm: { diff --git a/opengl/libagl/context.h b/opengl/libagl/context.h index 18ef7d5716..6e77a2366f 100644 --- a/opengl/libagl/context.h +++ b/opengl/libagl/context.h @@ -22,7 +22,7 @@ #include <sys/types.h> #include <pthread.h> #ifdef __ANDROID__ -#include <bionic_tls.h> +#include <bionic/tls.h> #endif #include <private/pixelflinger/ggl_context.h> diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp index 342fb5983e..eb90c8b45b 100644 --- a/opengl/libs/Android.bp +++ b/opengl/libs/Android.bp @@ -72,15 +72,13 @@ cc_defaults { "libarect", ], header_libs: [ + "bionic_libc_platform_headers", "gl_headers", "libsystem_headers", "libhardware_headers", "libnativebase_headers", ], export_header_lib_headers: ["gl_headers"], - - // we need to access the private Bionic header <bionic_tls.h> - include_dirs: ["bionic/libc/private"], } //############################################################################## diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h index 63a0e140cc..86fec21bae 100644 --- a/opengl/libs/hooks.h +++ b/opengl/libs/hooks.h @@ -46,7 +46,7 @@ #define MAX_NUMBER_OF_GL_EXTENSIONS 256 -#include <bionic_tls.h> /* special private C library header */ +#include <bionic/tls.h> /* special private C library header */ // ---------------------------------------------------------------------------- namespace android { diff --git a/opengl/tests/EGLTest/Android.bp b/opengl/tests/EGLTest/Android.bp index 19c8b377ab..8bfe517812 100644 --- a/opengl/tests/EGLTest/Android.bp +++ b/opengl/tests/EGLTest/Android.bp @@ -28,9 +28,11 @@ cc_test { ], include_dirs: [ - "bionic/libc/private", "frameworks/native/opengl/libs", "frameworks/native/opengl/libs/EGL", ], + header_libs: [ + "bionic_libc_platform_headers", + ], } |