summaryrefslogtreecommitdiffstats
path: root/update_verifier/Android.bp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-14 01:41:30 +0200
committerTianjie Xu <xunchang@google.com>2018-08-17 00:09:32 +0200
commit7e520d24fe3a4e97ee900c455a2a4d06a1492287 (patch)
tree4a17e88171193ccdfea5eb73e620e28c743e971a /update_verifier/Android.bp
parentMerge "Further compress the recovery animation file" (diff)
downloadandroid_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.tar
android_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.tar.gz
android_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.tar.bz2
android_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.tar.lz
android_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.tar.xz
android_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.tar.zst
android_bootable_recovery-7e520d24fe3a4e97ee900c455a2a4d06a1492287.zip
Diffstat (limited to 'update_verifier/Android.bp')
-rw-r--r--update_verifier/Android.bp31
1 files changed, 30 insertions, 1 deletions
diff --git a/update_verifier/Android.bp b/update_verifier/Android.bp
index f4dc1f498..7a860a149 100644
--- a/update_verifier/Android.bp
+++ b/update_verifier/Android.bp
@@ -54,7 +54,7 @@ cc_library_static {
proto: {
type: "lite",
export_proto_headers: true,
- }
+ },
}
cc_binary {
@@ -88,3 +88,32 @@ cc_binary {
"update_verifier.rc",
],
}
+
+python_binary_host {
+ name: "care_map_generator",
+
+ srcs: [
+ "care_map_generator.py",
+ "care_map.proto",
+ ],
+ libs: [
+ "python-symbol",
+ // Soong won't add "libprotobuf-python" to the dependencies if
+ // filegroup contains .proto files. So add it here explicitly.
+ "libprotobuf-python",
+ ],
+ proto: {
+ canonical_path_from_root: false,
+ },
+
+ version: {
+ py2: {
+ enabled: true,
+ embedded_launcher: true,
+ },
+ py3: {
+ enabled: false,
+ embedded_launcher: false,
+ },
+ },
+}