Lines Matching refs:os
22 import os
32 COMMON_BP_PATH = os.path.join(COMMON_DIR_PATH, 'Android.bp')
37 NOTICE_FILES_DIR_PATH = os.path.join(COMMON_DIR_PATH, NOTICE_FILES_DIR_NAME)
76 ANDROID_BUILD_TOP = os.getenv('ANDROID_BUILD_TOP')
85 return os.path.realpath(os.path.join(root, *args))
89 return os.path.realpath(os.getenv(env_var, default))
109 basename = os.path.basename(file)
110 if os.path.isdir(file) and basename != COMMON_DIR_NAME:
147 for root, _, files in os.walk(path):
150 abspath = os.path.abspath(os.path.join(root, file_name))
151 rel_to_root = abspath.replace(os.path.abspath(path), '')