#pragma once #include #include #include #include #include #include "common/libs/utils/environment.h" #include "common/libs/utils/result.h" #include "host/libs/config/cuttlefish_config.h" #include "host/libs/config/fetcher_config.h" namespace cuttlefish { struct KernelConfig { Arch target_arch; bool bootconfig_supported; }; Result GetKernelConfigAndSetDefaults(); // Must be called after ParseCommandLineFlags. CuttlefishConfig InitializeCuttlefishConfiguration(const std::string& root_dir, int modem_simulator_count, KernelConfig kernel_config, fruit::Injector<>& injector); std::string GetConfigFilePath(const CuttlefishConfig& config); std::string GetCuttlefishEnvPath(); } // namespace cuttlefish