Skip to content
Snippets Groups Projects
Commit d3fe21fb authored by Tor Norbye's avatar Tor Norbye
Browse files

Change --update-api to --only-update-api and add --only-check-api

This CL adds a new flag to tell metalava that it's invoked while
*only* checking compatibility. In that case it will ignore various
other flags being passed in to it (such as --stubs, which it's
currently unconditionally passed but is not useful and is costly
during compatibility checks.)  It also renames the --update-api
flag (meant for similar purpose during make update-api, where
we don't need to generate stubs) to be called --only-update-api
to make its purpose clearer.

Test: Unit test included
Change-Id: I3f105746c5f76356b8dca0f1709ee2a4413ff938
parent 42a0adb7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment