Invoke soong_docs from the bootstrap Ninja file.

This makes soong_ui the only place where soong_build is invoked, thus
greatly simplifying the conceptual model of the build.

It comes with the slight limitation that now soong_docs (and queryview
and the JSON module graph) are not Make targets anymore, but I suppose
that's an acceptable loss.

The only place where someone depended on soong_docs from a Makefile is
removed in a separate change.

Test: Presubmits.
Change-Id: I3f9ac327725c15d84de725d05e3cdde1da3dcbe2
This commit is contained in:
Lukacs T. Berki
2021-09-06 18:31:46 +02:00
parent 144bf84677
commit c6012f36e1
8 changed files with 88 additions and 130 deletions

View File

@@ -80,7 +80,6 @@ bootstrap_go_package {
"util.go",
"variable.go",
"visibility.go",
"writedocs.go",
],
testSrcs: [
"android_test.go",