• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 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/ohos.gni")
15import("appexecfwk.gni")
16
17group("bms_target") {
18  deps = [
19    "common:common_target",
20    "interfaces/inner_api/appexecfwk_base:appexecfwk_base",
21    "interfaces/inner_api/appexecfwk_core:appexecfwk_core",
22    "interfaces/kits/js:napi_packages",
23    "interfaces/kits/native/app_detail_ability:app_detail_ability",
24    "interfaces/kits/native/bundle:bundle_ndk",
25    "interfaces/kits/zip:tools_zip",
26    "sa_profile:appexecfwk_sa_profile",
27    "services/bundlemgr:bms_target",
28  ]
29  if (bundle_framework_graphics) {
30    deps += [ "interfaces/kits/bundlemgr_graphics:bundlemgr_graphics" ]
31  }
32}
33
34group("test_target") {
35  testonly = true
36
37  deps = [
38    "interfaces/kits/zip/test:unittest",
39    "services/bundlemgr/test:unittest",
40    "services/test/moduletest/common/bms:moduletest",
41    "test/benchmarktest:benchmarktest",
42    "test/fuzztest:fuzztest",
43    "test/resource/bmssystemtestability/abilitySrc:bms_system_test_app",
44    "test/sceneProject:test_hap",
45    "test/systemtest/common/bms:systemtest_bms",
46  ]
47}
48