blob: ed1d406b2c895a271d2574b99a845418d543249c [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/chromecast_buildflags.h"
#if BUILDFLAG(IS_ANDROID_THINGS)
#include "chromecast/base/cast_sys_info_android_things.h"
#endif
#include "chromecast/base/cast_sys_info_android.h"
namespace chromecast {
// static
std::unique_ptr<CastSysInfo> CreateSysInfo() {
#if BUILDFLAG(IS_ANDROID_THINGS)
return std::make_unique<CastSysInfoAndroidThings>();
#else
return std::make_unique<CastSysInfoAndroid>();
#endif
}
} // namespace chromecast