• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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")
15
16ohos_shared_library("bundle") {
17  include_dirs = [
18    "//foundation/ace/napi/interfaces/kits",
19    "//third_party/node/src",
20    "//third_party/libuv/include",
21    "//foundation/aafwk/standard/services/common/include",
22    "//utils/system/safwk/native/include",
23    "./",
24  ]
25
26  sources = [
27    "bundle_mgr.cpp",
28    "installer_callback.cpp",
29    "native_module.cpp",
30    "permission_callback.cpp",
31  ]
32
33  deps = [
34    "//foundation/aafwk/standard/interfaces/innerkits/base:base",
35    "//foundation/aafwk/standard/interfaces/innerkits/want:want",
36    "//foundation/ace/napi:ace_napi",
37    "//foundation/appexecfwk/standard/common:libappexecfwk_common",
38    "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base:appexecfwk_base",
39    "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_core:appexecfwk_core",
40    "//foundation/appexecfwk/standard/libs/libeventhandler:libeventhandler_target",
41    "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk",
42    "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
43    "//utils/native/base:utils",
44  ]
45
46  external_deps = [
47    "hiviewdfx_hilog_native:libhilog",
48    "ipc:ipc_core",
49  ]
50
51  relative_install_dir = "module"
52  subsystem_name = "appexecfwk"
53  part_name = "appexecfwk_standard"
54}
55