mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-25 22:05:46 -04:00
1fb6d474da
Signed-off-by: hanhaibin <hanhaibin@huawei.com>
61 lines
2.0 KiB
Plaintext
61 lines
2.0 KiB
Plaintext
# Copyright (c) 2021 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
import("//build/ohos.gni")
|
|
import("//foundation/ace/ace_engine/ace_config.gni")
|
|
|
|
ohos_shared_library("plugincomponent") {
|
|
include_dirs = [
|
|
"$ace_root",
|
|
"$ace_root/frameworks",
|
|
"$root_out_dir/ace/framework",
|
|
"//foundation/ace",
|
|
"//foundation/ace/ace_engine/frameworks",
|
|
"//foundation/aafwk/standard/interfaces/innerkits/want/include",
|
|
"//foundation/aafwk/standard/services/common/include",
|
|
"//foundation/ace/ace_engine/interfaces/innerkits/ui_service_manager/include",
|
|
]
|
|
|
|
sources = [
|
|
"js_plugin_callback.cpp",
|
|
"js_plugin_callback_mgr.cpp",
|
|
"js_plugin_component.cpp",
|
|
"js_plugin_util.cpp",
|
|
"js_plugin_want.cpp",
|
|
]
|
|
|
|
deps = [
|
|
"$ace_root/build:libace",
|
|
"$ace_root/build:libace_engine_declarative",
|
|
"//foundation/aafwk/standard/frameworks/kits/ability/native:abilitykit_native",
|
|
"//foundation/aafwk/standard/interfaces/innerkits/base:base",
|
|
"//foundation/ace/ace_engine/interfaces/innerkits/ui_service_manager:ui_service_mgr",
|
|
"//foundation/ace/napi/:ace_napi",
|
|
"//utils/native/base:utils",
|
|
]
|
|
|
|
external_deps = [
|
|
"ability_base:base",
|
|
"ability_base:want",
|
|
"ability_runtime:app_manager",
|
|
"bundle_framework:appexecfwk_base",
|
|
"bundle_framework:appexecfwk_core",
|
|
"hiviewdfx_hilog_native:libhilog",
|
|
"ipc:ipc_core",
|
|
]
|
|
|
|
relative_install_dir = "module"
|
|
subsystem_name = "ace"
|
|
part_name = ace_engine_part
|
|
}
|