1ac4d6d58Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 2ac4d6d58Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3ac4d6d58Sopenharmony_ci# you may not use this file except in compliance with the License. 4ac4d6d58Sopenharmony_ci# You may obtain a copy of the License at 5ac4d6d58Sopenharmony_ci# 6ac4d6d58Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7ac4d6d58Sopenharmony_ci# 8ac4d6d58Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9ac4d6d58Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10ac4d6d58Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11ac4d6d58Sopenharmony_ci# See the License for the specific language governing permissions and 12ac4d6d58Sopenharmony_ci# limitations under the License. 13ac4d6d58Sopenharmony_ci 14ac4d6d58Sopenharmony_ciimport("//build/lite/config/component/lite_component.gni") 15ac4d6d58Sopenharmony_ci 16ac4d6d58Sopenharmony_cilite_component("device_atTest_lite") { 17ac4d6d58Sopenharmony_ci features = [] 18ac4d6d58Sopenharmony_ci if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { 19ac4d6d58Sopenharmony_ci features += [ 20ac4d6d58Sopenharmony_ci "framework:devattest_service", 21ac4d6d58Sopenharmony_ci "interfaces/kit/js:kit_device_attest", 22ac4d6d58Sopenharmony_ci "test/startup:devattest_client", 23ac4d6d58Sopenharmony_ci ] 24ac4d6d58Sopenharmony_ci } else if (ohos_kernel_type == "liteos_m") { 25ac4d6d58Sopenharmony_ci features += [ "framework:devattest_sdk" ] 26ac4d6d58Sopenharmony_ci } 27ac4d6d58Sopenharmony_ci} 28