// Copyright (C) 2019 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.

package {
    default_visibility: [":__subpackages__"],
}

apex {
    name: "com.android.sdkext",
    manifest: "manifest.json",
    binaries: [ "derive_sdk" ],
    java_libs: [ "framework-sdkext" ],
    prebuilts: [
      "com.android.sdkext.ldconfig",
      "cur_sdkinfo",
      "derive_sdk.rc",
    ],
    key: "com.android.sdkext.key",
    certificate: ":com.android.sdkext.certificate",
}

sdk {
    name: "sdkext-sdk",
    java_libs: [ "framework-sdkext-stubs-systemapi" ],
}

apex_key {
    name: "com.android.sdkext.key",
    public_key: "com.android.sdkext.avbpubkey",
    private_key: "com.android.sdkext.pem",
}

android_app_certificate {
    name: "com.android.sdkext.certificate",
    certificate: "com.android.sdkext",
}

prebuilt_etc {
    name: "com.android.sdkext.ldconfig",
    src: "ld.config.txt",
    filename: "ld.config.txt",
    installable: false,
}

python_binary_host {
    name: "gen_sdkinfo",
    srcs: [
        "sdk.proto",
        "gen_sdkinfo.py",
    ],
    proto: {
        canonical_path_from_root: false,
    },
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

gensrcs {
    name: "cur_sdkinfo_src",
    srcs: [""],
    tools: [ "gen_sdkinfo" ],
    cmd: "$(location) -v 0 -o $(out)",
}

prebuilt_etc {
    name: "cur_sdkinfo",
    src: ":cur_sdkinfo_src",
    filename: "sdkinfo.binarypb",
    installable: false,
}
