mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-23 06:59:59 +00:00
use build_selinux instead of use librestorecon feature
Signed-off-by: 张文迪 <zhangwendi3@huawei.com>
This commit is contained in:
parent
f1702dd242
commit
0908e36a30
@ -20,8 +20,7 @@
|
||||
"features": [
|
||||
"storage_service_fstools",
|
||||
"storage_service_graphic",
|
||||
"storage_service_user_file_sharing",
|
||||
"storage_service_feature_use_librestorecon"
|
||||
"storage_service_user_file_sharing"
|
||||
],
|
||||
"adapted_system_type": ["standard"],
|
||||
"rom": "",
|
||||
|
@ -190,7 +190,7 @@ ohos_shared_library("storage_common_utils") {
|
||||
"./utils/string_utils.cpp",
|
||||
]
|
||||
|
||||
if (storage_service_feature_use_librestorecon) {
|
||||
if (build_selinux) {
|
||||
defines += [ "USE_LIBRESTORECON" ]
|
||||
include_dirs +=
|
||||
[ "//base/security/selinux/interfaces/policycoreutils/include" ]
|
||||
|
@ -15,5 +15,4 @@ ability_runtime_path = "//foundation/ability/ability_runtime"
|
||||
ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
|
||||
declare_args() {
|
||||
storage_service_graphic = true
|
||||
storage_service_feature_use_librestorecon = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user