Home
last modified time | relevance | path

Searched refs:mkparser (Results 1 – 9 of 9) sorted by relevance

/build/soong/mk2rbc/
Dsoong_variables.go25 mkparser "android/soong/androidmk/parser" packageName
29 includeFileScope mkparser.Scope
37 func FindSoongVariables(mkFile string, includeFileScope mkparser.Scope, registrar variableRegistrar…
47 parser := mkparser.NewParser(mkFile, bytes.NewBuffer(mkContents))
57 case *mkparser.Variable:
59 case *mkparser.Directive:
92 func (ctx context) handleInclude(t *mkparser.Directive) {
105 func (ctx context) handleVariable(t *mkparser.Variable) {
136 func (ctx context) inferSoongVariableType(vType string, n *mkparser.MakeString) {
150 func prefixedVariable(s *mkparser.MakeString) (string, *mkparser.MakeString, bool) {
Dmk2rbc.go40 mkparser "android/soong/androidmk/parser" packageName
68 parse(ctx *parseContext, node mkparser.Node, args *mkparser.MakeString) starlarkExpr
130 parse(ctx *parseContext, node mkparser.Node, args *mkparser.MakeString) []starlarkNode
197 NewError(el ErrorLocation, node mkparser.Node, text string, args ...interface{})
218 func cloneMakeString(mkString *mkparser.MakeString) *mkparser.MakeString {
219 r := &mkparser.MakeString{StringPos: mkString.StringPos}
471 nodeLocator func(pos mkparser.Pos) int
478 nodes []mkparser.Node // Makefile as parsed by mkparser
495 func newParseContext(ss *StarlarkScript, nodes []mkparser.Node) *parseContext {
554 func (ctx *parseContext) getNode() mkparser.Node {
[all …]
Dconfig_variables.go24 mkparser "android/soong/androidmk/parser" packageName
34 parser := mkparser.NewParser(mkFile, bytes.NewBuffer(mkContents))
43 asgn, ok := node.(*mkparser.Assignment)
Dandroid_products.go25 mkparser "android/soong/androidmk/parser" packageName
67 parser := mkparser.NewParser(configMakefile, bytes.NewBuffer(contents))
80 asgn, ok := node.(*mkparser.Assignment)
Dnode.go21 mkparser "android/soong/androidmk/parser" packageName
195 mkValue *mkparser.MakeString
/build/soong/androidmk/androidmk/
Dandroidmk.go25 mkparser "android/soong/androidmk/parser" packageName
38 scope mkparser.Scope
85 func (f *bpFile) errorf(failedNode mkparser.Node, message string, args ...interface{}) {
133 p := mkparser.NewParser(filename, buffer)
155 case *mkparser.Comment:
164 case *mkparser.Assignment:
166 case *mkparser.Directive:
275 func handleAssignment(file *bpFile, assignment *mkparser.Assignment, c *conditional) {
335 armModeAssign.Name = mkparser.SimpleMakeString("LOCAL_ARM_MODE_HACK_arm", assignment.Name.Pos())
353 func handleModuleConditionals(file *bpFile, directive *mkparser.Directive, conds []*conditional) {
[all …]
Dvalues.go21 mkparser "android/soong/androidmk/parser" packageName
63 func makeToStringExpression(ms *mkparser.MakeString, file *bpFile) (bpparser.Expression, error) {
127 func makeToListExpression(ms *mkparser.MakeString, file *bpFile) (bpparser.Expression, error) {
209 func makeToBoolExpression(ms *mkparser.MakeString, file *bpFile) (bpparser.Expression, error) {
228 func extractVariableName(name *mkparser.MakeString, file *bpFile) (string, error) {
Dandroid.go23 mkparser "android/soong/androidmk/parser" packageName
41 mkvalue *mkparser.MakeString
624 …val, err := makeVariableToBlueprint(file, mkparser.SimpleMakeString(value, mkparser.NoPos), bppars…
642 func varLiteralName(variable mkparser.Variable) string {
1033 func androidScope() mkparser.Scope {
1034 globalScope := mkparser.NewScope(nil)
/build/soong/android/
Dtesting.go27 mkparser "android/soong/androidmk/parser" packageName
609 func parseMkRules(t *testing.T, config Config, nodes []mkparser.Node) []InstallMakeRule {
612 if mkParserRule, ok := node.(*mkparser.Rule); ok {
649 parser := mkparser.NewParser("makevars", buf)