Make libRS.so buildable for native bridge
Bug: http://b/153609531
Test: m libRS.native_bridge
Change-Id: I9dc5c921fde25a67efee8941041904e8fa37386f
diff --git a/Android.bp b/Android.bp
index 9fdfa9a..228bcaf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -300,6 +300,7 @@
cc_library_shared {
name: "libRS",
defaults: ["rs_defaults"],
+ native_bridge_supported: true,
srcs: [
"rsApiStubs.cpp",
"rsHidlAdaptation.cpp",
diff --git a/cpp/Android.bp b/cpp/Android.bp
index 28ed223..5f4396b 100644
--- a/cpp/Android.bp
+++ b/cpp/Android.bp
@@ -1,5 +1,6 @@
cc_library_static {
name: "libRSDispatch",
+ native_bridge_supported: true,
vendor_available: true,
srcs: ["rsDispatch.cpp"],