1# Copyright (c) 2021-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("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni") 15 16ace_unittest("common_test") { 17 type = "new" 18 module_output = "common" 19 sources = [ 20 "$ace_root/adapter/ohos/entrance/file_asset_provider_impl.cpp", 21 "$ace_root/frameworks/core/common/asset_manager_impl.cpp", 22 "$ace_root/frameworks/core/common/environment/environment_proxy.cpp", 23 "$ace_root/frameworks/core/common/resource/resource_manager.cpp", 24 "$ace_root/frameworks/core/common/resource/resource_wrapper.cpp", 25 "$ace_root/frameworks/core/common/rosen/rosen_asset_manager.cpp", 26 "$ace_root/frameworks/core/common/rosen/rosen_convert_helper.cpp", 27 "$ace_root/frameworks/core/common/rosen/rosen_window.cpp", 28 "$ace_root/frameworks/core/common/sharedata/share_data.cpp", 29 "$ace_root/frameworks/core/common/storage/storage_proxy.cpp", 30 "$ace_root/frameworks/core/common/thread_checker.cpp", 31 "$ace_root/frameworks/core/common/vibrator/vibrator_proxy.cpp", 32 "$ace_root/test/mock/core/common/mock_resource_adapter_v2.cpp", 33 "asset/asset_test.cpp", 34 "clipboard/clipboard_test.cpp", 35 "environment/environment_test.cpp", 36 "ime/ime_test.cpp", 37 "others/thread_checker_test.cpp", 38 "recorder/event_recorder_test.cpp", 39 "resource/resource_manager_test.cpp", 40 "rosen/rosen_test.cpp", 41 "sharedata/sharedata_test.cpp", 42 "storage/storage_test.cpp", 43 "vibrator/vibrator_test.cpp", 44 ] 45} 46 47group("core_common_unittest") { 48 testonly = true 49 deps = [ 50 ":common_test", 51 "form:form_manager_test", 52 "plugin:plugin_manager_test", 53 ] 54} 55