summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Sasha Smundak <asmundak@google.com> 2022-12-13 14:18:58 -0800
committer Sasha Smundak <asmundak@google.com> 2022-12-16 11:03:17 -0800
commit1845f420851e1e26105734b6cf8bee1661fb108a (patch)
tree0f52aedff9f39c25e3ef082b035f4814b6bc479d /python/python.go
parentaf5ca926be8064575eb163666648c9e91c940d97 (diff)
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
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions