Add libandroid_sensor_headers
This is a subset of NDK headers for vendor modules to use.
It only includes headers for sensors.
Test: m libsensorndkbridge -j
Test: BOARD_VNDK_VERSION=current m libsensorndkbridge.vendor -j
Bug: 33241851
Change-Id: Ia5ab876441f2f7d437a516aa97961b7a3540048d
diff --git a/Android.bp b/Android.bp
index cd05b21..8c94bd5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,3 +13,9 @@
"services/*",
"vulkan",
]
+
+cc_library_headers {
+ name: "libandroid_sensor_headers",
+ vendor: true,
+ export_include_dirs: ["include_sensor"],
+}
diff --git a/include_sensor/android/looper.h b/include_sensor/android/looper.h
new file mode 120000
index 0000000..0cf51b8
--- /dev/null
+++ b/include_sensor/android/looper.h
@@ -0,0 +1 @@
+../../include/android/looper.h
\ No newline at end of file
diff --git a/include_sensor/android/sensor.h b/include_sensor/android/sensor.h
new file mode 120000
index 0000000..0626f4f
--- /dev/null
+++ b/include_sensor/android/sensor.h
@@ -0,0 +1 @@
+../../include/android/sensor.h
\ No newline at end of file