create a python binary for update_device am: f5dd1b9006 am: a8f1476bea
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/update_engine/+/23372276
Change-Id: I2e0025773108a27fe530236b9d0f2ba23e1ff1b4
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/scripts/Android.bp b/scripts/Android.bp
index 1e854a7..e86a9f2 100644
--- a/scripts/Android.bp
+++ b/scripts/Android.bp
@@ -58,3 +58,22 @@
"update_metadata-protos-python",
],
}
+
+python_binary_host {
+ name: "update_device",
+ srcs: [
+ "update_device.py",
+ ],
+ main: "update_device.py",
+ libs: [
+ "update_payload",
+ ],
+ version: {
+ py2: {
+ enabled: false,
+ },
+ py3: {
+ enabled: true,
+ },
+ },
+}