summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2017-06-30 17:19:27 -0700
committer Yifan Hong <elsk@google.com> 2017-06-30 17:42:42 -0700
commit108287d739c9a5c1c640f7dfdc2b09e1751ec322 (patch)
tree56ee847a19d71516895f33200ae3fc5e43f40d40
parent20ce19cd28e0e21af2748b64a49f958e811ce5b2 (diff)
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
-rw-r--r--Android.bp6
l---------include_sensor/android/looper.h1
l---------include_sensor/android/sensor.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index cd05b21dde..8c94bd5f70 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,3 +13,9 @@ subdirs = [
"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 0000000000..0cf51b88b5
--- /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 0000000000..0626f4f171
--- /dev/null
+++ b/include_sensor/android/sensor.h
@@ -0,0 +1 @@
+../../include/android/sensor.h \ No newline at end of file