Files
build_soong/android
Spandan Das 846ce68a2f Handle enabled: false via conditions_default
In this Android.bp file
```
my_cc_defaults {
  enabled: false,
  soong_config_variables: {
    my_bool_variable: {
       conditions_default: {enabled: false},
    }
  }
}
```
The inner enabled: false is a no-op because the top-level enabled is
false. Currently, bp2build will raise an exception for this Android.bp
file.

However, it does not need to. `productVariableConfigEnableLabels` runs
only if the top-level enabled is false. If it sees enabled: false via
conditions_default, it should just ignore it since it is a no-op.

Test: go test ./bp2build
Bug: 210546943
Change-Id: I816f209eaf21de65ddfbc2893e5255be94bcaa11
2023-08-08 16:54:34 +00:00
..
2023-05-19 20:31:32 +00:00
2023-04-17 19:26:07 +00:00
2023-03-22 12:58:38 -07:00
2023-06-22 08:18:33 -07:00
2023-05-19 20:31:32 +00:00
2023-06-22 08:18:33 -07:00
2022-12-12 17:33:06 +00:00
2022-11-02 19:17:30 +00:00
2022-10-25 11:46:01 +02:00
2023-05-19 20:31:32 +00:00
2023-02-13 10:23:36 -08:00
2023-04-10 20:20:41 +00:00
2023-04-10 20:20:41 +00:00
2023-04-26 17:18:19 -07:00
2021-12-13 13:33:15 -05:00
2023-06-22 08:18:33 -07:00
2021-09-23 11:37:57 +01:00
2023-06-27 20:48:05 +00:00