releasetools: Disable host module on darwin

Disable releasetools components that depend on disabled
modules on darwin host.

Bug: 162102724
Bug: 7456955
Test: TH build mac host target
Change-Id: I13335299ca0872cfa956ed756650a966f269080e
This commit is contained in:
Yo Chiang 2020-07-31 20:20:34 +08:00
parent bf0c1b7b77
commit d65e8127f1
1 changed files with 24 additions and 0 deletions

View File

@ -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 {