modify ipcamera build config

Signed-off-by: ding_dong_dong <dingdongdong4@huawei.com>
This commit is contained in:
ding_dong_dong 2023-06-30 10:22:21 +08:00
parent 7d7f8a7f83
commit 7054f24fbc
4 changed files with 13 additions and 3 deletions

View File

@ -39,7 +39,8 @@
"subsystem": "distributeddatamgr",
"syscap": [],
"features": [
"datamgr_service_config"
"datamgr_service_config",
"datamgr_service_udmf"
],
"adapted_system_type": [
"standard"

View File

@ -51,4 +51,6 @@ declare_args() {
}
datamgr_service_config = true
datamgr_service_udmf = false
}

View File

@ -12,10 +12,14 @@
# limitations under the License.
import("//build/ohos.gni")
import("//foundation/distributeddatamgr/datamgr_service/datamgr_service.gni")
#########################################################################################
group("fuzztest") {
testonly = true
deps = [ "udmfservice_fuzzer:fuzztest" ]
deps = []
if (datamgr_service_udmf) {
deps += [ "udmfservice_fuzzer:fuzztest" ]
}
}

View File

@ -14,7 +14,10 @@ import("//build/ohos.gni")
import("//foundation/distributeddatamgr/datamgr_service/datamgr_service.gni")
group("build_module") {
deps = [ ":udmf_server" ]
deps = []
if (datamgr_service_udmf) {
deps += [ ":udmf_server" ]
}
}
config("module_public_config") {