Lines Matching refs:os
21 import os
31 COMMON_BP_PATH = os.path.join(COMMON_DIR_PATH, 'Android.bp')
36 NOTICE_FILES_DIR_PATH = os.path.join(COMMON_DIR_PATH, NOTICE_FILES_DIR_NAME)
61 ANDROID_BUILD_TOP = os.getenv('ANDROID_BUILD_TOP')
70 return os.path.realpath(os.path.join(root, *args))
74 return os.path.realpath(os.getenv(env_var, default))
94 basename = os.path.basename(file)
95 if os.path.isdir(file) and basename != COMMON_DIR_NAME:
132 for root, _, files in os.walk(path):
135 abspath = os.path.abspath(os.path.join(root, file_name))
136 rel_to_root = abspath.replace(os.path.abspath(path), '')