1 // 2 // Copyright (C) 2019 The Android Open Source Project 3 // 4 // Licensed under the Apache License, Version 2.0 (the "License"); 5 // you may not use this file except in compliance with the License. 6 // You may obtain a copy of the License at 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unless required by applicable law or agreed to in writing, software 11 // distributed under the License is distributed on an "AS IS" BASIS, 12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 // See the License for the specific language governing permissions and 14 // limitations under the License. 15 16 #pragma once 17 18 #include <fruit/fruit.h> 19 20 #include <string> 21 #include <vector> 22 23 #include "common/libs/fs/shared_fd.h" 24 #include "common/libs/utils/subprocess.h" 25 #include "host/libs/config/command_source.h" 26 #include "host/libs/config/custom_actions.h" 27 #include "host/libs/config/cuttlefish_config.h" 28 #include "host/libs/config/feature.h" 29 #include "host/libs/config/kernel_log_pipe_provider.h" 30 #include "host/libs/vm_manager/vm_manager.h" 31 32 namespace cuttlefish { 33 34 fruit::Component<fruit::Required<const CuttlefishConfig, vm_manager::VmManager, 35 const CuttlefishConfig::InstanceSpecific>, 36 KernelLogPipeProvider> 37 launchComponent(); 38 39 fruit::Component<fruit::Required<const CuttlefishConfig, 40 const CuttlefishConfig::InstanceSpecific>> 41 launchModemComponent(); 42 43 fruit::Component<fruit::Required<const CuttlefishConfig, KernelLogPipeProvider, 44 const CuttlefishConfig::InstanceSpecific, 45 const CustomActionConfigProvider>> 46 launchStreamerComponent(); 47 48 } // namespace cuttlefish 49