1600cc4afSopenharmony_ci# Copyright (c) 2021-2023 Huawei Device Co., Ltd. 2600cc4afSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3600cc4afSopenharmony_ci# you may not use this file except in compliance with the License. 4600cc4afSopenharmony_ci# You may obtain a copy of the License at 5600cc4afSopenharmony_ci# 6600cc4afSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7600cc4afSopenharmony_ci# 8600cc4afSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9600cc4afSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10600cc4afSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11600cc4afSopenharmony_ci# See the License for the specific language governing permissions and 12600cc4afSopenharmony_ci# limitations under the License. 13600cc4afSopenharmony_ci 14600cc4afSopenharmony_ciimport("//build/ohos.gni") 15600cc4afSopenharmony_ciimport("../../../../appexecfwk.gni") 16600cc4afSopenharmony_ci 17600cc4afSopenharmony_ciconfig("bms_system_test_config") { 18600cc4afSopenharmony_ci defines = [ 19600cc4afSopenharmony_ci "APP_LOG_TAG = \"BmsMgrService\"", 20600cc4afSopenharmony_ci "LOG_DOMAIN = 0xD00111F", 21600cc4afSopenharmony_ci ] 22600cc4afSopenharmony_ci 23600cc4afSopenharmony_ci configs = [ 24600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_core:bundlemgr_sdk_config", 25600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_base:appexecfwk_base_sdk_config", 26600cc4afSopenharmony_ci ] 27600cc4afSopenharmony_ci} 28600cc4afSopenharmony_ci 29600cc4afSopenharmony_ciohos_source_set("bms_install_sst_source") { 30600cc4afSopenharmony_ci testonly = true 31600cc4afSopenharmony_ci 32600cc4afSopenharmony_ci sources = [ 33600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_base/src/ability_info.cpp", 34600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_base/src/application_info.cpp", 35600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_base/src/bundle_info.cpp", 36600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_base/src/bundle_user_info.cpp", 37600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_core/src/bundlemgr/bundle_installer_proxy.cpp", 38600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_core/src/bundlemgr/bundle_mgr_proxy.cpp", 39600cc4afSopenharmony_ci "${inner_api_path}/appexecfwk_core/src/bundlemgr/status_receiver_proxy.cpp", 40600cc4afSopenharmony_ci ] 41600cc4afSopenharmony_ci 42600cc4afSopenharmony_ci include_dirs = [ "//third_party/json/include" ] 43600cc4afSopenharmony_ci 44600cc4afSopenharmony_ci public_configs = [ ":bms_system_test_config" ] 45600cc4afSopenharmony_ci 46600cc4afSopenharmony_ci public_deps = [ 47600cc4afSopenharmony_ci "${common_path}:libappexecfwk_common", 48600cc4afSopenharmony_ci "//third_party/googletest:gtest_main", 49600cc4afSopenharmony_ci ] 50600cc4afSopenharmony_ci cflags = [] 51600cc4afSopenharmony_ci if (target_cpu == "arm") { 52600cc4afSopenharmony_ci cflags += [ "-DBINDER_IPC_32BIT" ] 53600cc4afSopenharmony_ci } 54600cc4afSopenharmony_ci deps = [ 55600cc4afSopenharmony_ci "${services_path}/test/moduletest/utils:tool_common", 56600cc4afSopenharmony_ci "//third_party/googletest:gtest_main", 57600cc4afSopenharmony_ci 58600cc4afSopenharmony_ci # "${core_path}:appexecfwk_core", 59600cc4afSopenharmony_ci ] 60600cc4afSopenharmony_ci 61600cc4afSopenharmony_ci external_deps = [ 62600cc4afSopenharmony_ci "ability_base:base", 63600cc4afSopenharmony_ci "ability_base:want", 64600cc4afSopenharmony_ci "c_utils:utils", 65600cc4afSopenharmony_ci "hilog:libhilog", 66600cc4afSopenharmony_ci "ipc:ipc_core", 67600cc4afSopenharmony_ci ] 68600cc4afSopenharmony_ci 69600cc4afSopenharmony_ci part_name = "bundle_framework" 70600cc4afSopenharmony_ci} 71600cc4afSopenharmony_ci 72600cc4afSopenharmony_cigroup("systemtest_bms") { 73600cc4afSopenharmony_ci testonly = true 74600cc4afSopenharmony_ci 75600cc4afSopenharmony_ci deps = [ 76600cc4afSopenharmony_ci "acts_bms_kit_system_test:systemtest", 77600cc4afSopenharmony_ci "bms_app_control_host_test:systemtest", 78600cc4afSopenharmony_ci "bms_bundle_mgr_host_test:systemtest", 79600cc4afSopenharmony_ci "bms_bundle_resource_host_test:systemtest", 80600cc4afSopenharmony_ci "bms_clean_cache_callback_host_test:systemtest", 81600cc4afSopenharmony_ci "bms_client_system_test:systemtest", 82600cc4afSopenharmony_ci "bms_code_signature_test:systemtest", 83600cc4afSopenharmony_ci "bms_compatible_system_test:systemtest", 84600cc4afSopenharmony_ci "bms_default_app_host_test:systemtest", 85600cc4afSopenharmony_ci "bms_install_system_test:systemtest", 86600cc4afSopenharmony_ci "bms_launcher_service_system_test:systemtest", 87600cc4afSopenharmony_ci "bms_overlay_install_test:systemtest", 88600cc4afSopenharmony_ci "bms_permission_grant_system_test:systemtest", 89600cc4afSopenharmony_ci "bms_sandbox_app_system_test:systemtest", 90600cc4afSopenharmony_ci "bms_search_system_test:systemtest", 91600cc4afSopenharmony_ci "bms_stream_installer_host_test:systemtest", 92600cc4afSopenharmony_ci "bms_uninstall_system_test:systemtest", 93600cc4afSopenharmony_ci "bms_verify_manager_host_test:systemtest", 94600cc4afSopenharmony_ci "extend_resource_manager_host_test:systemtest", 95600cc4afSopenharmony_ci "extend_resource_manager_proxy_test:systemtest", 96600cc4afSopenharmony_ci ] 97600cc4afSopenharmony_ci} 98