Skip to content
Snippets Groups Projects
Commit f3ef8614 authored by Bob Badour's avatar Bob Badour Committed by Automerger Merge Worker
Browse files

[LSC] Add LOCAL_LICENSE_KINDS to external/libdrm am: e1e2e964

Original change: https://android-review.googlesource.com/c/platform/external/libdrm/+/1588229

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c55b3354df61c12dcb92ab20501391a2d75c806
parents 036d4ab0 e1e2e964
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,35 @@ ...@@ -21,6 +21,35 @@
// IN THE SOFTWARE. // IN THE SOFTWARE.
// //
package {
default_applicable_licenses: ["external_libdrm_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_libdrm_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
"SPDX-license-identifier-MIT",
"legacy_unencumbered",
],
// large-scale-change unable to identify any license_text files
}
subdirs = ["*"] subdirs = ["*"]
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
prebuilt_etc { prebuilt_etc {
name: "amdgpu.ids", name: "amdgpu.ids",
proprietary: true, proprietary: true,
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
...@@ -21,6 +21,16 @@ ...@@ -21,6 +21,16 @@
// IN THE SOFTWARE. // IN THE SOFTWARE.
// //
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-BSD
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_shared { cc_library_shared {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
cc_library_shared { cc_library_shared {
name: "libdrm_tegra", name: "libdrm_tegra",
vendor: true, vendor: true,
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
subdirs = ["*"] subdirs = ["*"]
cc_library_headers { cc_library_headers {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_test { cc_test {
......
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
cc_test { cc_test {
name: "proptest", name: "proptest",
defaults: ["libdrm_defaults"], defaults: ["libdrm_defaults"],
......
...@@ -21,6 +21,15 @@ ...@@ -21,6 +21,15 @@
// IN THE SOFTWARE. // IN THE SOFTWARE.
// //
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libdrm_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_libdrm_license"],
}
build = ["Android.sources.bp"] build = ["Android.sources.bp"]
cc_library_static { cc_library_static {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment