//
// Copyright (C) 2018 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

python_binary_host {
    name: "generate_operator_out",
    srcs: [
        "generate_operator_out.py",
    ],
    version: {
        py2: {
            enabled: true,
        },
        py3: {
            enabled: false,
        },
    },
}

// Copy the art shell script to the host and target's bin directory
sh_binary {
    name: "art-script",
    host_supported: true,
    src: "art",
    filename_from_src: true,
    target: {
        host: {
            // On device we require the ART APEX, but its Soong module name may
            // be different depending on branch, and it's always present anyway,
            // so we leave it out.
            required: [
                "dalvikvm",
                "dex2oat",
            ],
        },
        darwin: {
            enabled: false,
        },
    },
}

sh_binary {
    name: "dex2oat-script",
    host_supported: true,
    src: "dex2oat_wrapper",
    filename_from_src: true,
    target: {
        host: {
            // On device we require the ART APEX, but its Soong module name may
            // be different depending on branch, and it's always present anyway,
            // so we leave it out.
            required: [
                "dex2oat",
            ],
        },
        darwin: {
            enabled: false,
        },
    },
}

sh_binary {
    name: "compile_bcp.sh",
    host_supported: false,
    src: "compile_bcp.sh",
}

python_binary_host {
    name: "art-run-test-checker",
    srcs: [
        "checker/**/*.py",
    ],
    main: "checker/checker.py",
    version: {
        py2: {
            enabled: false,
        },
        py3: {
            enabled: true,
        },
    },
    test_suites: [
        "general-tests",
        "mts",
    ],
}
