[LSC] Add LOCAL_LICENSE_KINDS to device/linaro/hikey

Added SPDX-license-identifier-Apache-2.0 to:
  audio/Android.mk
  bluetooth/Android.bp
  hifi/debug-hifi/Android.mk
  libmemtrack/Android.mk
  mali/bifrost/Android.mk
  mali/utgard/Android.mk
  recovery/Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
  power/Android.mk

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-MIT
    legacy_unencumbered
to:
  Android.bp

Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0
to:
  gralloc/Android.bp
  gralloc/Android.mk
  gralloc960/Android.bp
  gralloc960/Android.mk

Added SPDX-license-identifier-GPL-2.0
to:
  wpan/uim/Android.mk

Added SPDX-license-identifier-MIT
to:
  hifi/xaf/host-apf/Android.bp
  hifi/xaf/host-apf/Android.mk

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I5414686a8063382cbec9a7d8b125c2a55c68c474
diff --git a/hifi/xaf/host-apf/Android.bp b/hifi/xaf/host-apf/Android.bp
index 7bd2005..5887538 100644
--- a/hifi/xaf/host-apf/Android.bp
+++ b/hifi/xaf/host-apf/Android.bp
@@ -12,6 +12,15 @@
 // See the License for the specific language governing permissions and
 // 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 "device_linaro_hikey_license"
+    // to get the below license kinds:
+    //   SPDX-license-identifier-MIT
+    default_applicable_licenses: ["device_linaro_hikey_license"],
+}
+
 cc_prebuilt_binary {
     name: "dhifimesg",
     srcs: ["tools/dhifimesg"],
diff --git a/hifi/xaf/host-apf/Android.mk b/hifi/xaf/host-apf/Android.mk
index 2bce8cf..270c9aa 100644
--- a/hifi/xaf/host-apf/Android.mk
+++ b/hifi/xaf/host-apf/Android.mk
@@ -31,6 +31,8 @@
 LOCAL_C_INCLUDES += external/expat/lib
 LOCAL_CFLAGS := $(C_FLAGS)
 LOCAL_MODULE := libxtensa_proxy
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
 LOCAL_MODULE_TAGS := optional
 
 include $(BUILD_STATIC_LIBRARY)
@@ -41,6 +43,8 @@
 include $(CLEAR_VARS)
 LOCAL_VENDOR_MODULE := true
 LOCAL_MODULE := xaf-dec-test
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
 
 LOCAL_SRC_FILES := \
     utest/xaf-dec-test.c
@@ -58,6 +62,8 @@
 include $(CLEAR_VARS)
 LOCAL_VENDOR_MODULE := true
 LOCAL_MODULE := xaf-dec-mix-test
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-MIT
+LOCAL_LICENSE_CONDITIONS := notice
 
 LOCAL_SRC_FILES := \
     utest/xaf-dec-mix-test.c
@@ -68,4 +74,3 @@
 LOCAL_SHARED_LIBRARIES := liblog libcutils
 LOCAL_MODULE_TAGS := optional
 include $(BUILD_EXECUTABLE)
-