• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 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/test.gni")
15import("//foundation/appexecfwk/standard/appexecfwk.gni")
16module_output_path = "bundle_framework/bundlemgrsst"
17
18ohos_systemtest("BmsCloneSystemTest") {
19  module_out_path = module_output_path
20
21  include_dirs = [
22    "//foundation/aafwk/standard/services/abilitymgr/include",
23    "//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content/",
24  ]
25
26  sources = [ "bms_clone_system_test.cpp" ]
27  cflags = []
28  if (target_cpu == "arm") {
29    cflags += [ "-DBINDER_IPC_32BIT" ]
30  }
31  deps = [
32    "${common_path}:libappexecfwk_common",
33    "${innerkits_path}/appexecfwk_base:appexecfwk_base",
34    "${innerkits_path}/appexecfwk_core:appexecfwk_core",
35    "${services_path}/test/moduletest/utils:tool_common",
36    "//foundation/aafwk/standard/interfaces/innerkits/base:base",
37    "//foundation/aafwk/standard/interfaces/innerkits/want:want",
38    "//foundation/aafwk/standard/services/abilitymgr:abilityms",
39    "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk",
40    "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
41    "//third_party/googletest:gtest_main",
42  ]
43
44  defines = [ "APP_LOG_TAG = \"BundleMgrTool\"" ]
45
46  external_deps = [
47    "ces_standard:cesfwk_innerkits",
48    "hiviewdfx_hilog_native:libhilog",
49    "ipc:ipc_core",
50  ]
51}
52
53group("systemtest") {
54  testonly = true
55
56  deps = [ ":BmsCloneSystemTest" ]
57}
58