Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity"

This commit is contained in:
Bob Badour
2021-02-19 06:23:22 +00:00
committed by Gerrit Code Review
22 changed files with 89 additions and 1 deletions

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_defaults { java_defaults {
name: "TetheringAndroidLibraryDefaults", name: "TetheringAndroidLibraryDefaults",
sdk_version: "module_current", sdk_version: "module_current",

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
apex { apex {
name: "com.android.tethering", name: "com.android.tethering",
// TODO: make updatable again once this contains only updatable artifacts (in particular, this // TODO: make updatable again once this contains only updatable artifacts (in particular, this

View File

@@ -17,6 +17,10 @@
// //
// struct definitions shared with JNI // struct definitions shared with JNI
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_headers { cc_library_headers {
name: "bpf_tethering_headers", name: "bpf_tethering_headers",
vendor_available: false, vendor_available: false,

View File

@@ -13,6 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_sdk_library { java_sdk_library {
name: "framework-tethering", name: "framework-tethering",
defaults: ["framework-module-defaults"], defaults: ["framework-module-defaults"],

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
filegroup { filegroup {
name: "TetheringTestsJarJarRules", name: "TetheringTestsJarJarRules",
srcs: ["jarjar-rules.txt"], srcs: ["jarjar-rules.txt"],

View File

@@ -13,6 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_defaults { java_defaults {
name: "TetheringIntegrationTestsDefaults", name: "TetheringIntegrationTestsDefaults",
srcs: [ srcs: [

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
// This tests for functionality that is not required for devices that // This tests for functionality that is not required for devices that
// don't use Tethering mainline module. // don't use Tethering mainline module.

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_defaults { java_defaults {
name: "TetheringPrivilegedTestsJniDefaults", name: "TetheringPrivilegedTestsJniDefaults",
jni_libs: [ jni_libs: [

View File

@@ -15,6 +15,10 @@
// //
// Tests in this folder are included both in unit tests and CTS. // Tests in this folder are included both in unit tests and CTS.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library { java_library {
name: "TetheringCommonTests", name: "TetheringCommonTests",
srcs: [ srcs: [

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_test_host { java_test_host {
name: "CtsHostsideNetworkTests", name: "CtsHostsideNetworkTests",
defaults: ["cts_defaults"], defaults: ["cts_defaults"],

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_test_helper_library { java_test_helper_library {
name: "CtsHostsideNetworkTestsAidl", name: "CtsHostsideNetworkTestsAidl",
sdk_version: "current", sdk_version: "current",

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test_helper_app { android_test_helper_app {
name: "CtsHostsideNetworkTestsApp", name: "CtsHostsideNetworkTestsApp",
defaults: ["cts_support_defaults"], defaults: ["cts_support_defaults"],

View File

@@ -14,6 +14,10 @@
// limitations under the License. // limitations under the License.
// //
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test_helper_app { android_test_helper_app {
name: "CtsHostsideNetworkTestsApp2", name: "CtsHostsideNetworkTestsApp2",
defaults: ["cts_support_defaults"], defaults: ["cts_support_defaults"],

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app_certificate { android_app_certificate {
name: "cts-net-app", name: "cts-net-app",
certificate: "cts-net-app", certificate: "cts-net-app",

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_defaults { java_defaults {
name: "CtsNetTestCasesDefaults", name: "CtsNetTestCasesDefaults",
defaults: ["cts_defaults"], defaults: ["cts_defaults"],

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "CtsNetApi23TestCases", name: "CtsNetApi23TestCases",
defaults: ["cts_defaults"], defaults: ["cts_defaults"],

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "CtsNetTestAppForApi23", name: "CtsNetTestAppForApi23",
defaults: ["cts_defaults"], defaults: ["cts_defaults"],

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_shared { cc_library_shared {
name: "libnativedns_jni", name: "libnativedns_jni",

View File

@@ -1,3 +1,7 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_defaults { cc_defaults {
name: "dns_async_defaults", name: "dns_async_defaults",

View File

@@ -14,6 +14,10 @@
// Build the unit tests. // Build the unit tests.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_test { cc_test {
name: "CtsNativeNetTestCases", name: "CtsNativeNetTestCases",

View File

@@ -15,6 +15,10 @@
// //
// Common utilities for cts net tests. // Common utilities for cts net tests.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library { java_library {
name: "cts-net-utils", name: "cts-net-utils",
srcs: ["java/**/*.java", "java/**/*.kt"], srcs: ["java/**/*.java", "java/**/*.kt"],

View File

@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test { android_test {
name: "CtsTetheringTest", name: "CtsTetheringTest",
defaults: ["cts_defaults"], defaults: ["cts_defaults"],