mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-21 06:55:24 -04:00
@@ -29,6 +29,7 @@ public:
|
|||||||
HAR = 1,
|
HAR = 1,
|
||||||
ENTRY = 2,
|
ENTRY = 2,
|
||||||
FEATURE = 3,
|
FEATURE = 3,
|
||||||
|
SHARED = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
ConfigParser();
|
ConfigParser();
|
||||||
|
|||||||
@@ -24,9 +24,10 @@ namespace Global {
|
|||||||
namespace Restool {
|
namespace Restool {
|
||||||
using namespace std;
|
using namespace std;
|
||||||
const map<string, ConfigParser::ModuleType> ConfigParser::MODULE_TYPES = {
|
const map<string, ConfigParser::ModuleType> ConfigParser::MODULE_TYPES = {
|
||||||
{ "har", ModuleType::HAR, },
|
{ "har", ModuleType::HAR },
|
||||||
{ "entry", ModuleType::ENTRY },
|
{ "entry", ModuleType::ENTRY },
|
||||||
{ "feature", ModuleType::FEATURE }
|
{ "feature", ModuleType::FEATURE },
|
||||||
|
{ "shared", ModuleType::SHARED }
|
||||||
};
|
};
|
||||||
|
|
||||||
const map<string, string> ConfigParser::JSON_STRING_IDS = {
|
const map<string, string> ConfigParser::JSON_STRING_IDS = {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ const vector<ConfigParser::ModuleType> ResourceMerge::ORDERS = {
|
|||||||
ConfigParser::ModuleType::NONE,
|
ConfigParser::ModuleType::NONE,
|
||||||
ConfigParser::ModuleType::ENTRY,
|
ConfigParser::ModuleType::ENTRY,
|
||||||
ConfigParser::ModuleType::FEATURE,
|
ConfigParser::ModuleType::FEATURE,
|
||||||
|
ConfigParser::ModuleType::SHARED,
|
||||||
ConfigParser::ModuleType::HAR
|
ConfigParser::ModuleType::HAR
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user