//
// 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: {
        android: {
            required: [
                "com.android.art.release",
            ],
        },
        host: {
            required: [
                "dalvikvm",
                "dex2oat",
            ],
        },
        darwin: {
            enabled: false,
        },
    },
}

sh_binary {
    name: "dex2oat-script",
    host_supported: true,
    src: "dex2oat_wrapper",
    filename_from_src: true,
    target: {
        android: {
            required: [
                "com.android.art.release",
            ],
        },
        host: {
            required: [
                "dex2oat",
            ],
        },
        darwin: {
            enabled: false,
        },
    },
}

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