Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2908dfdf authored by Bob Badour's avatar Bob Badour Committed by Automerger Merge Worker
Browse files

[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base am: 8a6a2bce

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13614946

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic102387540404bbc5fe2cdde811d4fdc504fedf9
parents 19062892 8a6a2bce
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
@@ -60,6 +60,44 @@ java_defaults {
//
// READ ME: ########################################################

package {
    default_applicable_licenses: ["frameworks_base_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: "frameworks_base_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
        "SPDX-license-identifier-BSD",
        "SPDX-license-identifier-CC-BY",
        "SPDX-license-identifier-CPL-1.0",
        "SPDX-license-identifier-GPL",
        "SPDX-license-identifier-GPL-2.0",
        "SPDX-license-identifier-MIT",
        "SPDX-license-identifier-Unicode-DFS",
        "SPDX-license-identifier-W3C",
        "legacy_unencumbered",
    ],
    license_text: [
        "NOTICE",
    ],
}

filegroup {
    name: "framework-core-sources",
    srcs: [
+9 −0
Original line number Diff line number Diff line
@@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
    name: "AutofillPerfTests",
    srcs: ["src/**/*.java"],
+10 −1
Original line number Diff line number Diff line
@@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
  name: "BlobStorePerfTests",
  srcs: ["src/**/*.java"],
+9 −0
Original line number Diff line number Diff line
@@ -14,6 +14,15 @@
// limitations under the License.
//

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test {
    name: "CorePerfTests",

+10 −1
Original line number Diff line number Diff line
@@ -12,6 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

android_test_helper_app {
    name: "Overlay0",
    aaptflags: [
Loading