From 096c5159760b99775c7866e10324df167198b755 Mon Sep 17 00:00:00 2001 From: Yo Chiang Date: Fri, 7 Aug 2020 04:22:18 +0000 Subject: [PATCH] Revert^2 "releasetools: Disable host module on darwin" 0ac3666667de42bd681586d642b52fc9e62e488f Exempt-From-Owner-Approval: Original change was approved Change-Id: I4030dbc072a90f9b8704926c0956787c75bc5583 --- tools/releasetools/Android.bp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tools/releasetools/Android.bp b/tools/releasetools/Android.bp index 11f92abb17..d26678d56e 100644 --- a/tools/releasetools/Android.bp +++ b/tools/releasetools/Android.bp @@ -104,6 +104,12 @@ python_defaults { "brillo_update_payload", "checkvintf", ], + target: { + darwin: { + // required module "brillo_update_payload" is disabled on darwin + enabled: false, + }, + }, } // @@ -297,6 +303,12 @@ python_binary_host { required: [ "delta_generator", ], + target: { + darwin: { + // required module "delta_generator" is disabled on darwin + enabled: false, + }, + }, } python_binary_host { @@ -369,6 +381,12 @@ python_binary_host { required: [ "checkvintf", ], + target: { + darwin: { + // libs dep "releasetools_ota_from_target_files" is disabled on darwin + enabled: false, + }, + }, } python_binary_host { @@ -466,6 +484,12 @@ python_defaults { data: [ "testdata/**/*", ], + target: { + darwin: { + // libs dep "releasetools_ota_from_target_files" is disabled on darwin + enabled: false, + }, + }, } python_test_host {