Lines Matching refs:os
19 import os
30 if not os.path.isdir(dir):
43 value = os.environ.get('ANDROID_BUILD_TOP')
46 current_path = os.path.abspath(os.getcwd())
47 while current_path and os.path.isdir(current_path):
48 soong_ui_bash_path = os.path.join(current_path, SOONG_UI_BASH)
49 if os.path.isfile(soong_ui_bash_path):
54 parent_path = os.path.abspath(os.path.join(current_path, os.pardir))
66 value = os.environ.get('ANDROID_HOST_OUT')
69 …value = get_output_from_command((os.path.join(ANDROID_BUILD_TOP, SOONG_UI_BASH), '--dumpvar-mode',…
79 value = os.environ.get('DIST_DIR')
83 value = os.path.join(os.path.join(ANDROID_BUILD_TOP, 'out'), 'dist')
84 if not os.path.isdir(value):
85 if os.path.exists(value):
88 os.makedirs(value)
92 … config_file_path = os.path.join(os.path.join(get_android_root_or_die(), 'out/dist'), config_path)
94 if not os.path.isfile(config_file_path):
105 p = subprocess.Popen(build_cmd, cwd=ANDROID_BUILD_TOP, env=os.environ.copy())
128 dist_path = os.path.join(get_android_root_or_die(), "out/dist")