mirror of
https://gitee.com/openharmony/applications_permission_manager
synced 2024-11-26 20:50:48 +00:00
代码混淆及debug
Signed-off-by: fanchenxuan <fanchenxuan@huawei.com>
This commit is contained in:
parent
c4b9c58bfe
commit
ee1a6b11f9
@ -4,8 +4,8 @@
|
||||
"app": {
|
||||
"bundleName": "com.ohos.permissionmanager",
|
||||
"vendor": "example",
|
||||
"versionCode": 1000066,
|
||||
"versionName": "1.6.6",
|
||||
"versionCode": 1000067,
|
||||
"versionName": "1.6.7",
|
||||
"icon": "$media:app_icon",
|
||||
"label": "$string:app_name",
|
||||
"minAPIVersion": 12,
|
||||
|
@ -16,8 +16,8 @@
|
||||
"app": {
|
||||
"bundleName": "com.ohos.permissionmanager",
|
||||
"vendor": "example",
|
||||
"versionCode": 1000066,
|
||||
"versionName": "1.6.6",
|
||||
"versionCode": 1000067,
|
||||
"versionName": "1.6.7",
|
||||
"icon": "$media:app_icon",
|
||||
"label": "$string:app_name",
|
||||
"minAPIVersion": 12,
|
||||
|
2
BUILD.gn
2
BUILD.gn
@ -23,7 +23,7 @@ ohos_app("permission_manager") {
|
||||
hap_name = "permission_manager"
|
||||
part_name = "prebuilt_hap"
|
||||
subsystem_name = "applications"
|
||||
js_build_mode = "debug"
|
||||
js_build_mode = "release"
|
||||
module_install_dir = "app/com.ohos.permissionmanager"
|
||||
sdk_home = "//prebuilts/ohos-sdk/linux"
|
||||
sdk_type_name = [ "sdk.dir" ]
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2022-2024 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -18,6 +18,21 @@
|
||||
"entryModules": ['entry'],
|
||||
"buildOption": {
|
||||
},
|
||||
"buildOptionSet": [
|
||||
{
|
||||
"name": "release",
|
||||
"arkOptions": {
|
||||
"obfuscation": {
|
||||
"ruleOptions": {
|
||||
"enable": true,
|
||||
"files": [
|
||||
"./obfuscation-rules.txt"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"targets": [
|
||||
{
|
||||
"name": "default",
|
||||
|
3
permissionmanager/obfuscation-rules.txt
Normal file
3
permissionmanager/obfuscation-rules.txt
Normal file
@ -0,0 +1,3 @@
|
||||
-enable-toplevel-obfuscation
|
||||
-enable-export-obfuscation
|
||||
-enable-property-obfuscation
|
Loading…
Reference in New Issue
Block a user