mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 17:24:42 -04:00
删除libxml2和sqlites相关依赖
Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
+1
-11
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user