OSDN Git Service

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>
Thu, 7 Jun 2018 09:45:01 +0000 (09:45 +0000)
commit6f6a126b9c64e49abcabcb6ea7b563535d22b04e
tree0a66c223a4e2e963ecd6f15e10a234f0648d4ec9
parentb62aa315d1d9d27c716964930205ed0681e8997b
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: I4b1588013f26661207126b4006cdef0a0fc8ae2c
Android.bp
Android.mk