Merge "[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base" am: fcf6560011
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1588961 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0b9d7ed1e439f69ea73015173759c5ca2ee1ac89
This commit is contained in:
@@ -15,6 +15,15 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
// TODO: use a java_library in the bootclasspath instead
|
// TODO: use a java_library in the bootclasspath instead
|
||||||
|
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"],
|
||||||
|
}
|
||||||
|
|
||||||
filegroup {
|
filegroup {
|
||||||
name: "framework-connectivity-sources",
|
name: "framework-connectivity-sources",
|
||||||
srcs: [
|
srcs: [
|
||||||
@@ -26,4 +35,4 @@ filegroup {
|
|||||||
"//frameworks/base",
|
"//frameworks/base",
|
||||||
"//packages/modules/Connectivity:__subpackages__",
|
"//packages/modules/Connectivity:__subpackages__",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,15 @@
|
|||||||
// limitations under the License.
|
// 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"],
|
||||||
|
}
|
||||||
|
|
||||||
cc_library_shared {
|
cc_library_shared {
|
||||||
name: "libservice-connectivity",
|
name: "libservice-connectivity",
|
||||||
// TODO: build against the NDK (sdk_version: "30" for example)
|
// TODO: build against the NDK (sdk_version: "30" for example)
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
//########################################################################
|
//########################################################################
|
||||||
// Build FrameworksNetTests package
|
// Build FrameworksNetTests package
|
||||||
//########################################################################
|
//########################################################################
|
||||||
|
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"],
|
||||||
|
}
|
||||||
|
|
||||||
java_defaults {
|
java_defaults {
|
||||||
name: "FrameworksNetTests-jni-defaults",
|
name: "FrameworksNetTests-jni-defaults",
|
||||||
jni_libs: [
|
jni_libs: [
|
||||||
|
|||||||
@@ -16,6 +16,15 @@
|
|||||||
|
|
||||||
// Tests in this folder are included both in unit tests and CTS.
|
// Tests in this folder are included both in unit tests and CTS.
|
||||||
// They must be fast and stable, and exercise public or test APIs.
|
// They must be fast and stable, and exercise public or test APIs.
|
||||||
|
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"],
|
||||||
|
}
|
||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "FrameworksNetCommonTests",
|
name: "FrameworksNetCommonTests",
|
||||||
srcs: ["java/**/*.java", "java/**/*.kt"],
|
srcs: ["java/**/*.java", "java/**/*.kt"],
|
||||||
|
|||||||
@@ -9,6 +9,15 @@
|
|||||||
//
|
//
|
||||||
// TODO: remove this hack when there is a better solution for jni_libs that includes
|
// TODO: remove this hack when there is a better solution for jni_libs that includes
|
||||||
// dependent libraries.
|
// dependent libraries.
|
||||||
|
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 {
|
android_test {
|
||||||
name: "FrameworksNetSmokeTests",
|
name: "FrameworksNetSmokeTests",
|
||||||
defaults: ["FrameworksNetTests-jni-defaults"],
|
defaults: ["FrameworksNetTests-jni-defaults"],
|
||||||
@@ -19,4 +28,4 @@ android_test {
|
|||||||
"mockito-target-minus-junit4",
|
"mockito-target-minus-junit4",
|
||||||
"services.core",
|
"services.core",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user