mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 09:14:48 -04:00
@@ -71,6 +71,10 @@ public:
|
||||
{
|
||||
return newModule_;
|
||||
}
|
||||
inline bool isSupportTsHeader() const
|
||||
{
|
||||
return tsHeader_;
|
||||
}
|
||||
static void SetUseModule()
|
||||
{
|
||||
useModule_ = true;
|
||||
@@ -108,6 +112,7 @@ private:
|
||||
static bool useModule_;
|
||||
cJSON *root_;
|
||||
bool newModule_ = false;
|
||||
bool tsHeader_ = false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ static std::set<std::string> g_resourceSet;
|
||||
static std::set<std::string> g_hapResourceSet;
|
||||
const static int8_t INVALID_ID = -1;
|
||||
const static int MIN_SUPPORT_NEW_MODULE_API_VERSION = 60000020;
|
||||
const static int MIN_SUPPORT_TS_HEADER_API_VERSION = 22;
|
||||
const static int API_VERSION_DIVISOR = 1000;
|
||||
|
||||
enum class IgnoreType {
|
||||
IGNORE_FILE,
|
||||
|
||||
Reference in New Issue
Block a user