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

// Targets for the Audio Test Harness Common Libraries.
// These are libraries that can be used either host-side or device-side.
// LIBRARIES ==============================================================

package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

java_library {
    name: "audiotestharness-commonlib-lite",
    host_supported: true,
    srcs: [
        "src/main/java/com/android/media/audiotestharness/common/Defaults.java",
    ],
    libs: [
        "audiotestharness-commonprotolib-lite",
    ],
    java_version: "1.8",
    sdk_version: "current",
    proto: {
        type: "lite",
    },
}

java_library_host {
    name: "audiotestharness-commonlib-full",
    srcs: [
        "src/main/java/com/android/media/audiotestharness/common/Defaults.java",
    ],
    libs: [
        "audiotestharness-commonprotolib-full",
    ],
    java_version: "1.8",
    proto: {
        type: "full",
    },
}