Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d65e8127 authored by Yo Chiang's avatar Yo Chiang
Browse files

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
parent bf0c1b7b
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -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 {