[LSC] Add LOCAL_LICENSE_KINDS to packages/modules/SdkExtensions
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
derive_sdk/Android.bp
framework/Android.bp
gen_sdk/Android.bp
proto/Android.bp
testing/Android.bp
tests/cts/Android.bp
tests/e2e/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I586f12407412b9c8826585dd476cb5b564cdd679
diff --git a/Android.bp b/Android.bp
index 6d8a3c6..e6302aa 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,7 @@
package {
default_visibility: [":__subpackages__"],
+ default_applicable_licenses: ["Android-Apache-2.0"],
}
apex {
diff --git a/derive_sdk/Android.bp b/derive_sdk/Android.bp
index ca80b9b..78a1248 100644
--- a/derive_sdk/Android.bp
+++ b/derive_sdk/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_defaults {
name: "derive_sdk-defaults",
min_sdk_version: "30",
diff --git a/framework/Android.bp b/framework/Android.bp
index ef4e682..0fbfdbe 100644
--- a/framework/Android.bp
+++ b/framework/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
filegroup {
name: "framework-sdkextensions-sources",
srcs: [
diff --git a/gen_sdk/Android.bp b/gen_sdk/Android.bp
index e2e876d..07e8744 100644
--- a/gen_sdk/Android.bp
+++ b/gen_sdk/Android.bp
@@ -14,6 +14,10 @@
* limitations under the License.
*/
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
python_binary_host {
name: "gen_sdk",
srcs: ["gen_sdk.py"],
diff --git a/proto/Android.bp b/proto/Android.bp
index f0fd95d..a2815ba 100644
--- a/proto/Android.bp
+++ b/proto/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
python_library_host {
name: "sdk_proto_python",
version: {
diff --git a/testing/Android.bp b/testing/Android.bp
index ff34809..6abdd5a 100644
--- a/testing/Android.bp
+++ b/testing/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
apex_test {
name: "test_com.android.sdkext",
defaults: ["com.android.sdkext-defaults"],
diff --git a/tests/cts/Android.bp b/tests/cts/Android.bp
index 18da7c3..a9aac57 100644
--- a/tests/cts/Android.bp
+++ b/tests/cts/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
android_test {
name: "CtsSdkExtensionsTestCases",
defaults: ["cts_defaults"],
diff --git a/tests/e2e/Android.bp b/tests/e2e/Android.bp
index e1238fa..cc73e20 100644
--- a/tests/e2e/Android.bp
+++ b/tests/e2e/Android.bp
@@ -12,6 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
java_test_host {
name: "sdkextensions_e2e_tests",
srcs: ["test-src/**/*.java"],