Слияние кода завершено, страница обновится автоматически
# 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 )