diff --git a/BUILD.gn b/BUILD.gn index 9ca42947db115ca984ea5f1f21623862b26c665e..61a21036beacc6ec0e0b6a853ff1d7bb89fd8d53 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -123,11 +123,11 @@ source_set("libark_js_intl_static") { deps = [ "$ark_root/libpandabase:libarkbase", "$ark_root/libpandafile:libarkfile", + "$ark_root/runtime:arkruntime_header_deps", "//third_party/icu/icu4c:shared_icui18n", "//third_party/icu/icu4c:shared_icuuc", sdk_libc_secshared_dep, ] - deps += arkruntime_header_gen_deps } config("ark_jsruntime_common_config") { @@ -439,11 +439,11 @@ source_set("libark_jsruntime_test_static") { ":copy_resource_xml", "$ark_root/libpandabase:libarkbase", "$ark_root/libpandafile:libarkfile", + "$ark_root/runtime:arkruntime_header_deps", "//third_party/icu/icu4c:shared_icui18n", "//third_party/icu/icu4c:shared_icuuc", sdk_libc_secshared_dep, ] - deps += arkruntime_header_gen_deps if (is_debug && is_linux && (current_cpu == "x86" || current_cpu == "x64") && run_with_asan) { diff --git a/ecmascript/compiler/BUILD.gn b/ecmascript/compiler/BUILD.gn index f2173989c3cc6fbf45d379c6accbeb5c7325555b..6c63f6da20295096e1b6882aa851450923ef5729 100644 --- a/ecmascript/compiler/BUILD.gn +++ b/ecmascript/compiler/BUILD.gn @@ -133,8 +133,8 @@ source_set("libark_jsoptimizer_static") { deps = [ "$ark_root/libpandabase:libarkbase", "$ark_root/libpandafile:libarkfile", + "$ark_root/runtime:arkruntime_header_deps", ] - deps += arkruntime_header_gen_deps } ohos_shared_library("libark_jsoptimizer") { diff --git a/ecmascript/tooling/BUILD.gn b/ecmascript/tooling/BUILD.gn index c25bf3151e8cb0764a9eeffeb693687003835256..170f72c5316d50c741e4b2d2750f24137d85a8a5 100644 --- a/ecmascript/tooling/BUILD.gn +++ b/ecmascript/tooling/BUILD.gn @@ -47,8 +47,8 @@ source_set("libark_ecma_debugger_static") { deps = [ "$ark_root/libpandabase:libarkbase", "$ark_root/libpandafile:libarkfile", + "$ark_root/runtime:arkruntime_header_deps", ] - deps += arkruntime_header_gen_deps cflags_cc = [ "-fvisibility=hidden" ] } @@ -84,8 +84,8 @@ source_set("libark_ecma_debugger_test_static") { deps = [ "$ark_root/libpandabase:libarkbase", "$ark_root/libpandafile:libarkfile", + "$ark_root/runtime:arkruntime_header_deps", ] - deps += arkruntime_header_gen_deps } ohos_shared_library("libark_ecma_debugger_test") { diff --git a/js_runtime_config.gni b/js_runtime_config.gni index c21daa048db1feeafa8540558c3b23113ae542b8..bf6c0937819a3d9fcc36b4a42ef3b1676c257c39 100644 --- a/js_runtime_config.gni +++ b/js_runtime_config.gni @@ -21,14 +21,6 @@ asan_lib_path = "/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux" sdk_libc_secshared_dep = "//utils/native/base:utilsecurec" sdk_libc_secshared_config = "//utils/native/base:utils_config" -# Add for header file dependence, should dependent this when include -# header file of runtime, but not dependent libarkruntime -arkruntime_header_gen_deps = [ - "$ark_root/runtime:arkruntime_gen_intrinsics_intrinsics_h", - "$ark_root/runtime:libarkruntime_options_gen_h", - "$ark_root/verification/gen:verification_verifier_messages_h", -] - # Generate file for a template and YAML data provided. # # Mandatory arguments: