Lines Matching refs:rel_path
65 def get_path_type(rel_path): argument
66 ext = os.path.splitext(rel_path)[-1]
76 def normalize_java_path(rel_path): argument
77 if re.match('.+\\.java$', rel_path):
79 return rel_path
81 if '/' not in rel_path:
83 rel_path = rel_path.replace('.', '/')
85 if any(c.isupper() for c in rel_path):
93 rel_path += '.java'
94 elif rel_path[-1] != '/':
96 rel_path += '/'
98 return rel_path
107 for rel_path in rel_paths:
108 path_type = get_path_type(rel_path)
110 rel_path = normalize_java_path(rel_path)
116 % (android_build_top, path_type, rel_path))
118 paths.append('%s/%s/%s' % (ojluni_upstreams, repository, rel_path))
146 run_diff(args.diff, repositories, args.rel_path)