diff --git a/baselib/utils/BUILD.gn b/baselib/utils/BUILD.gn index 3fbefa5d8c27e3b45271676f8a89a4387080f777..4630a26a9636ff00d0dec1c532aab51951cc8be2 100644 --- a/baselib/utils/BUILD.gn +++ b/baselib/utils/BUILD.gn @@ -76,9 +76,8 @@ ohos_static_library("utils_static") { sources += [ "src/utils_timer.cpp" ] - deps += [ "//third_party/cJSON:cjson" ] - external_deps = [ + "cJSON:cjson", "c_utils:utils", "hilog:libhilog", ] diff --git a/bundle.json b/bundle.json index cba9724c19ecc642915bcd28175d3ad15c9d7ecb..64e4183ff5f6386fd36867031208048f2d599dbc 100644 --- a/bundle.json +++ b/bundle.json @@ -17,17 +17,24 @@ "syscap": [ "SystemCapability.Security.DeviceSecurityLevel" ], - "features": [], + "features": [ + "device_security_level_feature_cred_level", + "device_security_level_feature_plugin_path", + "device_security_level_feature_secondary_session_name" + ], "hisysevent_config": [ "//base/security/device_security_level/hisysevent.yaml" ], "adapted_system_type": [ - "standard" + "standard", + "small", + "mini" ], "rom": "200KB", "ram": "2500KB", "deps": { "components": [ + "cJSON", "c_utils", "device_auth", "device_manager", @@ -39,12 +46,10 @@ "init", "ipc", "safwk", - "samgr" - ], - "third_party": [ - "cJSON", + "samgr", "openssl" - ] + ], + "third_party": [ "openssl" ] }, "build": { "group_type": { diff --git a/oem_property/common/BUILD.gn b/oem_property/common/BUILD.gn index 6aafa0e02fd773253a558bef89b36aafcbd86911..184f1b069c8eecf5779c2b356ec6718c3c35279e 100644 --- a/oem_property/common/BUILD.gn +++ b/oem_property/common/BUILD.gn @@ -47,11 +47,10 @@ ohos_source_set("oem_common_obj") { } branch_protector_ret = "pac_ret" - deps += [ "//third_party/openssl:libcrypto_shared" ] - external_deps = [ "c_utils:utils", "hilog:libhilog", + "openssl:libcrypto_shared", ] } configs = [ diff --git a/services/common/BUILD.gn b/services/common/BUILD.gn index f66313098ea8f2b2a676e3698b72df0114c0ad82..b41a1aa55c10bbc8e84b321c6cd22036dcc4a086 100644 --- a/services/common/BUILD.gn +++ b/services/common/BUILD.gn @@ -52,12 +52,11 @@ ohos_source_set("service_common_obj") { } branch_protector_ret = "pac_ret" - deps += [ "//third_party/openssl:libcrypto_shared" ] - external_deps = [ "c_utils:utils", "hilog:libhilog", "ipc:ipc_core", + "openssl:libcrypto_shared", ] }