16 lines
285 B
Plaintext
16 lines
285 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.member
|
||
|
}
|