1 Star 0 Fork 441

shilei91/arkui_napi_1

forked from OpenHarmony/arkui_napi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
napi.gni 2.01 KB
一键复制 编辑 原始数据 按行查看 历史
zhuzhihui7 提交于 2024-12-10 19:23 . max-js-thread
# Copyright (c) 2022 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.
napi_path = "//foundation//arkui/napi"
ets_runtime_path = "//arkcompiler/ets_runtime"
napi_sources = [
"callback_scope_manager/native_callback_scope_manager.cpp",
"module_manager/module_checker_delegate.cpp",
"module_manager/module_load_checker.cpp",
"module_manager/native_module_manager.cpp",
"native_engine/impl/ark/ark_crash_holder.cpp",
"native_engine/impl/ark/ark_idle_monitor.cpp",
"native_engine/impl/ark/ark_native_deferred.cpp",
"native_engine/impl/ark/ark_native_engine.cpp",
"native_engine/impl/ark/ark_native_reference.cpp",
"native_engine/native_api.cpp",
"native_engine/native_async_work.cpp",
"native_engine/native_create_env.cpp",
"native_engine/native_engine.cpp",
"native_engine/native_node_api.cpp",
"native_engine/native_safe_async_work.cpp",
"native_engine/native_sendable.cpp",
"native_engine/worker_manager.cpp",
"reference_manager/native_reference_manager.cpp",
"utils/log.cpp",
]
if (is_mingw) {
napi_sources += [ "utils/platform/windows/file.cpp" ]
} else {
napi_sources += [ "utils/platform/unix_like/file.cpp" ]
}
declare_args() {
napi_enable_container_scope = false
napi_enable_memleak_debug = true
# Enable pgo for building
napi_feature_enable_pgo = false
# Set pgo profdata path
napi_feature_pgo_path = ""
}
is_ohos_standard_system = is_standard_system && !is_arkui_x
module_output_path = "arkcompiler/napi"
if (!defined(ark_standalone_build)) {
ark_standalone_build = false
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shilei91/arkui_napi_1.git
git@gitee.com:shilei91/arkui_napi_1.git
shilei91
arkui_napi_1
arkui_napi_1
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385