diff options
author | Christopher Ferris <cferris@google.com> | 2019-09-11 19:05:29 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2019-09-16 12:27:33 -0700 |
commit | 2b0638ef29bb305f8a37c16c706fb0ee80a994c0 (patch) | |
tree | bea668f7605903876618505b7aec795da94ea4ae /libc/malloc_hooks | |
parent | 1ffee0cfc1e3a7fddf4cbe633694be91e72265a1 (diff) |
Make bionic_malloc.h a platform header.
Instead of having platform directories directly include the
private header, create a platform header directory and export it.
Bug: 130763340
Test: Builds.
Change-Id: Ie0f092b3fe077a3de8b90266c0b28bfbc20d0dfa
Merged-In: Ie0f092b3fe077a3de8b90266c0b28bfbc20d0dfa
(cherry picked from commit 8f582ef2f8a77d953d0e9f33387f592d20f852e2)
Diffstat (limited to 'libc/malloc_hooks')
-rw-r--r-- | libc/malloc_hooks/Android.bp | 8 | ||||
-rw-r--r-- | libc/malloc_hooks/tests/malloc_hooks_tests.cpp | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libc/malloc_hooks/Android.bp b/libc/malloc_hooks/Android.bp index d119f896d..a0f81021f 100644 --- a/libc/malloc_hooks/Android.bp +++ b/libc/malloc_hooks/Android.bp @@ -49,7 +49,13 @@ cc_test { shared_libs: ["libbase"], local_include_dirs: ["tests"], - include_dirs: ["bionic/libc", "bionic"], + include_dirs: [ + "bionic/libc", + "bionic" + ], + header_libs: [ + "bionic_libc_platform_headers", + ], cflags: [ "-Wall", diff --git a/libc/malloc_hooks/tests/malloc_hooks_tests.cpp b/libc/malloc_hooks/tests/malloc_hooks_tests.cpp index 86e20ea90..18587819a 100644 --- a/libc/malloc_hooks/tests/malloc_hooks_tests.cpp +++ b/libc/malloc_hooks/tests/malloc_hooks_tests.cpp @@ -38,7 +38,7 @@ #include <gtest/gtest.h> -#include <private/bionic_malloc.h> +#include <bionic/malloc.h> #include <private/bionic_malloc_dispatch.h> #include <tests/utils.h> |