Bruno BELANYI
f6e1266493
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Their semantic is closer to a function call (like i.e: Bazel rules) rather than a module/namespace. Similarly for their properties, which are more like parameters than members.
16 lines
288 B
Plaintext
16 lines
288 B
Plaintext
foo = select(soong_config_variable("my_namespace", "my_var"), {
|
|
// ^ keyword.conditional
|
|
"foo": unset,
|
|
default: "bar",
|
|
})
|
|
|
|
// It can still be used as a normal variable name
|
|
select = 42
|
|
// <- variable
|
|
|
|
// Or module property
|
|
foo {
|
|
select: 42,
|
|
// <- variable.parameter
|
|
}
|