platform_build_soong/cmd/soong_build
Sasha Smundak 1845f42085 Simplify soong_build top-level code
* `android.Context` holds `android.Config`, so provide an accessor to it
  and avoid passing them separately to a lot of functions.
* factor common code in `readBazelPaths`/`getExistingBazelRelatedFiles`
  into `readFileLines`
* refactor check-error-and-quit into `maybeQuit`
* use switch instead of if-elseif-... where appropriate
* rearrange the code in `runApiBp2build`, `runSymlinkForestCreation`

Test: treehugger
Change-Id: I639929c21ec4999cdfd737c07136f32df2d488bc
2022-12-16 11:03:17 -08:00
..
Android.bp Export provenance metadata for prebuilt APKs and APEXes. 2022-04-05 16:16:16 -07:00
main.go Simplify soong_build top-level code 2022-12-16 11:03:17 -08:00
queryview.go Create soong_injection files in ReadWrite mode 2022-12-07 01:25:03 +00:00
writedocs.go Add Property.Type to bpdocs template 2021-09-12 18:40:37 +00:00