summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathew Inwood <mathewi@google.com> 2018-08-10 15:21:35 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-08-10 15:21:35 +0000
commitedeab211d2cbdc3cde1e9b95ea540da237b03cf7 (patch)
tree6259be7e2489621715a114c5112cc7d5e18d7c32
parent18eeb98faa197b1722711ea1237d8f38ded41e4f (diff)
parent9f46a30e292d7bac5cc4ebae72ca1ada5651c5f6 (diff)
Merge "Pass public API list to class2greylist tool."
-rw-r--r--core/definitions.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 291441b224..35bf1ecdb2 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -2875,8 +2875,8 @@ endef
# Generate a greylist.txt from a classes.jar
define hiddenapi-generate-greylist-txt
-$(2): $(1) $(CLASS2GREYLIST)
- $(CLASS2GREYLIST) $(1) > $(2)
+$(2): $(1) $(CLASS2GREYLIST) $(INTERNAL_PLATFORM_HIDDENAPI_PUBLIC_LIST)
+ $(CLASS2GREYLIST) --public-api-list $(INTERNAL_PLATFORM_HIDDENAPI_PUBLIC_LIST) $(1) > $(2)
$(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): $(2)
$(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): \