Files
device_xiaomi_stone/libinit/include/libinit_variant.h
Vedraj Gawas 11d81098a3 stone: libinit: properly detect SoC
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-12 17:45:27 +00:00

32 lines
594 B
C++

/*
* Copyright (C) 2021 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LIBINIT_VARIANT_H
#define LIBINIT_VARIANT_H
#include <string>
#include <vector>
typedef struct variant_info {
std::string hwc_value;
std::string sku_value;
std::string brand;
std::string device;
std::string model;
std::string mod_device;
std::string build_fingerprint;
} variant_info_t;
void search_variant(const std::vector<variant_info_t> variants);
void set_variant_props(const variant_info_t variant);
void set_soc_props();
#endif // LIBINIT_VARIANT_H