From f4571792f739d650a0fd7b6a21873b5a838bbf47 Mon Sep 17 00:00:00 2001 From: Nan Zhang Date: Tue, 8 Aug 2017 13:38:59 -0700 Subject: [PATCH] Fix the typo: "desugar-classpath" to "desugar-bootclasspath" Test: runs "m -j checkbuild tests cts", and then --bootclasspath_entry shows up in desugar command. Change-Id: Ibcc8a3f51438723151c57f79e5a1184350efbd30 --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index d3277b5ec7..235cf67deb 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2515,7 +2515,7 @@ $(if $(PRIVATE_JAR_EXCLUDE_PACKAGES), $(hide) echo unsupported options JAR_EXCLU $(if $(PRIVATE_JAR_MANIFEST), $(hide) echo unsupported options JAR_MANIFEST in $@; exit 53) endef -define desugar-classpath +define desugar-bootclasspath $(filter-out -classpath -bootclasspath "",$(subst :,$(space),$(1))) endef