2022-03-16 03:16:06 +00:00
|
|
|
# Copyright (C) 2021-2022 Huawei Device Co., Ltd.
|
2021-06-01 16:43:15 +00:00
|
|
|
# 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
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2022-03-10 12:45:35 +00:00
|
|
|
import("//build/ohos.gni")
|
|
|
|
import("deviceauth_env.gni")
|
2021-06-01 16:43:15 +00:00
|
|
|
|
2022-03-10 12:45:35 +00:00
|
|
|
group("deviceauth_sdk_build") {
|
|
|
|
if (os_level == "standard" || os_level == "small") {
|
|
|
|
deps = [ "services:deviceauth_sdk" ]
|
2022-01-27 08:46:53 +00:00
|
|
|
}
|
2022-03-10 12:45:35 +00:00
|
|
|
}
|
2022-01-27 08:46:53 +00:00
|
|
|
|
2022-03-10 12:45:35 +00:00
|
|
|
group("deviceauth_service_build") {
|
|
|
|
if (os_level == "standard" || os_level == "small") {
|
|
|
|
deps = [ "services:deviceauth_service" ]
|
2021-07-17 07:54:25 +00:00
|
|
|
}
|
2022-03-10 12:45:35 +00:00
|
|
|
}
|
2021-09-08 02:28:11 +00:00
|
|
|
|
2022-03-10 12:45:35 +00:00
|
|
|
group("deviceauth_build") {
|
|
|
|
deps = [ "services:deviceauth" ]
|
|
|
|
}
|
2022-01-27 08:46:53 +00:00
|
|
|
|
2022-03-10 12:45:35 +00:00
|
|
|
group("deviceauth_test_build") {
|
2022-05-21 11:03:23 +00:00
|
|
|
deps = []
|
2022-03-10 12:45:35 +00:00
|
|
|
if (os_level == "standard") {
|
|
|
|
testonly = true
|
2022-05-21 11:03:23 +00:00
|
|
|
deps += [
|
2022-05-27 10:48:59 +00:00
|
|
|
"test/fuzztest/group_auth/authdevice_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_auth/processauthdata_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/addmember_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/checkaccess_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/creategroup_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/deletegroup_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/deletemember_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getdeviceinfobyid_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getgroupinfo_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getgroupinfobyid_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getjoinedgroups_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getpkinfolist_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getregisterinfo_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/getrelatedgroups_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/gettrusteddevices_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/isdeviceingroup_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/processbinddata_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/registercallback_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/registerdatachangelistener_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/unregistercallback_fuzzer:fuzztest",
|
|
|
|
"test/fuzztest/group_manage/unregisterdatachangelistener_fuzzer:fuzztest",
|
2022-05-21 11:03:23 +00:00
|
|
|
"test/unittest/deviceauth:deviceauth_llt",
|
|
|
|
]
|
2021-07-17 07:54:25 +00:00
|
|
|
}
|
2021-06-01 16:43:15 +00:00
|
|
|
}
|