aboutsummaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2020-04-08 18:18:03 +0100
committerPaul Duffin <paulduffin@google.com>2020-04-22 12:51:53 +0100
commit455b0bf92265057b28d816389d6cdadae005e158 (patch)
tree5322e2950abe8e14aafecd791cc59647cb3aaef6 /java/java.go
parentf8b9e51f331d84db25033374dfdc9580a4fb949e (diff)
Allow droidstubs to not generate any stubs
Needed to optimize the handling of the module_lib API surface which currently has to be generated with two separate droidstubs instances, one to generate the stubs and another to generate the .txt file. This allows the module generating the .txt file to avoid also wasting time generating stubs that are not used. This change: * Adds a generate_stubs property that defaults to true to allow the behavior to be customized on a per module basis. * Uses either the stubs srcjar or the api .txt file as the OutputFile for the AndroidMkEntries to ensure that they get written out properly. * Rearranges the code for generating stubs to make it easier to turn it off. Bug: 146727827 Bug: 153306490 Test: m droid Check output dir of framework-sdkextensions-api-module_libs_api to make sure it does not contain any sources or srcjars. Merged-In: Ib8025019f8a7a8cf5fa8765d76b5ad470af20006 Change-Id: Ib8025019f8a7a8cf5fa8765d76b5ad470af20006
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions