Set apex_available property am: a1fe6b802f
Change-Id: Ia96c2a542dc6e631d0ee93776051c982393702ad
diff --git a/Android.bp b/Android.bp
index aea2a03..62b88dc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -59,6 +59,11 @@
"-Wall",
"-Werror",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
cc_genrule {
@@ -69,6 +74,11 @@
cmd: "$(location gen_syscalls.sh) $(in) $(out)",
srcs: [":libminijail_gen_syscall_obj"],
out: ["libsyscalls.c"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
cc_object {
@@ -82,6 +92,11 @@
"-Wall",
"-Werror",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
cc_genrule {
@@ -92,6 +107,11 @@
cmd: "$(location gen_constants.sh) $(in) $(out)",
srcs: [":libminijail_gen_constants_obj"],
out: ["libconstants.c"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
cc_library_static {
@@ -115,6 +135,11 @@
],
},
},
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
cc_object {
@@ -191,6 +216,11 @@
],
},
},
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.media.swcodec",
+ ],
}
// Example ASan-ified libminijail shared library for target.