Make delete a little bit handier.
Enable the ability to determine remote instances created by the user
without needing to specify instance names.
Bug: 117474343
Test: acloud delete
acloud delete --all
acloud delete --instance_names ...
atest acloud_test
Change-Id: Ia76fdb134092721b7d84a2f4c731f775d48a961c
diff --git a/Android.bp b/Android.bp
index 8eadb08..843fcba 100644
--- a/Android.bp
+++ b/Android.bp
@@ -40,6 +40,7 @@
],
libs: [
"acloud_create",
+ "acloud_delete",
"acloud_public",
"acloud_internal",
"acloud_proto",
@@ -67,6 +68,7 @@
],
libs: [
"acloud_create",
+ "acloud_delete",
"acloud_internal",
"acloud_proto",
"acloud_public",
@@ -136,3 +138,11 @@
"create/*.py",
],
}
+
+python_library_host{
+ name: "acloud_delete",
+ defaults: ["acloud_default"],
+ srcs: [
+ "delete/*.py",
+ ],
+}