cxx: update libcxxbridge version number & make apex availible
update 03 to 05
bluetooth can be compiled in an apex, so we need to tell the build
system that is ok
Bug: 171749953
Test: compile libbluetooth, verify BT starts up on device
Change-Id: Ib679fdd3fd1aed81245bd3847023e097a1e6802a
diff --git a/Android.bp b/Android.bp
index 985b8e2..2cabd8d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11,7 +11,7 @@
"libcxxbridge_macro",
],
static_libs: [
- "libcxxbridge03",
+ "libcxxbridge05",
],
shared_libs: ["libc++"],
host_supported: true,
@@ -19,9 +19,13 @@
cc_library_static {
host_supported: true,
- name: "libcxxbridge03",
+ name: "libcxxbridge05",
cflags: ["-DRUST_CXX_NO_EXCEPTIONS"],
- srcs: ["src/cxx.cc"]
+ srcs: ["src/cxx.cc"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.bluetooth.updatable",
+ ],
}
cc_library_static {