summaryrefslogtreecommitdiff
path: root/starlark_fmt
AgeCommit message (Collapse)Author
2023-08-03Make bp2build-generated selects() based on product config build settings Cole Faust
...instead of based on constraint settings. Bug: 269577299 Test: m nothing and ./build/bazel/ci/bp2build.sh Change-Id: Ib9caec79c92b8fd304e46be841de5612bd1637e3
2023-04-28Add a function to create config_setting(s) Spandan Das
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
2023-04-11Break constant information out of product vars Cole Faust
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
2023-02-24Revert^2 "refactor of api_levels map for soong injection" Alix Espino
a865f4e905b49620d6634bc3b3cf897d91f5e114 Change-Id: Ifea020ac83725df7131773ca587c56931f5cdf03
2023-02-23Revert "refactor of api_levels map for soong injection" Matthias Männich
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
2023-02-21refactor of api_levels map for soong injection Alix
Change-Id: I58449fc84617e46727f23ab3d8dd5f118d2ee0d2 Bug: 249265719 Test: go test ./bp2build and locally ran bazel tests
2022-04-08export Java variables to Bazel Sam Delmerico
Test: build/bazel/bp2build.sh Change-Id: Ia06f9265c9f96e6add6edbd0cee925fe37b430d3
2022-02-08Add package for printing starlark formatted data Liz Kammer
Bug: 216168792 Test: build/bazel/ci/bp2build.sh Change-Id: I3a06b19396f7ffe1c638042cda7e731dd840f1d6