Revert "Add variables for notice deps, license kinds etc."
Revert "Export soong license data to make." Revert "Add ability to declare licenses in soong." Revert submission 1377717-metalics Reason for revert: This has broken renderscript_mac target for aosp-master, see b/176909442 Reverted Changes: I26ac54ca9:Define the standard license_kind rules. I656486070:Export soong license data to make. If9d661dfc:Export soong license data to make. I97943de53:Add ability to declare licenses in soong. Icaff40171:Rough-in license metadata support to make. Ib8e538bd0:Add variables for notice deps, license kinds etc. Change-Id: I1f672e6e8ec48f0141bb4b6cc4eb2efed1eeef6b
This commit is contained in:
@@ -524,47 +524,6 @@ define reverse-list
|
||||
$(if $(1),$(call reverse-list,$(wordlist 2,$(words $(1)),$(1)))) $(firstword $(1))
|
||||
endef
|
||||
|
||||
###########################################################
|
||||
## Sometimes a notice dependency will reference an unadorned
|
||||
## module name that only appears in ALL_MODULES adorned with
|
||||
## an ARCH suffix or a `host_cross_` prefix.
|
||||
##
|
||||
## After all of the modules are processed in base_rules.mk,
|
||||
## replace all such dependencies with every matching adorned
|
||||
## module name.
|
||||
###########################################################
|
||||
|
||||
define fix-notice-deps
|
||||
$(strip \
|
||||
$(eval _all_module_refs := \
|
||||
$(sort \
|
||||
$(foreach m,$(sort $(ALL_MODULES)), \
|
||||
$(ALL_MODULES.$(m).NOTICE_DEPS) \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
$(foreach m, $(_all_module_refs), \
|
||||
$(eval _lookup.$(m) := \
|
||||
$(sort \
|
||||
$(if $(strip $(ALL_MODULES.$(m).PATH)), \
|
||||
$(m), \
|
||||
$(filter $(m)_32 $(m)_64 host_cross_$(m) host_cross_$(m)_32 host_cross_$(m)_64, $(ALL_MODULES)) \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
$(foreach m, $(ALL_MODULES), \
|
||||
$(eval ALL_MODULES.$(m).NOTICE_DEPS := \
|
||||
$(sort \
|
||||
$(foreach d,$(ALL_MODULES.$(m).NOTICE_DEPS), \
|
||||
$(_lookup.$(d)) \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
) \
|
||||
)
|
||||
endef
|
||||
|
||||
###########################################################
|
||||
## Returns correct _idfPrefix from the list:
|
||||
## { HOST, HOST_CROSS, TARGET }
|
||||
|
Reference in New Issue
Block a user