代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony-SIG/arkcompiler_ets_runtime 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021-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.
import("//ark/runtime_core/ark_root.gni")
_plugin_dir = get_path_info(".", "abspath")
assert(string_replace(_plugin_dir, "//", "") != _plugin_dir)
enable_bytecode_optimizer = true
srcs_assembler = [ "assembler/extension/ecmascript_meta.cpp" ]
srcs_isa = [ "isa/isa.yaml" ]
srcs_compiler = [
"compiler/optimizer/code_generator/compiler_base_types.cpp",
"compiler/ecmascript_extensions/ecmascript_codegen_extensions.cpp",
"compiler/inline_intrinsics_ecmascript.cpp",
"compiler/codegen_intrinsics_ecmascript.cpp",
"compiler/optimizer/ir_builder/ecmascript_inst_builder.cpp",
"compiler/optimizer/optimizations/ecma_inlining.cpp",
"compiler/optimizer/optimizations/inline_call_intrinsics.cpp",
]
option_yaml_path = "ecmascript_plugin_options.yaml"
compiler_options_yaml_path = "compiler/ecma_compiler.yaml"
inst_templates_yaml_path =
"compiler/optimizer/ir_builder/ecmascript_inst_templates.yaml"
runtime_option_yaml_path = "runtime_options.yaml"
entrypoints_yaml_path = "runtime/ecma_entrypoints.yaml"
irtoc_scripts = [
"irtoc_scripts/object.irt",
"irtoc_scripts/new_obj_dyn.irt",
]
irtoc_plugins = [
"irtoc_scripts/interpreter_handlers.irt",
"irtoc_scripts/interpreter_main_loop.irt",
]
arkruntime_header_sub_deps = [
"$_plugin_dir:ecma_builtins_gen_builtins_declaration_gen_h",
"$_plugin_dir:ecma_builtins_gen_builtins_ids_gen_inl",
"$_plugin_dir:ecma_builtins_gen_builtins_initializers_gen_h",
"$_plugin_dir:ecma_builtins_gen_builtins_inline_intrinsics_decls_gen_inl",
"$_plugin_dir:ecma_builtins_gen_builtins_inline_intrinsics_gen_inl",
"$_plugin_dir:ecma_builtins_gen_builtins_resolve_inlinable_gen_inl",
"$_plugin_dir:ecma_intrinsics_gen_arkruntime",
]
arkruntime_stdlib_sub_deps = [ "$_plugin_dir:ecmastdlib_inline_h" ]
arkcompiler_deps =
[ "$_plugin_dir:isa_gen_ecma_compiler_ecmascript_inst_builder_gen_cpp" ]
arkbytecodeopt_deps = [
"$_plugin_dir:isa_gen_ecma_bytecodeopt_ecmascript_codegen_intrinsics_gen_inc",
]
arkruntime_deps = [
"$ark_es2panda_root:libes2panda_frontend_static",
"$ark_root/assembler:libarkassembler_frontend_static",
"$ark_root/libpandafile:libarkfile_frontend_static",
]
runtime_yamls = [ "runtime/ecma_runtime.yaml" ]
srcs_runtime = [
"runtime/builtins/builtins_collator.cpp",
"runtime/builtins/builtins_date_time_format.cpp",
"runtime/builtins/builtins_intl.cpp",
"runtime/builtins/builtins_locale.cpp",
"runtime/builtins/builtins_number_format.cpp",
"runtime/builtins/builtins_plural_rules.cpp",
"runtime/builtins/builtins_relative_time_format.cpp",
"runtime/js_collator.cpp",
"runtime/js_date_time_format.cpp",
"runtime/js_locale.cpp",
"runtime/js_number_format.cpp",
"runtime/js_plural_rules.cpp",
"runtime/js_relative_time_format.cpp",
"runtime/base/array_helper.cpp",
"runtime/base/builtins_base.cpp",
"runtime/base/error_helper.cpp",
"runtime/base/json_parser.cpp",
"runtime/base/json_stringifier.cpp",
"runtime/base/number_helper.cpp",
"runtime/base/object_helper.cpp",
"runtime/base/string_helper.cpp",
"runtime/base/typed_array_helper.cpp",
"runtime/bridge/ecma_bridge_helpers.cpp",
"runtime/builtins.cpp",
"runtime/builtins/builtins_ark_tools.cpp",
"runtime/builtins/builtins_array.cpp",
"runtime/builtins/builtins_arraybuffer.cpp",
"runtime/builtins/builtins_async_from_sync_iterator.cpp",
"runtime/builtins/builtins_async_function.cpp",
"runtime/builtins/builtins_async_generator.cpp",
"runtime/builtins/builtins_async_iterator.cpp",
"runtime/builtins/builtins_bigint.cpp",
"runtime/builtins/builtins_boolean.cpp",
"runtime/builtins/builtins_dataview.cpp",
"runtime/builtins/builtins_date.cpp",
"runtime/builtins/builtins_errors.cpp",
"runtime/builtins/builtins_function.cpp",
"runtime/builtins/builtins_generator.cpp",
"runtime/builtins/builtins_global.cpp",
"runtime/builtins/builtins_iterator.cpp",
"runtime/builtins/builtins_json.cpp",
"runtime/builtins/builtins_map.cpp",
"runtime/builtins/builtins_math.cpp",
"runtime/builtins/builtins_number.cpp",
"runtime/builtins/builtins_object.cpp",
"runtime/builtins/builtins_promise.cpp",
"runtime/builtins/builtins_promise_handler.cpp",
"runtime/builtins/builtins_promise_job.cpp",
"runtime/builtins/builtins_proxy.cpp",
"runtime/builtins/builtins_reflect.cpp",
"runtime/builtins/builtins_regexp.cpp",
"runtime/builtins/builtins_runtime_testing.cpp",
"runtime/builtins/builtins_set.cpp",
"runtime/builtins/builtins_string.cpp",
"runtime/builtins/builtins_string_iterator.cpp",
"runtime/builtins/builtins_symbol.cpp",
"runtime/builtins/builtins_typedarray.cpp",
"runtime/builtins/builtins_weak_ref.cpp",
"runtime/builtins/builtins_weak_map.cpp",
"runtime/builtins/builtins_weak_set.cpp",
"runtime/builtins/builtins_finalization_registry.cpp",
"runtime/class_linker/panda_file_translator.cpp",
"runtime/containers/containers_arraylist.cpp",
"runtime/containers/containers_private.cpp",
"runtime/dump.cpp",
"runtime/ecma_call_profiling_table.cpp",
"runtime/ecma_class_linker_extension.cpp",
"runtime/ecma_compiler.cpp",
"runtime/ecma_entrypoints.cpp",
"runtime/ecma_exceptions.cpp",
"runtime/ecma_language_context.cpp",
"runtime/ecma_module.cpp",
"runtime/ecma_profiling.cpp",
"runtime/ecma_string.cpp",
"runtime/ecma_string_table.cpp",
"runtime/ecma_vm.cpp",
"runtime/free_object.cpp",
"runtime/generator_helper.cpp",
"runtime/global_env.cpp",
"runtime/global_env_constants.cpp",
"runtime/ic/profile_type_info.cpp",
"runtime/ic/ic_runtime.cpp",
"runtime/ic/ic_runtime_stub.cpp",
"runtime/ic/property_box.cpp",
"runtime/ic/proto_change_details.cpp",
"runtime/internal_call_params.cpp",
"runtime/interpreter/slow_runtime_helper.cpp",
"runtime/interpreter/slow_runtime_stub.cpp",
"runtime/intrinsics.cpp",
"runtime/jobs/micro_job_queue.cpp",
"runtime/js_arguments.cpp",
"runtime/js_array.cpp",
"runtime/js_array_iterator.cpp",
"runtime/js_arraybuffer.cpp",
"runtime/js_arraylist.cpp",
"runtime/js_async_from_sync_iterator_object.cpp",
"runtime/js_async_function.cpp",
"runtime/js_async_generator_object.cpp",
"runtime/js_bigint.cpp",
"runtime/js_dataview.cpp",
"runtime/js_date.cpp",
"runtime/js_eval.cpp",
"runtime/js_for_in_iterator.cpp",
"runtime/js_function.cpp",
"runtime/js_generator_object.cpp",
"runtime/js_hclass.cpp",
"runtime/js_invoker.cpp",
"runtime/js_iterator.cpp",
"runtime/js_map.cpp",
"runtime/js_map_iterator.cpp",
"runtime/js_method.cpp",
"runtime/js_object.cpp",
"runtime/js_primitive_ref.cpp",
"runtime/js_promise.cpp",
"runtime/js_proxy.cpp",
"runtime/js_regexp_iterator.cpp",
"runtime/js_serializer.cpp",
"runtime/js_set.cpp",
"runtime/js_set_iterator.cpp",
"runtime/js_stable_array.cpp",
"runtime/js_string_iterator.cpp",
"runtime/js_tagged_value.cpp",
"runtime/js_thread.cpp",
"runtime/js_typed_array.cpp",
"runtime/js_weak_container.cpp",
"runtime/js_finalization_registry.cpp",
"runtime/linked_hash_table.cpp",
"runtime/literal_data_extractor.cpp",
"runtime/message_string.cpp",
"runtime/mem/ecma_reference_processor.cpp",
"runtime/mem/ecma_string.cpp",
"runtime/mem/mem_manager.cpp",
"runtime/napi/jsnapi.cpp",
"runtime/napi/jsnapi_debugger_agent.cpp",
"runtime/object_factory.cpp",
"runtime/object_operator.cpp",
"runtime/layout_info.cpp",
"runtime/regexp/regexp_executor.cpp",
"runtime/regexp/regexp_parser_cache.cpp",
"runtime/tagged_dictionary.cpp",
"runtime/template_string.cpp",
"runtime/vmstat/caller_stat.cpp",
"runtime/vmstat/runtime_stat.cpp",
"runtime/weak_vector.cpp",
"runtime/class_info_extractor.cpp",
"runtime/compiler/ecmascript_runtime_interface.cpp",
"runtime/tooling/pt_ecmascript_extension.cpp",
]
# Should be files deleted???
#srcs_arm = [ "bridge/arch/arm/builtin_bridge_arm.S" ]
if (current_cpu == "arm64") {
srcs_runtime += [ "runtime/bridge/arch/aarch64/builtin_bridge_aarch64.S" ]
}
if (current_cpu == "amd64" || current_cpu == "x64" || current_cpu == "x86_64") {
srcs_runtime += [ "runtime/bridge/arch/amd64/builtin_bridge_amd64.S" ]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。