diff options
| author | 2022-09-08 21:49:51 +0000 | |
|---|---|---|
| committer | 2022-09-08 21:49:51 +0000 | |
| commit | 4a5e3f2b1b4641be1a14faed7a7ad05a59aa5e7d (patch) | |
| tree | 21c9a390b8ffb951acfe5dfee7c4c42f78c7e2ee | |
| parent | 0bddf15fafc3d27a935c0bbf3aa099c6ab6060fc (diff) | |
Declare the headers of the ndk_library
This creates a dependency edge between the ndk_library and its headers,
which should be a no-op in regular Soong builds. This dependency edge
will be used in the Multi-tree project to export the relevant .h files into a well
known location
Formatting changes are from bpfmt
Test: m nothing
Bug: 239044713
Change-Id: I432c361195c0d6adb0584b91ab006fb36d45d894
| -rw-r--r-- | opengl/libs/Android.bp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp index c1e935aab0..f664f2f3a6 100644 --- a/opengl/libs/Android.bp +++ b/opengl/libs/Android.bp @@ -12,7 +12,10 @@ cc_library { name: "libETC1", srcs: ["ETC1/etc1.cpp"], host_supported: true, - cflags: ["-Wall", "-Werror"], + cflags: [ + "-Wall", + "-Werror", + ], target: { android: { @@ -37,6 +40,9 @@ ndk_library { symbol_file: "libEGL.map.txt", first_version: "9", unversioned_until: "current", + export_header_libs: [ + "libEGL_headers", + ], } ndk_library { @@ -44,6 +50,9 @@ ndk_library { symbol_file: "libGLESv1_CM.map.txt", first_version: "9", unversioned_until: "current", + export_header_libs: [ + "libGLESv1_CM_headers", + ], } ndk_library { @@ -51,6 +60,9 @@ ndk_library { symbol_file: "libGLESv2.map.txt", first_version: "9", unversioned_until: "current", + export_header_libs: [ + "libGLESv2_headers", + ], } ndk_library { @@ -58,6 +70,9 @@ ndk_library { symbol_file: "libGLESv3.map.txt", first_version: "18", unversioned_until: "current", + export_header_libs: [ + "libGLESv3_headers", + ], } cc_defaults { |