diff --git a/core/base_rules.mk b/core/base_rules.mk index 196dc4830..68f880f26 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -28,8 +28,6 @@ endif ########################################################### LOCAL_MODULE := $(strip $(LOCAL_MODULE)) -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-LGPL SPDX-license-identifier-MIT -LOCAL_LICENSE_CONDITIONS := notice restricted ifeq ($(LOCAL_MODULE),) $(error $(LOCAL_PATH): LOCAL_MODULE is not defined) endif diff --git a/core/dex_preopt_libart.mk b/core/dex_preopt_libart.mk index d69332083..8f0702ba6 100644 --- a/core/dex_preopt_libart.mk +++ b/core/dex_preopt_libart.mk @@ -60,8 +60,6 @@ ifneq (,$(my_copy_pairs)) include $(CLEAR_VARS) LOCAL_MODULE := dexpreopt_bootjar.$(my_suffix) - LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-LGPL SPDX-license-identifier-MIT - LOCAL_LICENSE_CONDITIONS := notice restricted LOCAL_PREBUILT_MODULE_FILE := $(my_first_src) LOCAL_MODULE_PATH := $(dir $(my_first_dest)) LOCAL_MODULE_STEM := $(notdir $(my_first_dest)) diff --git a/core/package_internal.mk b/core/package_internal.mk index 6cb1589a1..1b4062429 100644 --- a/core/package_internal.mk +++ b/core/package_internal.mk @@ -39,8 +39,6 @@ ifneq ($(strip $(LOCAL_MODULE)),) $(error $(LOCAL_PATH): Package modules may not define LOCAL_MODULE) endif LOCAL_MODULE := $(LOCAL_PACKAGE_NAME) -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-LGPL SPDX-license-identifier-MIT -LOCAL_LICENSE_CONDITIONS := notice restricted ifneq ($(strip $(LOCAL_MODULE_CLASS)),) $(error $(LOCAL_PATH): Package modules may not set LOCAL_MODULE_CLASS) diff --git a/core/tasks/tools/package-modules.mk b/core/tasks/tools/package-modules.mk index 63a25b502..2b43f0fed 100644 --- a/core/tasks/tools/package-modules.mk +++ b/core/tasks/tools/package-modules.mk @@ -19,8 +19,6 @@ my_makefile := $(lastword $(filter-out $(lastword $(MAKEFILE_LIST)),$(MAKEFILE_L include $(CLEAR_VARS) LOCAL_MODULE := $(my_package_name) -LOCAL_LICENSE_KINDS := legacy_restricted -LOCAL_LICENSE_CONDITIONS := restricted LOCAL_MODULE_CLASS := PACKAGING LOCAL_MODULE_STEM := $(my_package_name).zip LOCAL_UNINSTALLABLE_MODULE := true