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_sources = [ 15 "//foundation/arkui/napi/callback_scope_manager/native_callback_scope_manager.cpp", 16 "//foundation/arkui/napi/module_manager/module_load_checker.cpp", 17 "//foundation/arkui/napi/module_manager/native_module_manager.cpp", 18 "//foundation/arkui/napi/native_engine/native_api.cpp", 19 "//foundation/arkui/napi/native_engine/native_async_work.cpp", 20 "//foundation/arkui/napi/native_engine/native_engine.cpp", 21 "//foundation/arkui/napi/native_engine/native_engine_interface.cpp", 22 "//foundation/arkui/napi/native_engine/native_node_api.cpp", 23 "//foundation/arkui/napi/native_engine/native_safe_async_work.cpp", 24 "//foundation/arkui/napi/reference_manager/native_reference_manager.cpp", 25 "//foundation/arkui/napi/scope_manager/native_scope_manager.cpp", 26 "//foundation/arkui/napi/utils/log.cpp", 27] 28 29declare_args() { 30 napi_enable_container_scope = true 31 napi_enable_memleak_debug = true 32} 33