mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-20 22:47:00 -04:00
删除libxml2和sqlites相关依赖
Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
+1
-34
@@ -102,11 +102,6 @@ int32_t PackageParser::GetStartId() const
|
||||
return startId_;
|
||||
}
|
||||
|
||||
const string &PackageParser::GetCachePath() const
|
||||
{
|
||||
return cachePath_;
|
||||
}
|
||||
|
||||
const string &PackageParser::GetDependEntry() const
|
||||
{
|
||||
return dependEntry_;
|
||||
@@ -224,12 +219,6 @@ uint32_t PackageParser::AddStartId(const string& argValue)
|
||||
return RESTOOL_ERROR;
|
||||
}
|
||||
|
||||
uint32_t PackageParser::AddCachePath(const string& argValue)
|
||||
{
|
||||
cachePath_ = argValue;
|
||||
return RESTOOL_SUCCESS;
|
||||
}
|
||||
|
||||
// -i input directory, add the resource directory
|
||||
void PackageParser::AdaptResourcesDirForInput()
|
||||
{
|
||||
@@ -252,7 +241,7 @@ uint32_t PackageParser::CheckParam() const
|
||||
return RESTOOL_ERROR;
|
||||
}
|
||||
|
||||
if (previewMode_ || !append_.empty()) {
|
||||
if (!append_.empty()) {
|
||||
return RESTOOL_SUCCESS;
|
||||
}
|
||||
if (packageName_.empty()) {
|
||||
@@ -278,28 +267,6 @@ bool PackageParser::IsFileList() const
|
||||
return isFileList_;
|
||||
}
|
||||
|
||||
uint32_t PackageParser::SetPreviewMode()
|
||||
{
|
||||
previewMode_ = true;
|
||||
return RESTOOL_SUCCESS;
|
||||
}
|
||||
|
||||
bool PackageParser::GetPreviewMode() const
|
||||
{
|
||||
return previewMode_;
|
||||
}
|
||||
|
||||
int32_t PackageParser::GetPriority() const
|
||||
{
|
||||
return priority_;
|
||||
}
|
||||
|
||||
uint32_t PackageParser::SetPriority(const string& argValue)
|
||||
{
|
||||
priority_ = atoi(argValue.c_str());
|
||||
return RESTOOL_SUCCESS;
|
||||
}
|
||||
|
||||
uint32_t PackageParser::AddAppend(const string& argValue)
|
||||
{
|
||||
string appendPath = ResourceUtil::RealPath(argValue);
|
||||
|
||||
Reference in New Issue
Block a user