def _load_avd_manifest(): avd_manifest_dir = make_path_absolute(ArgLoader.get_manifest_dir(ArgLoader.AVD_MANIFEST_DIR_KEY)) if avd_manifest_dir is None: message = ("AvdManifest file directory was not found. Check if config_files_dir.json exists in root of" + "project. Otherwise check if it's linking to existing file.") raise LauncherFlowInterruptedException(TAG, message) else: avd_manifest = AvdManifest(avd_manifest_dir) Printer.system_message(TAG, "Created AvdManifest from file: " + Color.GREEN + avd_manifest_dir + Color.BLUE + ".") return avd_manifest
def _load_launch_plan_manifest(): launch_manifest_dir = make_path_absolute(ArgLoader.get_manifest_dir(ArgLoader.LAUNCH_MANIFEST_DIR_KEY)) if launch_manifest_dir is None: message = ("LaunchManifest file directory was not found. Check if config_files_dir.json exists in root " "of project. Otherwise check if it's linking to existing file.") raise LauncherFlowInterruptedException(TAG, message) else: launch_manifest = LaunchManifest(launch_manifest_dir) Printer.system_message(TAG, "Created LaunchManifest from file: " + Color.GREEN + launch_manifest_dir + Color.BLUE + ".") return launch_manifest