security_certificate_manager/BUILD.gn

153 lines
5.1 KiB
Plaintext
Raw Normal View History

# Copyright (C) 2022-2023 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.
group("cert_manager_sdk_test") {
testonly = true
if (os_level == "standard") {
deps = [
"./test:module_test",
"./test:multi_thread_test",
"./test:permission_test",
"./test:unittest",
]
} else {
}
}
group("cert_manager_napi") {
if (os_level == "standard") {
if (support_jsapi) {
deps = [ "./interfaces/kits/napi:certmanager" ]
}
}
}
group("cipher_napi") {
if (os_level == "standard") {
if (support_jsapi) {
deps = []
}
}
}
group("cert_manager_type_base") {
if (os_level == "standard") {
deps = [
":cert_manager_napi",
"./config:trusted_system_certificate0",
"./config:trusted_system_certificate1",
"./config:trusted_system_certificate10",
"./config:trusted_system_certificate11",
"./config:trusted_system_certificate12",
"./config:trusted_system_certificate13",
"./config:trusted_system_certificate14",
"./config:trusted_system_certificate15",
"./config:trusted_system_certificate16",
"./config:trusted_system_certificate17",
"./config:trusted_system_certificate18",
"./config:trusted_system_certificate19",
"./config:trusted_system_certificate2",
"./config:trusted_system_certificate20",
"./config:trusted_system_certificate21",
"./config:trusted_system_certificate22",
"./config:trusted_system_certificate23",
"./config:trusted_system_certificate24",
"./config:trusted_system_certificate25",
"./config:trusted_system_certificate26",
"./config:trusted_system_certificate27",
"./config:trusted_system_certificate28",
"./config:trusted_system_certificate29",
"./config:trusted_system_certificate3",
"./config:trusted_system_certificate30",
"./config:trusted_system_certificate31",
"./config:trusted_system_certificate32",
"./config:trusted_system_certificate33",
"./config:trusted_system_certificate34",
"./config:trusted_system_certificate35",
"./config:trusted_system_certificate36",
"./config:trusted_system_certificate37",
"./config:trusted_system_certificate38",
"./config:trusted_system_certificate39",
"./config:trusted_system_certificate4",
"./config:trusted_system_certificate40",
"./config:trusted_system_certificate41",
"./config:trusted_system_certificate42",
"./config:trusted_system_certificate43",
"./config:trusted_system_certificate44",
"./config:trusted_system_certificate45",
"./config:trusted_system_certificate46",
"./config:trusted_system_certificate47",
"./config:trusted_system_certificate48",
"./config:trusted_system_certificate49",
"./config:trusted_system_certificate5",
"./config:trusted_system_certificate50",
"./config:trusted_system_certificate51",
"./config:trusted_system_certificate52",
"./config:trusted_system_certificate53",
"./config:trusted_system_certificate54",
"./config:trusted_system_certificate55",
"./config:trusted_system_certificate56",
"./config:trusted_system_certificate57",
"./config:trusted_system_certificate58",
"./config:trusted_system_certificate59",
"./config:trusted_system_certificate6",
"./config:trusted_system_certificate60",
"./config:trusted_system_certificate61",
"./config:trusted_system_certificate62",
"./config:trusted_system_certificate63",
"./config:trusted_system_certificate64",
"./config:trusted_system_certificate65",
"./config:trusted_system_certificate66",
"./config:trusted_system_certificate67",
"./config:trusted_system_certificate7",
"./config:trusted_system_certificate8",
"./config:trusted_system_certificate9",
]
} else if (os_level == "small") {
deps = []
} else {
deps = []
}
}
group("cert_manager_type_fwk") {
if (os_level == "standard") {
deps =
[ "./interfaces/innerkits/cert_manager_standard/main:cert_manager_sdk" ]
} else if (os_level == "small") {
deps = []
} else {
deps = []
}
}
group("cert_manager_typer_services") {
if (os_level == "standard") {
deps = [
"./services/cert_manager_standard:cert_manager_service",
"./services/cert_manager_standard/cert_manager_service/main/os_dependency/sa/sa_profile:cert_manager_sa_profile",
]
} else if (os_level == "small") {
deps = []
} else {
deps = []
}
}
group("cert_manager_components") {
deps = [
":cert_manager_type_base",
":cert_manager_typer_services",
]
}