• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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
14napi_path = "//foundation//arkui/napi"
15ets_runtime_path = "//arkcompiler/ets_runtime"
16
17napi_sources = [
18  "$napi_path/callback_scope_manager/native_callback_scope_manager.cpp",
19  "$napi_path/module_manager/module_checker_delegate.cpp",
20  "$napi_path/module_manager/module_load_checker.cpp",
21  "$napi_path/module_manager/native_module_manager.cpp",
22  "$napi_path/native_engine/impl/ark/ark_native_deferred.cpp",
23  "$napi_path/native_engine/impl/ark/ark_native_engine.cpp",
24  "$napi_path/native_engine/impl/ark/ark_native_reference.cpp",
25  "$napi_path/native_engine/native_api.cpp",
26  "$napi_path/native_engine/native_async_work.cpp",
27  "$napi_path/native_engine/native_engine.cpp",
28  "$napi_path/native_engine/native_node_api.cpp",
29  "$napi_path/native_engine/native_safe_async_work.cpp",
30  "$napi_path/reference_manager/native_reference_manager.cpp",
31  "$napi_path/utils/log.cpp",
32]
33
34declare_args() {
35  napi_enable_container_scope = true
36  napi_enable_memleak_debug = true
37}
38