commit | ab66edc0910f370c685b33d1adbeb38d8acf587c | [log] [tgz] |
---|---|---|
author | Justin Yun <justinyun@google.com> | Tue Nov 28 16:54:21 2017 +0900 |
committer | Justin Yun <justinyun@google.com> | Wed Dec 13 08:38:58 2017 +0900 |
tree | ff16ce84d75fa8db7f65c404794c92b76e99414a | |
parent | f02c8b410ab8d83907cfa88a49085c8ac63f88a3 [diff] |
Do not export private headers with llndk library A header file in private directory are not supposed to export with llndk library. To avoid this, move the private directory to a new include-private directory and export it for framework-only library. Bug: 69235725 Test: build and boot any device. Change-Id: I9f020411350cf5b5f1db01ef9add76d8c3b2c395
diff --git a/libs/nativewindow/Android.bp b/libs/nativewindow/Android.bp index 64eb110..aa116bf 100644 --- a/libs/nativewindow/Android.bp +++ b/libs/nativewindow/Android.bp
@@ -30,7 +30,10 @@ cc_library { name: "libnativewindow", - export_include_dirs: ["include"], + export_include_dirs: [ + "include", + "include-private", + ], clang: true,
diff --git a/libs/nativewindow/include/private/android/AHardwareBufferHelpers.h b/libs/nativewindow/include-private/private/android/AHardwareBufferHelpers.h similarity index 100% rename from libs/nativewindow/include/private/android/AHardwareBufferHelpers.h rename to libs/nativewindow/include-private/private/android/AHardwareBufferHelpers.h