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

// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
//     CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
//     DEPENDING ON IT IN YOUR PROJECT. ***
package {
    default_applicable_licenses: ["external_google-fonts_open-sans_license"],
}

// Added automatically by a large-scale-change that took the approach of
// 'apply every license found to every target'. While this makes sure we respect
// every license restriction, it may not be entirely correct.
//
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
//
// Please consider splitting the single license below into multiple licenses,
// taking care not to lose any license_kind information, and overriding the
// default license using the 'licenses: [...]' property on targets as needed.
//
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
// to attach the license to, and including a comment whether the files may be
// used in the current project.
// See: http://go/android-license-faq
license {
    name: "external_google-fonts_open-sans_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-MIT",
        "SPDX-license-identifier-OFL", // by exception only
        "legacy_by_exception_only", // by exception only
    ],
    license_text: [
        "LICENSE",
    ],
}

prebuilt_font {
    name: "OpenSans-Regular.ttf",
    src: "OpenSans-Regular.ttf",
    product_specific: true,
}

prebuilt_font {
    name: "OpenSans-Italic.ttf",
    src: "OpenSans-Italic.ttf",
    product_specific: true,
}

prebuilt_font {
    name: "OpenSans-Medium.ttf",
    src: "OpenSans-Medium.ttf",
    product_specific: true,
}

prebuilt_font {
    name: "OpenSans-MediumItalic.ttf",
    src: "OpenSans-MediumItalic.ttf",
    product_specific: true,
}

prebuilt_font {
    name: "OpenSans-Bold.ttf",
    src: "OpenSans-Bold.ttf",
    product_specific: true,
}

prebuilt_font {
    name: "OpenSans-BoldItalic.ttf",
    src: "OpenSans-BoldItalic.ttf",
    product_specific: true,
}
