[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Gallery2
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
gallerycommon/Android.bp
jni/Android.bp
jni_jpegstream/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I01b3d0c2ee45d0b9cc9cf720f31d6b6bda40b3fd
diff --git a/Android.bp b/Android.bp
index 4191b55..f68bc9a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
android_app {
name: "Gallery2",
diff --git a/gallerycommon/Android.bp b/gallerycommon/Android.bp
index d92bba3..67c849f 100644
--- a/gallerycommon/Android.bp
+++ b/gallerycommon/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_library {
name: "com.android.gallery3d.common2",
srcs: ["src/**/*.java"],
diff --git a/jni/Android.bp b/jni/Android.bp
index b84f6cd..3a70895 100644
--- a/jni/Android.bp
+++ b/jni/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_defaults {
name: "gallery2_jni_defaults",
system_ext_specific: true,
diff --git a/jni_jpegstream/Android.bp b/jni_jpegstream/Android.bp
index b8adf77..dff6afd 100644
--- a/jni_jpegstream/Android.bp
+++ b/jni_jpegstream/Android.bp
@@ -1,4 +1,8 @@
// Jpeg Streaming native
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
cc_library_shared {
name: "libjni_gallery_jpegstream",
system_ext_specific: true,