diff options
author | Jiyong Park <jiyong@google.com> | 2020-02-25 17:12:30 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-02-27 12:26:47 +0900 |
commit | 7f1e9b27cef5dd2064f4fb5a387a9ba7bc6e19af (patch) | |
tree | 0e121ddfc05b7b24a0e064d23ceebab8998120e4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 23a3258189d548a2695969a5866a68f01faa05a7 (diff) |
stubs inheriting from framework-module-stubs-defaults-* now works
This change fixes a problem that droidstub modules inheriting from
framework-module-stubs-defaults-* don't emit any source code. The
problem was happening because
1) --show-annotation was with incorrect format; it had trailing
"," in the parameter list and
2) the class SystemApi was not available to metalava, which made
prevented it from processing any API annotated with @SystemApi.
Fixing the problem by forcibly adding framework annotations to the
sources of the default modules.
Bug: 1241127
Test: `m ike-stubs` and check its output
Merged-In: Icbbbddb4fb68055f27aa314983a9c556e51f037a
(cherry picked from commit b4f8a85245d31e57f3f0983158d1e832449cfa4f)
Change-Id: Icbbbddb4fb68055f27aa314983a9c556e51f037a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions