summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-10-18 13:57:19 +0100
committerPaul Duffin <paulduffin@google.com>2019-10-29 12:23:44 +0000
commit179d97038bf9213cc6de34d4d74cb8394054f4d7 (patch)
tree0e95e22b5dd5c228cd19a561b5a6738aff950213 /tools/aapt2/java/JavaClassGenerator.cpp
parent10d6f20bc91d6e47cc70e0f9e20503cb4ec91a6c (diff)
Ignore classes on the classpath when generating stubs
This prevents metalava from generating stubs that reference classes which are provided on the classpath. That ensures that removing hidden classes from the sources does not result in references to those removed classes from being added to the generated stubs, e.g. in the imports. Specifically needed to prevent the StrictMode stubs class from referencing dalvik.system.CloseGuard when that is removed from the sourcepath as a result of switching the stub generation from using libcore implementation classes (which contain CloseGuard) to generated stubs (which does not contain CloseGuard). Bug: 142113521 Test: m checkbuild Change-Id: Ib4b87fec6549b69cc69820bc8d8b33f8c4e8535c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions