From 09298552e2c7884405456908b2c70390ca41bbb4 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 4 Sep 2019 11:49:01 -0700 Subject: [PATCH] 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 --- tools/releasetools/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/releasetools/Android.bp b/tools/releasetools/Android.bp index 3308f3d57..6dceb6b63 100644 --- a/tools/releasetools/Android.bp +++ b/tools/releasetools/Android.bp @@ -105,6 +105,7 @@ python_defaults { ], required: [ "brillo_update_payload", + "checkvintf", ], } @@ -343,6 +344,9 @@ python_binary_host { "releasetools_img_from_target_files", "releasetools_ota_from_target_files", ], + required: [ + "checkvintf", + ], } python_binary_host {