13f085823Sopenharmony_ci# Copyright (c) 2020 Huawei Device Co., Ltd. 23f085823Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 33f085823Sopenharmony_ci# you may not use this file except in compliance with the License. 43f085823Sopenharmony_ci# You may obtain a copy of the License at 53f085823Sopenharmony_ci# 63f085823Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 73f085823Sopenharmony_ci# 83f085823Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 93f085823Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 103f085823Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 113f085823Sopenharmony_ci# See the License for the specific language governing permissions and 123f085823Sopenharmony_ci# limitations under the License. 133f085823Sopenharmony_ci 143f085823Sopenharmony_ciimport("//build/lite/config/test.gni") 153f085823Sopenharmony_ci 163f085823Sopenharmony_cisubsystem_test("test") { 173f085823Sopenharmony_ci test_components = [] 183f085823Sopenharmony_ci if (ohos_kernel_type == "liteos_m") { 193f085823Sopenharmony_ci features += [] 203f085823Sopenharmony_ci } else if (ohos_kernel_type == "liteos_a") { 213f085823Sopenharmony_ci test_components += [ "cxx_demo/test/unittest/common:CalcSubTest" ] 223f085823Sopenharmony_ci } 233f085823Sopenharmony_ci} 24