summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-09-28 00:30:46 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-09-28 00:30:46 +0000
commitee56ce65be55f0c0a8cf6a124efaaec9f9d45ff4 (patch)
tree37720bde6616d026094b662fccb63f7f3ffa3009
parent2167e10a981cb04a2ae69fa837a8aa777718b5f9 (diff)
parent4a5e3f2b1b4641be1a14faed7a7ad05a59aa5e7d (diff)
Merge "Declare the headers of the ndk_library"
-rw-r--r--opengl/libs/Android.bp17
1 files changed, 16 insertions, 1 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index 2237d2d123..62cf2555ca 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 {