releasetools: add dep to checkvintf
'required' only works on python_binary_host.
Test: modify checkvintf source code, build ota_from_target_files
Change-Id: Ieac68b39b1ccabae679a1679f184cb3aeaaeefb6
diff --git a/tools/releasetools/Android.bp b/tools/releasetools/Android.bp
index 3308f3d..6dceb6b 100644
--- a/tools/releasetools/Android.bp
+++ b/tools/releasetools/Android.bp
@@ -105,6 +105,7 @@
],
required: [
"brillo_update_payload",
+ "checkvintf",
],
}
@@ -343,6 +344,9 @@
"releasetools_img_from_target_files",
"releasetools_ota_from_target_files",
],
+ required: [
+ "checkvintf",
+ ],
}
python_binary_host {