// 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.
//
//

package {
    default_applicable_licenses: ["external_grpc-grpc-java_license"],
}

// Added automatically by a large-scale-change
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// See: http://go/android-license-faq
license {
    name: "external_grpc-grpc-java_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "LICENSE",
        "NOTICE.txt",
    ],
}

java_defaults {
    name: "grpc-java-default-visibility",
    visibility: [
        "//external/grpc-grpc-java:__subpackages__",
        "//external/sdk-platform-java:__subpackages__",
        "//tools/apksig",
    ],
}

java_library_host {
    name: "grpc-java",
    static_libs: [
        "grpc-java-auth",
        "grpc-java-context",
        "grpc-java-core",
        "grpc-java-core-inprocess",
        "grpc-java-core-internal",
        "grpc-java-core-util",
        "grpc-java-protobuf",
        "grpc-java-protobuf-lite",
        "grpc-java-reflection",
        "grpc-java-stub",
    ],
    target: {
        windows: {
            enabled: true,
        },
    },
}

java_library {
    name: "grpc-java-lite",
    static_libs: [
        "grpc-java-api",
        "grpc-java-context",
        "grpc-java-core",
        "grpc-java-core-inprocess",
        "grpc-java-core-internal",
        "grpc-java-core-util",
        "grpc-java-protobuf-lite",
        "grpc-java-stub",
    ],
}

java_library {
    name: "grpc-java-okhttp-client-lite",
    host_supported: true,
    static_libs: [
        "grpc-java-stub",
        "grpc-java-context",
        "grpc-java-core",
        "grpc-java-core-internal",
        "grpc-java-core-util",
        "grpc-java-protobuf-lite",
        "grpc-java-okhttp",
    ],
    sdk_version: "current",
    min_sdk_version: "30",
    apex_available: [
        "com.android.adservices",
        "com.android.devicelock",
        "com.android.extservices",
    ],
}

java_library {
    name: "grpc-java-core-android",
    srcs: [
        "android/src/main/java/io/grpc/android/*.java",
    ],
    libs: [
        "error_prone_annotations",
        "grpc-java-annotation-stubs",
        "grpc-java-core",
        "grpc-java-core-internal",
        "jsr305",
        "guava",
    ],
    sdk_version: "current",
    min_sdk_version: "30",
    apex_available: [
        "//apex_available:platform",
        "com.android.adservices",
        "com.android.devicelock",
        "com.android.extservices",
    ],
}
