1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openharmony-arkui_napi

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
napi.gni 2.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
openharmony_ci Отправлено 10.04.2025 15:26 db39362
# 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"
# Set is enable data_protector
enabled_data_protector = false
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_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/impl/ark/ark_native_timer.cpp",
"native_engine/impl/ark/cj_support.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_event.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/data_protector.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 = ""
}
if (defined(target_cpu) && target_cpu == "arm64" &&
!(defined(is_arkui_x) && is_arkui_x) && is_ohos && !is_emulator) {
enabled_data_protector = true
}
is_ohos_standard_system = is_standard_system && !is_arkui_x
module_output_path = "napi/napi"
if (!defined(ark_standalone_build)) {
ark_standalone_build = false
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/openharmony-arkui_napi.git
git@api.gitlife.ru:oschina-mirror/openharmony-arkui_napi.git
oschina-mirror
openharmony-arkui_napi
openharmony-arkui_napi
master