OSDN Git Service

Revert^2: Build dark greylist from public + light grey API
authorDavid Brazdil <dbrazdil@google.com>
Thu, 31 May 2018 12:58:41 +0000 (13:58 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Fri, 13 Jul 2018 14:46:24 +0000 (15:46 +0100)
commit5f881b25b5ac8151caab6258f03cd694235afa4d
treeb76064fc3313cee763023d284863f11abb5bfef6
parented1f171cb924e02065da07de27b8021fc0976be7
Revert^2: Build dark greylist from public + light grey API

The dark greylist is meant to contain non-SDK APIs which are "related"
to APIs accessible to apps without restrictions. The list used to be
built as all non-SDK APIs in the same package as those on the light
greylist. That is not sufficient and should include the public SDK API
packages too.

This patch modifies the makefile to generate a list of public API DEX
signatures with Doclava and then use that as a basis for the dark
greylist generation.

Bug: 80461842
Bug: 64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: If285d71ab82c3046fca94c325d664bd9073c1a69
Android.bp
Android.mk