mirror of
https://gitee.com/openharmony/security_security_component_manager
synced 2024-11-23 06:29:45 +00:00
安全控件更改部件名
Signed-off-by: y1585740638 <yulei99@huawei.com> Change-Id: I08712719384ff92516f806ec2570f39a1fbf2aa7
This commit is contained in:
parent
d1964250cc
commit
f045eab49d
@ -26,7 +26,7 @@
|
||||
## 目录
|
||||
|
||||
```
|
||||
/base/security/security_component
|
||||
/base/security/security_component_manager
|
||||
├── frameworks # 框架层,基础功能代码存放目录
|
||||
│ ├── common # 框架公共代码存放目录
|
||||
│ ├── enhance_adapter # 能力增强适配代码存放目录
|
||||
|
38
bundle.json
38
bundle.json
@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "@openharmony/security_component",
|
||||
"description": "security_component",
|
||||
"name": "@openharmony/security_component_manager",
|
||||
"description": "security_component_manager",
|
||||
"version": "4.0.0",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "base/security/security_component"
|
||||
"destPath": "base/security/security_component_manager"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"component": {
|
||||
"name": "security_component",
|
||||
"name": "security_component_manager",
|
||||
"subsystem": "security",
|
||||
"syscap": [],
|
||||
"hisysevent_config": [
|
||||
"//base/security/security_component/hisysevent.yaml"
|
||||
"//base/security/security_component_manager/hisysevent.yaml"
|
||||
],
|
||||
"features": [ "security_component_feature_coverage = false" ],
|
||||
"features": [ "security_component_manager_feature_coverage = false" ],
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
@ -44,61 +44,61 @@
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [
|
||||
"//base/security/security_component:security_component_build_module"
|
||||
"//base/security/security_component_manager:security_component_build_module"
|
||||
],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//base/security/security_component/interfaces/inner_api/security_component:libsecurity_component_sdk",
|
||||
"name": "//base/security/security_component_manager/interfaces/inner_api/security_component:libsecurity_component_sdk",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"i_sec_comp_probe.h",
|
||||
"sec_comp_kit.h"
|
||||
],
|
||||
"header_base": "//base/security/security_component/interfaces/inner_api/security_component/include"
|
||||
"header_base": "//base/security/security_component_manager/interfaces/inner_api/security_component/include"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "//base/security/security_component/interfaces/inner_api/enhance_kits:libsecurity_component_enhance_sdk",
|
||||
"name": "//base/security/security_component_manager/interfaces/inner_api/enhance_kits:libsecurity_component_enhance_sdk",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"sec_comp_enhance_kit.h"
|
||||
],
|
||||
"header_base": "//base/security/security_component/interfaces/inner_api/enhance_kits/include"
|
||||
"header_base": "//base/security/security_component_manager/interfaces/inner_api/enhance_kits/include"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "//base/security/security_component/frameworks:libsecurity_component_framework",
|
||||
"name": "//base/security/security_component_manager/frameworks:libsecurity_component_framework",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"location_button.h",
|
||||
"paste_button.h",
|
||||
"save_button.h"
|
||||
],
|
||||
"header_base": "//base/security/security_component/interfaces/inner_api/security_component/include"
|
||||
"header_base": "//base/security/security_component_manager/interfaces/inner_api/security_component/include"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "//base/security/security_component/frameworks:libsecurity_component_enhance_adapter",
|
||||
"name": "//base/security/security_component_manager/frameworks:libsecurity_component_enhance_adapter",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"sec_comp_enhance_adapter.h"
|
||||
],
|
||||
"header_base": "//base/security/security_component/frameworks/enhance_adapter/include"
|
||||
"header_base": "//base/security/security_component_manager/frameworks/enhance_adapter/include"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "//base/security/security_component/services/security_component_service/sa:security_component_service",
|
||||
"name": "//base/security/security_component_manager/services/security_component_service/sa:security_component_service",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"sec_comp_manager.h"
|
||||
],
|
||||
"header_base": "//base/security/security_component/services/security_component_service/sa/sa_main"
|
||||
"header_base": "//base/security/security_component_manager/services/security_component_service/sa/sa_main"
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": [
|
||||
"//base/security/security_component:security_component_build_module_test",
|
||||
"//base/security/security_component:security_component_build_fuzz_test"
|
||||
"//base/security/security_component_manager:security_component_build_module_test",
|
||||
"//base/security/security_component_manager:security_component_build_fuzz_test"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -12,11 +12,11 @@
|
||||
# limitations under the License.
|
||||
|
||||
declare_args() {
|
||||
security_component_feature_coverage = false
|
||||
security_component_manager_feature_coverage = false
|
||||
}
|
||||
|
||||
config("coverage_flags") {
|
||||
if (security_component_feature_coverage) {
|
||||
if (security_component_manager_feature_coverage) {
|
||||
cflags = [ "--coverage" ]
|
||||
ldflags = [ "--coverage" ]
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ config("libsecurity_component_framework_config") {
|
||||
|
||||
ohos_shared_library("libsecurity_component_framework") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
output_name = "libsecurity_component_framework"
|
||||
|
||||
include_dirs = [
|
||||
@ -65,7 +65,7 @@ config("libsecurity_component_enhance_adapter_config") {
|
||||
|
||||
ohos_shared_library("libsecurity_component_enhance_adapter") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
output_name = "libsecurity_component_enhance_adapter"
|
||||
|
||||
include_dirs = [
|
||||
|
@ -26,7 +26,7 @@ config("sec_comp_enhance_config") {
|
||||
|
||||
ohos_shared_library("libsecurity_component_enhance_sdk") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
output_name = "libsecurity_component_enhance_sdk"
|
||||
|
||||
public_configs = [ ":sec_comp_enhance_config" ]
|
||||
|
@ -17,7 +17,7 @@ sec_comp_root_dir = "../../../.."
|
||||
|
||||
ohos_unittest("sec_comp_enhance_sdk_test") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
module_out_path = part_name + "/" + part_name
|
||||
|
||||
include_dirs = [ "unittest/src" ]
|
||||
|
@ -26,7 +26,7 @@ config("sec_comp_config") {
|
||||
|
||||
ohos_shared_library("libsecurity_component_sdk") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
output_name = "libsecurity_component_sdk"
|
||||
|
||||
public_configs = [ ":sec_comp_config" ]
|
||||
|
@ -18,7 +18,7 @@ sec_comp_root_dir = "../../../.."
|
||||
|
||||
ohos_unittest("sec_comp_sdk_test") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
module_out_path = part_name + "/" + part_name
|
||||
|
||||
include_dirs = [
|
||||
@ -57,7 +57,7 @@ ohos_unittest("sec_comp_sdk_test") {
|
||||
|
||||
ohos_unittest("sec_comp_register_callback_test") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
module_out_path = part_name + "/" + part_name
|
||||
|
||||
include_dirs = [
|
||||
|
@ -11,7 +11,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
sec_comp_dir = "//base/security/security_component"
|
||||
sec_comp_dir = "//base/security/security_component_manager"
|
||||
|
||||
if (!defined(global_parts_info) ||
|
||||
defined(global_parts_info.security_security_component_enhance)) {
|
||||
|
@ -29,12 +29,12 @@ ohos_prebuilt_etc("security_component_service.rc") {
|
||||
source = "security_component_service.cfg"
|
||||
relative_install_dir = "init"
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
}
|
||||
|
||||
ohos_shared_library("security_component_service") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
|
||||
include_dirs = [
|
||||
"sa_main",
|
||||
|
@ -15,5 +15,5 @@ import("//build/ohos/sa_profile/sa_profile.gni")
|
||||
|
||||
ohos_sa_profile("security_component_sa_profile_standard") {
|
||||
sources = [ "3506.json" ]
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ sec_comp_root_dir = "../../../.."
|
||||
|
||||
ohos_unittest("sec_comp_service_test") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
module_out_path = part_name + "/" + part_name
|
||||
|
||||
include_dirs = [
|
||||
@ -87,7 +87,7 @@ ohos_unittest("sec_comp_service_test") {
|
||||
|
||||
ohos_unittest("sec_comp_service_mock_test") {
|
||||
subsystem_name = "security"
|
||||
part_name = "security_component"
|
||||
part_name = "security_component_manager"
|
||||
module_out_path = part_name + "/" + part_name
|
||||
|
||||
include_dirs = [
|
||||
|
Loading…
Reference in New Issue
Block a user