summaryrefslogtreecommitdiff
path: root/libnativebridge
diff options
context:
space:
mode:
Diffstat (limited to 'libnativebridge')
-rw-r--r--libnativebridge/Android.bp9
-rw-r--r--libnativebridge/tests/Android.bp9
2 files changed, 18 insertions, 0 deletions
diff --git a/libnativebridge/Android.bp b/libnativebridge/Android.bp
index 565ba00be6..9f65eb6f36 100644
--- a/libnativebridge/Android.bp
+++ b/libnativebridge/Android.bp
@@ -1,3 +1,12 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "art_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["art_license"],
+}
+
cc_defaults {
name: "libnativebridge-defaults",
defaults: ["art_defaults"],
diff --git a/libnativebridge/tests/Android.bp b/libnativebridge/tests/Android.bp
index c9dbe49e4a..9a81a0dc77 100644
--- a/libnativebridge/tests/Android.bp
+++ b/libnativebridge/tests/Android.bp
@@ -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 "art_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["art_license"],
+}
+
cc_defaults {
name: "libnativebridge-test-case-defaults",
defaults: [