security_deviceauth/BUILD.gn

49 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-06-01 16:43:15 +00:00
# Copyright (C) 2021 Huawei Device Co., Ltd.
# 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.
if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
lite_component("hichain_3_0") {
features = [
"services:deviceauth",
"services:deviceauth_service",
"services:deviceauth_sdk",
]
}
} else {
import("//build/ohos.gni")
import("deviceauth_env.gni")
group("deviceauth_build") {
deps = [
"services:deviceauth",
]
}
2021-06-01 16:43:15 +00:00
group("deviceauth_service_build") {
deps = [
"services:deviceauth_service",
]
}
2021-06-01 16:43:15 +00:00
group("deviceauth_sdk_build") {
deps = [
"services:deviceauth_sdk",
]
}
group("deviceauth_test_build") {
testonly = true
deps = [ "test/unittest/deviceauth:deviceauth_llt" ]
}
2021-06-01 16:43:15 +00:00
}