Lines Matching refs:rel_path
121 rel_path = None
129 rel_path = ''
134 rel_path = os.path.relpath(abs_path, get_android_root_dir())
139 rel_path = paths[0].strip(os.sep)
140 abs_path = os.path.join(get_android_root_dir(), rel_path)
144 rel_path = target.strip(os.sep)
145 abs_path = os.path.join(get_android_root_dir(), rel_path)
149 rel_path = os.path.relpath(abs_path, get_android_root_dir())
154 rel_path = ''
156 rel_path = os.path.relpath(abs_path, get_android_root_dir())
157 return rel_path, abs_path
190 def has_build_target(atest_module_info, rel_path): argument
202 is_source_under_relative_path(mod_path, rel_path)
270 rel_path, abs_path = get_related_paths(atest_module_info, target)
280 err = PATH_NOT_EXISTS_ERROR.format(rel_path)
286 if (not has_build_target(atest_module_info, rel_path)
288 err = NO_MODULE_DEFINED_ERROR.format(rel_path)
297 def get_abs_path(rel_path): argument
307 if not rel_path:
309 if is_source_under_relative_path(rel_path, get_android_root_dir()):
310 return rel_path
311 return os.path.join(get_android_root_dir(), rel_path)