Searched refs:build_file_path (Results 1 – 3 of 3) sorted by relevance
58 def _CheckBuildFile(build_file_path, packages): argument63 package = os.path.dirname(build_file_path)66 build_file_contents = _ReadFileAndPrependLines(build_file_path)76 yield PackageBoundaryViolation(build_file_path,85 for build_file_path in build_files:86 assert build_file_path.startswith(root_dir)91 for build_file_path in build_files:92 messages.extend(_CheckBuildFile(build_file_path, packages))
37 build_file_path = os.path.relpath(violation.build_file_path, test_dir)38 build_file_path = build_file_path.replace(os.path.sep, '/')39 messages.append(violation._replace(build_file_path=build_file_path))
41 last_slash_idx = ctx.build_file_path.rfind("/")42 strip_base_path = ctx.build_file_path[:last_slash_idx + 1]