mirror of
https://gitee.com/openharmony/bundlemanager_app_domain_verify
synced 2025-01-14 04:10:52 +00:00
commit
73a488f5d6
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
declare_args() {
|
||||
cut_link_convert = false
|
||||
app_domain_verify_cut_link_convert = false
|
||||
}
|
||||
|
||||
ability_runtime_napi_path =
|
||||
|
@ -13,7 +13,7 @@
|
||||
"name": "app_domain_verify",
|
||||
"subsystem": "bundlemanager",
|
||||
"syscap": [],
|
||||
"features": [],
|
||||
"features": ["app_domain_verify_cut_link_convert"],
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
|
@ -47,7 +47,7 @@ config("app_domain_verify_agent_client_config") {
|
||||
"-ffunction-sections",
|
||||
"-Os",
|
||||
]
|
||||
if (cut_link_convert) {
|
||||
if (app_domain_verify_cut_link_convert) {
|
||||
cflags += [ "-D_CUT_LINK_CONVERT_" ]
|
||||
}
|
||||
cflags_cc = [ "-Os" ]
|
||||
|
@ -26,10 +26,12 @@ namespace AppDomainVerify {
|
||||
std::mutex AppDomainVerifyMgrClient::proxyLock_;
|
||||
sptr<IAppDomainVerifyMgrService> AppDomainVerifyMgrClient::appDomainVerifyMgrServiceProxy_;
|
||||
AppDomainVerifyMgrClient::StaticDestoryMonitor AppDomainVerifyMgrClient::staticDestoryMonitor_;
|
||||
#ifndef _CUT_LINK_CONVERT_
|
||||
static const std::string SCHEME_HTTPS("https");
|
||||
static const char* PATTEN = "^[a-zA-Z0-9_-]{1,99}$";
|
||||
constexpr int REG_ERR_BUF = 1024;
|
||||
constexpr int NM = 10;
|
||||
#endif
|
||||
AppDomainVerifyMgrClient::AppDomainVerifyMgrClient()
|
||||
{
|
||||
APP_DOMAIN_VERIFY_HILOGD(APP_DOMAIN_VERIFY_MGR_MODULE_CLIENT, "new instance created.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user