def initialize_build_tool(self):
    for build_tool in self.build_tool_list:
      if not build_tool:
        continue
      if os.path.isabs(build_tool):
        self.build_tool = build_tool
        return
      build_tool = self.where_is(build_tool)
      if build_tool:
        self.build_tool = build_tool
        return

    if self.build_tool_list:
      self.build_tool = self.build_tool_list[0]
Initializes the .build_tool attribute.
dataset/ETHPy150Open adblockplus/gyp/test/lib/TestGyp.py/TestGypBase.initialize_build_tool