For ds-docs build, pass -yamlV2 and -metalavaApiSince.
These two flags generate the API reference in the
new format expected by DAC.
Test: make ds-docs
Bug: 125939989
Change-Id: I63510051d87b211793ca140ed0fd618d6ebd3f68
diff --git a/Android.bp b/Android.bp
index 6288940..cc531be 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1514,7 +1514,7 @@
],
proofread_file: "ds-docs-proofrerad.txt",
args: framework_docs_only_args +
- " -toroot / -samplegroup Admin " +
+ " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
" -samplegroup Background " +
" -samplegroup Connectivity " +
" -samplegroup Content " +