aboutsummaryrefslogtreecommitdiff
path: root/starlark_fmt/format.go
Commit message (Collapse)AuthorAgeFilesLines
* Make bp2build-generated selects() based on product config build settingsCole Faust2023-08-031-0/+67
| | | | | | | | ...instead of based on constraint settings. Bug: 269577299 Test: m nothing and ./build/bazel/ci/bp2build.sh Change-Id: Ib9caec79c92b8fd304e46be841de5612bd1637e3
* Add a function to create config_setting(s)Spandan Das2023-04-281-0/+10
| | | | | | | | | | The use case for this is creating config_setting(s) specific to an apex variant and selecting stub/impl in that config_setting. We likely need only a handful of such config_setting(s), but determining that list requires iterating the build graph. Test: go test ./bp2build Change-Id: I9aa552e3d0bcf67513023c3a7d4bbf8fae464ee4
* Break constant information out of product varsCole Faust2023-04-111-1/+5
| | | | | | | | | | | | | We don't want rules to load the product variables directly, because then they won't be able to transition on them. Break constant information that is safe to load outside of the product vars file, so that we can make the product vars file have more restricted visibility later. Bug: 269577299 Test: m nothing Change-Id: I848bff33e4f5798f51296ea3a2600615cab36985
* Revert^2 "refactor of api_levels map for soong injection"Alix Espino2023-02-241-0/+11
| | | | | | a865f4e905b49620d6634bc3b3cf897d91f5e114 Change-Id: Ifea020ac83725df7131773ca587c56931f5cdf03
* Revert "refactor of api_levels map for soong injection"Matthias Männich2023-02-231-11/+0
| | | | | | | | | | Revert submission 2441746-api_levels_refactor Reason for revert: broke Android kernel build tools build: https://ci.android.com/builds/branches/aosp_kernel-build-tools/grid? Reverted changes: /q/submissionid:2441746-api_levels_refactor Change-Id: I35206879b93ec95ae325025cb764c6c34880dccf
* refactor of api_levels map for soong injectionAlix2023-02-211-0/+11
| | | | | | Change-Id: I58449fc84617e46727f23ab3d8dd5f118d2ee0d2 Bug: 249265719 Test: go test ./bp2build and locally ran bazel tests
* export Java variables to BazelSam Delmerico2022-04-081-4/+9
| | | | | Test: build/bazel/bp2build.sh Change-Id: Ia06f9265c9f96e6add6edbd0cee925fe37b430d3
* Add package for printing starlark formatted dataLiz Kammer2022-02-081-0/+96
Bug: 216168792 Test: build/bazel/ci/bp2build.sh Change-Id: I3a06b19396f7ffe1c638042cda7e731dd840f1d6