Product config makefiles to Starlark converter

Test: treehugger; internal tests in mk2rbc_test.go
Bug: 172923994
Change-Id: I43120b9c181ef2b8d9453e743233811b0fec268b
This commit is contained in:
Sasha Smundak
2020-11-05 20:45:07 -08:00
parent e04058f291
commit b051c4ede3
11 changed files with 3885 additions and 1 deletions

View File

@@ -18,6 +18,11 @@ package mk2rbc
type starlarkType int
const (
// Variable types. Initially we only know the types of the product
// configuration variables that are lists, and the types of some
// hardwired variables. The remaining variables are first entered as
// having an unknown type and treated as strings, but sometimes we
// can infer variable's type from the value assigned to it.
starlarkTypeUnknown starlarkType = iota
starlarkTypeList starlarkType = iota
starlarkTypeString starlarkType = iota