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("//build/ohos.gni") 15import("//base/security/asset/asset.gni") 16 17group("asset_component") { 18 deps = [ 19 "interfaces/inner_api/rs:asset_sdk", 20 "interfaces/kits/c:asset_ndk", 21 "sa_profile:asset_sa_profiles", 22 "services/core_service:asset_service", 23 ] 24 25 if (support_jsapi) { 26 deps += [ "frameworks/js/napi:asset_napi" ] 27 } 28} 29 30# need set different name from asset_test for building script limit 31group("asset_bin_test") { 32 testonly = true 33 deps = [ 34 "test/unittest/kits_ndk:asset_ndk_test", 35 "test/unittest/module_test:asset_dependency_test", 36 ] 37 if (enable_local_test) { 38 deps += ["test/unittest/inner_api_rust:asset_rust_test"] 39 deps += ["test/unittest/module_test:asset_module_test"] 40 deps += ["services/db_operator:asset_db_operator_test"] 41 } 42} 43