删除libxml2和sqlites相关依赖

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2023-08-04 01:43:49 +00:00
parent 60d971e525
commit 9e54370347
49 changed files with 41 additions and 3365 deletions
+1 -11
View File
@@ -137,8 +137,7 @@ string ResourceUtil::ResTypeToString(ResType type)
string ResourceUtil::GetIdName(const string &name, ResType type)
{
if (type != ResType::MEDIA && type != ResType::LAYOUT && type != ResType::PROF &&
type != ResType::ANIMATION && type != ResType::GRAPHIC) {
if (type != ResType::MEDIA && type != ResType::PROF) {
return name;
}
@@ -245,15 +244,6 @@ bool ResourceUtil::IsIgnoreFile(const string &filename, bool isFile)
return false;
}
bool ResourceUtil::NeedConverToSolidXml(ResType resType)
{
if (resType == ResType::LAYOUT || resType == ResType::ANIMATION ||
resType == ResType::GRAPHIC) {
return true;
}
return false;
}
string ResourceUtil::GenerateHash(const string &key)
{
hash<string> hash_function;