Home | History | Annotate | Download | only in testrunner

Lines Matching full:self

37   def __init__(self, app_path=None):
38 self._includes = Set() # variables included in makefile
39 self._variables = {} # variables defined in makefile
42 self.ParseMK(app_path)
44 def _ProcessMKLine(self, line):
52 m = self._RE_INCLUDE.match(line)
54 self._includes.add(m.group(1))
56 parts = line.split(self._VAR_DELIMITER)
58 self._variables[parts[0].strip()] = parts[1].strip()
60 def GetVariable(self, identifier):
70 return self._variables.get(identifier, None)
72 def HasInclude(self, identifier):
80 return identifier in self._includes
82 def ParseMK(self, app_path):
91 self.app_path = app_path.rstrip("/")
92 self.mk_path = "%s/%s" % (self.app_path, self.FILENAME)
93 mk = open(self.mk_path)
95 self._ProcessMKLine(line)