10485dae0Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd.
20485dae0Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
30485dae0Sopenharmony_ci# you may not use this file except in compliance with the License.
40485dae0Sopenharmony_ci# You may obtain a copy of the License at
50485dae0Sopenharmony_ci#
60485dae0Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
70485dae0Sopenharmony_ci#
80485dae0Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
90485dae0Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
100485dae0Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
110485dae0Sopenharmony_ci# See the License for the specific language governing permissions and
120485dae0Sopenharmony_ci# limitations under the License.
130485dae0Sopenharmony_ciimport("//build/lite/config/component/lite_component.gni")
140485dae0Sopenharmony_ciimport("//foundation/ai/ai_engine/services/ai_plugin_config.gni")
150485dae0Sopenharmony_ci
160485dae0Sopenharmony_cilite_component("test") {
170485dae0Sopenharmony_ci  features = [
180485dae0Sopenharmony_ci    "common:common",
190485dae0Sopenharmony_ci    "function:function",
200485dae0Sopenharmony_ci    "performance:performance",
210485dae0Sopenharmony_ci  ]
220485dae0Sopenharmony_ci
230485dae0Sopenharmony_ci  foreach(plugin, activate_plugin_list) {
240485dae0Sopenharmony_ci    features += [ "//foundation/ai/$plugin/test:test" ]
250485dae0Sopenharmony_ci  }
260485dae0Sopenharmony_ci}
27