1# Copyright (c) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//base/security/asset/config.gni") 15import("//build/ohos.gni") 16 17group("asset_component") { 18 deps = [ 19 "interfaces/inner_kits/rs:asset_sdk_rust", 20 "interfaces/kits/c:asset_ndk", 21 "sa_profile:asset_sa_profiles", 22 "services/core_service:asset_service", 23 "services/plugin:asset_plugin", 24 ] 25 26 if (support_jsapi) { 27 deps += [ "frameworks/js/napi:asset_napi" ] 28 } 29} 30 31# need set different name from asset_test for building script limit 32group("asset_bin_test") { 33 testonly = true 34 deps = [ 35 "test/unittest/kits_ndk:asset_ndk_test", 36 "test/unittest/module_test:asset_dependency_test", 37 ] 38 if (enable_local_test) { 39 deps += [ "test/unittest/inner_kits_rust:asset_rust_test" ] 40 deps += [ "test/unittest/module_test:asset_module_test" ] 41 deps += [ "services/common:asset_calling_info_test" ] 42 deps += [ "services/db_operator:asset_db_operator_test" ] 43 } 44} 45