summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-04-08 18:18:03 +0100
committer Paul Duffin <paulduffin@google.com> 2020-04-08 18:50:37 +0100
commit3ae2951296bed22f86e21d22c26e3ba86cd1332f (patch)
treeb3534aced4ee7323041087ad0d1e094d1753f16c /sdk/java_sdk_test.go
parent9e06bb64cacf0dc3a73eb2e30ad904825ffea0a1 (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 Test: m droid Check output dir of framework-sdkextensions-api-module_libs_api to make sure it does not contain any sources or srcjars. Change-Id: Ib8025019f8a7a8cf5fa8765d76b5ad470af20006
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions