modify arkcompiler_ets_runtime path

Description:modify arkcompiler_ets_runtime path
issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5GE38

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I43e2aae687a4f05fe6505b0b0f70f0846d047b84
This commit is contained in:
dingwen 2022-07-12 11:01:25 +08:00
parent f1a031481d
commit bf637c1f41
230 changed files with 445 additions and 435 deletions

View File

@ -12,19 +12,19 @@
# limitations under the License.
if (defined(ark_standalone_build)) {
import("//js_runtime/js_runtime_config.gni")
import("//ets_runtime/js_runtime_config.gni")
import("$build_root/ark.gni")
} else {
import("//ark/js_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//build/ohos.gni")
group("ark_js_packages") {
deps = []
if (host_os != "mac") {
deps += [
"//ark/js_runtime:libark_jsruntime",
"//ark/js_runtime/ecmascript/js_vm:ark_js_vm",
"//ark/js_runtime/ecmascript/tooling:libark_ecma_debugger",
"//arkcompiler/ets_runtime:libark_jsruntime",
"//arkcompiler/ets_runtime/ecmascript/js_vm:ark_js_vm",
"//arkcompiler/ets_runtime/ecmascript/tooling:libark_ecma_debugger",
]
}
}
@ -32,7 +32,7 @@ if (defined(ark_standalone_build)) {
group("ark_js_host_windows_tools_packages") {
deps = []
if (host_os != "mac") {
deps += [ "//ark/js_runtime/ecmascript/js_vm:ark_js_vm(//build/toolchain/mingw:mingw_x86_64)" ]
deps += [ "//arkcompiler/ets_runtime/ecmascript/js_vm:ark_js_vm(//build/toolchain/mingw:mingw_x86_64)" ]
}
}
@ -40,9 +40,9 @@ if (defined(ark_standalone_build)) {
deps = []
if (host_os == "mac") {
if (host_cpu == "arm64") {
deps += [ "//ark/js_runtime/ecmascript/js_vm:ark_js_vm(//build/toolchain/mac:clang_arm64)" ]
deps += [ "//arkcompiler/ets_runtime/ecmascript/js_vm:ark_js_vm(//build/toolchain/mac:clang_arm64)" ]
} else {
deps += [ "//ark/js_runtime/ecmascript/js_vm:ark_js_vm(//build/toolchain/mac:clang_x64)" ]
deps += [ "//arkcompiler/ets_runtime/ecmascript/js_vm:ark_js_vm(//build/toolchain/mac:clang_x64)" ]
}
}
}
@ -50,12 +50,11 @@ if (defined(ark_standalone_build)) {
group("ark_js_host_linux_tools_packages") {
deps = []
if (host_os != "mac") {
deps +=
[ "//ark/js_runtime/ecmascript/js_vm:ark_js_vm(${host_toolchain})" ]
deps += [ "//arkcompiler/ets_runtime/ecmascript/js_vm:ark_js_vm(${host_toolchain})" ]
if (is_standard_system) {
deps += [
"//ark/js_runtime/ecmascript/compiler:ark_aot_compiler(${host_toolchain})",
"//ark/js_runtime/ecmascript/compiler:ark_stub_compiler(${host_toolchain})",
"//arkcompiler/ets_runtime/ecmascript/compiler:ark_aot_compiler(${host_toolchain})",
"//arkcompiler/ets_runtime/ecmascript/compiler:ark_stub_compiler(${host_toolchain})",
]
}
}
@ -66,18 +65,18 @@ if (defined(ark_standalone_build)) {
deps = []
if (host_os != "mac") {
deps += [
"//ark/js_runtime/ecmascript/base/tests:unittest",
"//ark/js_runtime/ecmascript/builtins/tests:unittest",
"//ark/js_runtime/ecmascript/containers/tests:unittest",
"//ark/js_runtime/ecmascript/dfx/hprof/tests:unittest",
"//ark/js_runtime/ecmascript/ic/tests:unittest",
"//ark/js_runtime/ecmascript/jobs/tests:unittest",
"//ark/js_runtime/ecmascript/napi/test:unittest",
"//ark/js_runtime/ecmascript/regexp/tests:unittest",
"//ark/js_runtime/ecmascript/snapshot/tests:unittest",
"//ark/js_runtime/ecmascript/tests:unittest",
"//ark/js_runtime/ecmascript/tooling/test:unittest",
"//ark/js_runtime/ecmascript/ts_types/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/base/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/builtins/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/containers/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/ic/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/jobs/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/napi/test:unittest",
"//arkcompiler/ets_runtime/ecmascript/regexp/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/snapshot/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/tests:unittest",
"//arkcompiler/ets_runtime/ecmascript/tooling/test:unittest",
"//arkcompiler/ets_runtime/ecmascript/ts_types/tests:unittest",
]
}
}
@ -88,31 +87,34 @@ if (defined(ark_standalone_build)) {
if (host_os != "mac") {
# js unittest
deps += [
"//ark/js_runtime/ecmascript/base/tests:host_unittest",
"//ark/js_runtime/ecmascript/builtins/tests:host_unittest",
"//ark/js_runtime/ecmascript/containers/tests:host_unittest",
"//ark/js_runtime/ecmascript/dfx/hprof/tests:host_unittest",
"//ark/js_runtime/ecmascript/ic/tests:host_unittest",
"//ark/js_runtime/ecmascript/jobs/tests:host_unittest",
"//ark/js_runtime/ecmascript/napi/test:host_unittest",
"//ark/js_runtime/ecmascript/regexp/tests:host_unittest",
"//ark/js_runtime/ecmascript/snapshot/tests:host_unittest",
"//ark/js_runtime/ecmascript/tests:host_unittest",
"//ark/js_runtime/ecmascript/tooling/test:host_unittest",
"//ark/js_runtime/ecmascript/ts_types/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/base/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/builtins/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/containers/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/ic/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/jobs/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/napi/test:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/regexp/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/snapshot/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/tests:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/tooling/test:host_unittest",
"//arkcompiler/ets_runtime/ecmascript/ts_types/tests:host_unittest",
]
if (is_standard_system) {
deps += [ "//ark/js_runtime/ecmascript/compiler/tests:host_unittest" ]
deps += [
"//arkcompiler/ets_runtime/ecmascript/compiler/tests:host_unittest",
]
}
# js bytecode test
deps += [ "//ark/js_runtime/test/moduletest:ark_js_moduletest" ]
deps += [ "//arkcompiler/ets_runtime/test/moduletest:ark_js_moduletest" ]
# ts aot test and asm test
if (is_standard_system) {
deps += [ "//ark/js_runtime/test/aottest:ark_aot_test" ]
deps += [ "//ark/js_runtime/test/moduletest:ark_asm_test" ]
deps += [ "//ark/js_runtime/test/typeinfer:ark_typeinfer_test" ]
deps += [ "//arkcompiler/ets_runtime/test/aottest:ark_aot_test" ]
deps += [ "//arkcompiler/ets_runtime/test/moduletest:ark_asm_test" ]
deps +=
[ "//arkcompiler/ets_runtime/test/typeinfer:ark_typeinfer_test" ]
}
}
}

View File

@ -54,7 +54,7 @@ Note:If the text contains special characters, please escape them according to th
<configuration>
<oatconfig>
<policy name="defaultPolicy" desc="" >
<policyitem type="compatibility" name="Apache" path="ark/js_runtime" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
<policyitem type="compatibility" name="Apache" path="arkcompiler/ets_runtime" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
</policy>
<filefilterlist>
<filefilter name="binaryFileTypePolicyFilter" desc="二进制文件校验策略的过滤条件" >

View File

@ -13,7 +13,7 @@ For more information, see [ArkCompiler JS Runtime](https://gitee.com/openharmony
## Directory Structure
```
/ark/js_runtime
/arkcompiler/ets_runtime
├─ ecmascript # Implementation of ArkCompiler JS Runtime, including the ECMAScript library, interpreter, and memory management
│ ├─ base # Base helper class
│ ├─ builtins # ECMAScript libraries
@ -65,12 +65,13 @@ LD_LIBRARY_PATH=out/hispark_taurus/clang_x64/ark/ark:out/hispark_taurus/clang_x6
```
For more information, see [ARK Runtime Usage Guide](https://gitee.com/openharmony/ark_js_runtime/blob/master/docs/ARK-Runtime-Usage-Guide.md).
For more information, see [ARK Runtime Usage Guide](https://gitee.com/openharmony/arkcompiler_ets_runtime/blob/master/
docs/ARK-Runtime-Usage-Guide.md).
## Repositories Involved
[ark\_runtime\_core](https://gitee.com/openharmony/ark_runtime_core)
[arkcompiler\_runtime\_core](https://gitee.com/openharmony/arkcompiler_runtime_core)
**[ark\_js\_runtime](https://gitee.com/openharmony/ark_js_runtime)**
**[arkcompiler\_ets\_runtime](https://gitee.com/openharmony/arkcompiler_ets_runtime)**
[ark\_ts2abc](https://gitee.com/openharmony/ark_ts2abc)
[arkcompiler\_ets\_frontend](https://gitee.com/openharmony/arkcompiler_ets_frontend)

View File

@ -22,7 +22,7 @@
## 目录<a name="section161941989596"></a>
```
/ark/js_runtime
/arkcompiler/ets_runtime
├─ ecmascript # 方舟JS运行时实现包括ECMAScript标准库、解释器、内存管理等
│ ├─ base # 基础帮助类
│ ├─ builtins # ECMAScript标准库
@ -74,12 +74,12 @@ LD_LIBRARY_PATH=out/hispark_taurus/clang_x64/ark/ark:out/hispark_taurus/clang_x6
```
更多使用说明请参考:[方舟运行时使用指南](https://gitee.com/openharmony/ark_js_runtime/blob/master/docs/ARK-Runtime-Usage-Guide-zh.md)
更多使用说明请参考:[方舟运行时使用指南](https://gitee.com/openharmony/arkcompiler_ets_runtime/blob/master/docs/ARK-Runtime-Usage-Guide-zh.md)
## 相关仓<a name="section1371113476307"></a>
[ark\_runtime\_core](https://gitee.com/openharmony/ark_runtime_core)
[arkcompiler\_runtime\_core](https://gitee.com/openharmony/arkcompiler_runtime_core)
**[ark\_js\_runtime](https://gitee.com/openharmony/ark_js_runtime)**
**[arkcompiler\_ets\_runtime](https://gitee.com/openharmony/arkcompiler_ets_runtime)**
[ark\_ts2abc](https://gitee.com/openharmony/ark_ts2abc)
[arkcompiler\_ets\_frontend_](https://gitee.com/openharmony/arkcompiler_ets_frontend)

View File

@ -1,5 +1,5 @@
{
"name": "@ohos/ark_js_runtime",
"name": "@ohos/arkcompiler_ets_runtime",
"version": "",
"description": "支持应用TS/JS语言代码的运行行为符合ArkUI框架需要的Strict模式的ES2015标准",
"homePage": "https://gitee.com/openharmony",
@ -8,7 +8,7 @@
"scripts": {},
"dirs": [],
"segment": {
"destPath": "ark/js_runtime"
"destPath": "arkcompiler/ets_runtime"
},
"component": {
"name": "ark_js_runtime",
@ -26,12 +26,12 @@
},
"build": {
"sub_component": [
"//ark/js_runtime:ark_js_packages",
"//ark/js_runtime:ark_js_host_linux_tools_packages"
"//arkcompiler/ets_runtime:ark_js_packages",
"//arkcompiler/ets_runtime:ark_js_host_linux_tools_packages"
],
"inner_kits": [],
"test": [
"//ark/js_runtime:ark_js_unittest"
"//arkcompiler/ets_runtime:ark_js_unittest"
]
}
}

View File

@ -160,7 +160,7 @@ hello-world.abc反汇编结果如下
python3 test262/run_test262.py [options]
```
执行路径为:项目根目录/ark/ts2abc
执行路径为:项目根目录/arkcompiler/ets_frontend
<a name="table11141827153017"></a>
<table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"></a>选项</p>
@ -298,7 +298,7 @@ python3 test262/run_test262.py [options]
### 测试输出
Test262所有用例的测试结果位于项目根目录/ark/ts2abc/out下。shell中测试输出结果如下
Test262所有用例的测试结果位于项目根目录/arkcompiler/ets_frontend/out下。shell中测试输出结果如下
```
$python3 test262/run_test262.py --file test262/data/test_es2015/built-ins/Array/15.4.5.1-5-1.js

View File

@ -145,7 +145,7 @@ Command:
python3 test262/run_test262.py [options]
```
Run the script in _Project root directory_**/ark/ts2abc**.
Run the script in _Project root directory_**/arkcompiler/ets_frontend**.
<a name="table11141827153017"></a>
<table><thead align="left"><tr id="row101462717303"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p51552743010"><a name="p51552743010"></a><a name="p51552743010"></a>Option</p>
@ -287,7 +287,7 @@ Run the script in _Project root directory_**/ark/ts2abc**.
### Test Output
The results of all Test262 test cases are available in the **_Project root directory_/ark/ts2abc/out**. The test result in the shell is as follows:
The results of all Test262 test cases are available in the **_Project root directory_/arkcompiler/ets_frontend/out**. The test result in the shell is as follows:
```
$python3 test262/run_test262.py --file test262/data/test_es2015/built-ins/Array/15.4.5.1-5-1.js

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("BaseTest") {
module_out_path = module_output_path
@ -31,11 +31,11 @@ host_unittest_action("BaseTest") {
"utf_helper_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("BuiltinsInternational_001_Test") {
module_out_path = module_output_path
@ -29,13 +29,13 @@ host_unittest_action("BuiltinsInternational_001_Test") {
]
configs = [
"//ark/js_runtime:ecma_test_config",
"//ark/js_runtime:icu_path_test_config",
"//arkcompiler/ets_runtime:ecma_test_config",
"//arkcompiler/ets_runtime:icu_path_test_config",
]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}
@ -54,13 +54,13 @@ host_unittest_action("BuiltinsInternational_002_Test") {
]
configs = [
"//ark/js_runtime:ecma_test_config",
"//ark/js_runtime:icu_path_test_config",
"//arkcompiler/ets_runtime:ecma_test_config",
"//arkcompiler/ets_runtime:icu_path_test_config",
]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}
@ -100,11 +100,11 @@ host_unittest_action("BuiltinsNaturalTest") {
"builtins_weak_set_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -12,10 +12,10 @@
# limitations under the License.
if (defined(ark_standalone_build)) {
import("//js_runtime/js_runtime_config.gni")
import("//ets_runtime/js_runtime_config.gni")
import("$build_root/ark.gni")
} else {
import("//ark/js_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//build/ohos.gni")
action("build_llvm_libs") {
@ -201,7 +201,7 @@ source_set("ark_aot_compiler_set") {
source_set("libark_stub_set") {
deps = [ ":build_stub_to_cpp" ]
sources = [ "$root_gen_dir/ark/js_runtime/stub_m.cpp" ]
sources = [ "$root_gen_dir/arkcompiler/ets_runtime/stub_m.cpp" ]
public_configs = [
"$js_root:ark_jsruntime_common_config",
@ -268,7 +268,7 @@ if (!defined(ark_standalone_build)) {
deps =
[ "$js_root/ecmascript/compiler:ark_stub_compiler(${host_toolchain})" ]
stub_file_gen_dir = "$root_gen_dir/ark/js_runtime"
stub_file_gen_dir = "$root_gen_dir/arkcompiler/ets_runtime"
root_out_dir_with_host_toolchain =
get_label_info(":ark_stub_compiler(${host_toolchain})", "root_out_dir")
@ -301,7 +301,7 @@ if (!defined(ark_standalone_build)) {
}
action("build_stub_to_cpp") {
sources = [ "$root_gen_dir/ark/js_runtime/stub.m" ]
sources = [ "$root_gen_dir/arkcompiler/ets_runtime/stub.m" ]
script = "$js_root/script/build_resource_to_cpp.py"
@ -309,11 +309,11 @@ if (!defined(ark_standalone_build)) {
args = [
"--input",
rebase_path("$root_gen_dir/ark/js_runtime/stub.m"),
rebase_path("$root_gen_dir/arkcompiler/ets_runtime/stub.m"),
"--output",
rebase_path("$root_gen_dir/ark/js_runtime/stub_m.cpp"),
rebase_path("$root_gen_dir/arkcompiler/ets_runtime/stub_m.cpp"),
]
outputs = [ "$root_gen_dir/ark/js_runtime/stub_m.cpp" ]
outputs = [ "$root_gen_dir/arkcompiler/ets_runtime/stub_m.cpp" ]
}
}

View File

@ -11,8 +11,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
config("include_llvm_config") {
@ -29,7 +29,7 @@ config("include_llvm_config") {
}
}
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("StubTest") {
module_out_path = module_output_path
@ -40,9 +40,9 @@ host_unittest_action("StubTest") {
]
configs = [
":include_llvm_config",
"//ark/js_runtime:ecma_test_config",
"//ark/js_runtime:ark_jsruntime_compiler_config",
"//ark/js_runtime:ark_jsruntime_public_config",
"//arkcompiler/ets_runtime:ecma_test_config",
"//arkcompiler/ets_runtime:ark_jsruntime_compiler_config",
"//arkcompiler/ets_runtime:ark_jsruntime_public_config",
]
if (compile_llvm_online) {
@ -113,7 +113,7 @@ host_unittest_action("StubTest") {
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime/ecmascript/compiler:libark_jsoptimizer_test",
"//arkcompiler/ets_runtime/ecmascript/compiler:libark_jsoptimizer_test",
sdk_libc_secshared_dep,
]
}
@ -128,9 +128,9 @@ host_unittest_action("AssemblerTest") {
]
configs = [
":include_llvm_config",
"//ark/js_runtime:ecma_test_config",
"//ark/js_runtime:ark_jsruntime_compiler_config",
"//ark/js_runtime:ark_jsruntime_public_config",
"//arkcompiler/ets_runtime:ecma_test_config",
"//arkcompiler/ets_runtime:ark_jsruntime_compiler_config",
"//arkcompiler/ets_runtime:ark_jsruntime_public_config",
]
if (compile_llvm_online) {
@ -201,7 +201,7 @@ host_unittest_action("AssemblerTest") {
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime/ecmascript/compiler:libark_jsoptimizer_test",
"//arkcompiler/ets_runtime/ecmascript/compiler:libark_jsoptimizer_test",
sdk_libc_secshared_dep,
]
}
@ -216,9 +216,9 @@ host_unittest_action("CircuitOptimizerTest") {
configs = [
":include_llvm_config",
"//ark/js_runtime:ecma_test_config",
"//ark/js_runtime:ark_jsruntime_compiler_config",
"//ark/js_runtime:ark_jsruntime_public_config",
"//arkcompiler/ets_runtime:ecma_test_config",
"//arkcompiler/ets_runtime:ark_jsruntime_compiler_config",
"//arkcompiler/ets_runtime:ark_jsruntime_public_config",
]
if (compile_llvm_online) {
@ -287,7 +287,7 @@ host_unittest_action("CircuitOptimizerTest") {
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime/ecmascript/compiler:libark_jsoptimizer_test",
"//arkcompiler/ets_runtime/ecmascript/compiler:libark_jsoptimizer_test",
sdk_libc_secshared_dep,
]
}

View File

@ -806,7 +806,7 @@ HWTEST_F_L0(StubTest, LoadGCIRTest)
{
LOG_COMPILER(INFO) << "--------------LoadGCIRTest--------------------";
char *path = get_current_dir_name();
std::string filePath = std::string(path) + "/ark/js_runtime/ecmascript/compiler/tests/satepoint_GC_0.ll";
std::string filePath = std::string(path) + "/arkcompiler/ets_runtime/ecmascript/compiler/tests/satepoint_GC_0.ll";
char resolvedPath[PATH_MAX];
char *res = realpath(filePath.c_str(), resolvedPath);

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("ContainersTest") {
module_out_path = module_output_path
@ -34,11 +34,11 @@ host_unittest_action("ContainersTest") {
"containers_vector_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("HeapTrackerTest") {
module_out_path = module_output_path
@ -25,11 +25,11 @@ host_unittest_action("HeapTrackerTest") {
"heap_tracker_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}
@ -42,11 +42,11 @@ host_unittest_action("HprofTest") {
"hprof_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("ICTest") {
module_out_path = module_output_path
@ -33,11 +33,11 @@ host_unittest_action("ICTest") {
"proto_change_details_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("JobTest") {
module_out_path = module_output_path
@ -26,11 +26,11 @@ host_unittest_action("JobTest") {
"pending_job_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -12,10 +12,10 @@
# limitations under the License.
if (!defined(ark_standalone_build)) {
import("//ark/js_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//build/ohos.gni")
} else {
import("//js_runtime/js_runtime_config.gni")
import("//ets_runtime/js_runtime_config.gni")
import("$build_root/ark.gni")
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("JsnapiTest") {
module_out_path = module_output_path
@ -25,11 +25,11 @@ host_unittest_action("JsnapiTest") {
"jsnapi_tests.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("RegexpTest") {
module_out_path = module_output_path
@ -26,11 +26,11 @@ host_unittest_action("RegexpTest") {
"regexp_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//build/ohos.gni")
snapshot_input_path = "//component_dist/aosp-x86_64/packages_to_install/ace_engine_full/ark_build/strip.native.min.abc"
@ -21,7 +21,9 @@ snapshot_bin_output_path = "$target_gen_dir/snapshot"
action("gen_snapshot_bin") {
visibility = [ ":*" ]
deps = [ "//ark/js_runtime/ecmascript/js_vm:ark_js_vm(${host_toolchain})" ]
deps = [
"//arkcompiler/ets_runtime/ecmascript/js_vm:ark_js_vm(${host_toolchain})",
]
script = "$ark_root/tools/gen_snapshot.sh"

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("SnapshotTest") {
module_out_path = module_output_path
@ -25,11 +25,11 @@ host_unittest_action("SnapshotTest") {
"snapshot_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("EcmaVm_001_Test") {
module_out_path = module_output_path
@ -62,11 +62,11 @@ host_unittest_action("EcmaVm_001_Test") {
"js_bigint_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}
@ -120,15 +120,15 @@ host_unittest_action("EcmaVm_002_Test") {
]
configs = [
"//ark/js_runtime:ecma_test_config",
"//ark/js_runtime:icu_path_test_config",
"//arkcompiler/ets_runtime:ecma_test_config",
"//arkcompiler/ets_runtime:icu_path_test_config",
]
deps = [
"$ark_root/libpandabase:libarkbase",
"$third_party_gn_path/icu/icu4c:shared_icui18n",
"$third_party_gn_path/icu/icu4c:shared_icuuc",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,13 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//build/ohos.gni")
config("ark_ecma_debugger_config") {
configs = [
"//ark/js_runtime:ark_jsruntime_common_config",
"//ark/js_runtime:ark_jsruntime_public_config",
"//arkcompiler/ets_runtime:ark_jsruntime_common_config",
"//arkcompiler/ets_runtime:ark_jsruntime_public_config",
]
include_dirs = [
@ -72,7 +72,7 @@ source_set("libark_ecma_debugger_set") {
ohos_shared_library("libark_ecma_debugger") {
deps = [
":libark_ecma_debugger_set",
"//ark/js_runtime:libark_jsruntime",
"//arkcompiler/ets_runtime:libark_jsruntime",
]
install_enable = true
@ -116,7 +116,7 @@ source_set("libark_ecma_debugger_test_set") {
ohos_shared_library("libark_ecma_debugger_test") {
deps = [
":libark_ecma_debugger_test_set",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
]
if (is_ohos && is_standard_system) {

View File

@ -11,29 +11,30 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//ark/ts2abc/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/ohos.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
config("debug_api_test") {
visibility = [ ":*" ]
ldflags = [ "-Wl,-rpath=\$ORIGIN/" ]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
include_dirs = [
"//ark/js_runtime",
"//ark/js_runtime/ecmascript/tooling/test",
"//arkcompiler/ets_runtime",
"//arkcompiler/ets_runtime/ecmascript/tooling/test",
]
}
ts2abc_gen_abc("ark_sample_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/Sample.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/Sample.js"
test_abc_path = "$target_out_dir/Sample.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -45,7 +46,8 @@ ts2abc_gen_abc("ark_sample_abc") {
}
ts2abc_gen_abc("ark_asyncfunc_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/AsyncFunc.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/AsyncFunc.js"
test_abc_path = "$target_out_dir/AsyncFunc.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -57,7 +59,8 @@ ts2abc_gen_abc("ark_asyncfunc_abc") {
}
ts2abc_gen_abc("ark_arrowfunc_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/ArrowFunc.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/ArrowFunc.js"
test_abc_path = "$target_out_dir/ArrowFunc.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -69,7 +72,8 @@ ts2abc_gen_abc("ark_arrowfunc_abc") {
}
ts2abc_gen_abc("ark_exception_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/exception.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/exception.js"
test_abc_path = "$target_out_dir/exception.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -81,7 +85,8 @@ ts2abc_gen_abc("ark_exception_abc") {
}
ts2abc_gen_abc("ark_range_error_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/RangeError.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/RangeError.js"
test_abc_path = "$target_out_dir/RangeError.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -94,7 +99,7 @@ ts2abc_gen_abc("ark_range_error_abc") {
ts2abc_gen_abc("ark_syntaxException_abc") {
test_js_path =
"//ark/js_runtime/ecmascript/tooling/test/js/syntaxException.js"
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/syntaxException.js"
test_abc_path = "$target_out_dir/syntaxException.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -106,7 +111,8 @@ ts2abc_gen_abc("ark_syntaxException_abc") {
}
ts2abc_gen_abc("ark_throwException_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/throwException.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/throwException.js"
test_abc_path = "$target_out_dir/throwException.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -118,7 +124,8 @@ ts2abc_gen_abc("ark_throwException_abc") {
}
ts2abc_gen_abc("ark_stepInto_abc") {
test_js_path = "//ark/js_runtime/ecmascript/tooling/test/js/StepInto.js"
test_js_path =
"//arkcompiler/ets_runtime/ecmascript/tooling/test/js/StepInto.js"
test_abc_path = "$target_out_dir/StepInto.abc"
extra_visibility = [ ":*" ] # Only targets in this file can depend on this.
src_js = rebase_path(test_js_path)
@ -168,7 +175,7 @@ source_set("jsdebugtest_set") {
public_configs = [
":debug_api_test",
"//ark/js_runtime/ecmascript/tooling:ark_ecma_debugger_config",
"//arkcompiler/ets_runtime/ecmascript/tooling:ark_ecma_debugger_config",
]
test_abc_dir = "/data/test/"
@ -191,8 +198,8 @@ source_set("jsdebugtest_set") {
deps = [
"$ark_root/libpandabase:libarkbase",
"$ark_root/libpandafile:libarkfile",
"//ark/js_runtime:libark_jsruntime_test",
"//ark/js_runtime/ecmascript/tooling:libark_ecma_debugger_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime/ecmascript/tooling:libark_ecma_debugger_test",
]
}
@ -230,8 +237,8 @@ host_unittest_action("DebuggerEntryTest") {
":jsdebugtest",
"$ark_root/libpandabase:libarkbase",
"$ark_root/libpandafile:libarkfile",
"//ark/js_runtime:libark_jsruntime_test",
"//ark/js_runtime/ecmascript/tooling:libark_ecma_debugger_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime/ecmascript/tooling:libark_ecma_debugger_test",
]
}
@ -250,12 +257,12 @@ host_unittest_action("DebuggerTest") {
"pt_json_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//ark/js_runtime/ecmascript/tooling:libark_ecma_debugger_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime/ecmascript/tooling:libark_ecma_debugger_test",
sdk_libc_secshared_dep,
]
}

View File

@ -11,11 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/js_runtime_config.gni")
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/js_runtime_config.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
import("//build/test.gni")
module_output_path = "ark/js_runtime"
module_output_path = "arkcompiler/ets_runtime"
host_unittest_action("TSTypeTest") {
module_out_path = module_output_path
@ -25,11 +25,11 @@ host_unittest_action("TSTypeTest") {
"ts_type_test.cpp",
]
configs = [ "//ark/js_runtime:ecma_test_config" ]
configs = [ "//arkcompiler/ets_runtime:ecma_test_config" ]
deps = [
"$ark_root/libpandabase:libarkbase",
"//ark/js_runtime:libark_jsruntime_test",
"//arkcompiler/ets_runtime:libark_jsruntime_test",
sdk_libc_secshared_dep,
]
}

View File

@ -12,11 +12,11 @@
# limitations under the License.
if (!defined(ark_standalone_build)) {
ark_root = "//ark/runtime_core"
js_root = "//ark/js_runtime"
ark_root = "//arkcompiler/runtime_core"
js_root = "//arkcompiler/ets_runtime"
} else {
ark_root = "//runtime_core"
js_root = "//js_runtime"
js_root = "//ets_runtime"
}
third_party_gn_path = "//third_party"
compile_llvm_online = false

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("add") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("and") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("base_verification") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("builtins_api") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("property_operation") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ashr") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("asyncfunctionenter") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("bind") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("call_default_args") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("call_same_bytecode_func") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("callithisrange") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("calls") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("closeiterator") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("copyrestargs") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createarraywithbuffer") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createemptyarray") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createemptyobject") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("creategeneratorobj") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createiterresultobj") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createobjecthavingmethod") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createobjectwithbuffer") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("createregexpwithliteral") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("dec") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("defineasyncfunc") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("defineclasswithbuffer") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("definefunc") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("definefunc_variable_args") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("definegeneratorfunc") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("definegettersetterbyvalue") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("definemethod") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("definencfunc") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("delobjprop") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("destructuring") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("div") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("duplicatefunctions") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("exceptionhandler") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("exp") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("getiterator") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("getiteratornext") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("getnextpropname") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("getpropiterator") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("getresumemode") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("gettemplateobject") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("getunmappedargs") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("sub") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("sub") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("helloaot") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("inc") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("instanceof") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("isfalse") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("isin") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("istrue") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldbigint") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldconst") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldfunctionpref") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldglobalvar") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldobjbyname") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldstlexvar") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("ldsuperbyname") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("logic_op") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("loops") {
deps = []

View File

@ -72,8 +72,8 @@ else
endif
endif
test_dir=$(root_dir)/ark/js_runtime/test/aottest
ts2abc=$(product_dir)/clang_x64/obj/ark/ts2abc/ts2panda/build/src/index.js
test_dir=$(root_dir)/arkcompiler/ets_runtime/test/aottest
ts2abc=$(product_dir)/clang_x64/obj/arkcompiler/ets_runtime/ts2panda/build/src/index.js
out_dir=$(product_dir)/clang_x64/aottest
case_dir=$(out_dir)/$(test_name)
com_stub_args=--asm-interpreter=true --stub-file=$(out_dir)/stub.m

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("mod") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("stglobalvar") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("mul") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("neg") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("new") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("newlexenv") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("newobjspread") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("not") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("or") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("poplexenv") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("proxy") {
deps = []

View File

@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/js_runtime/test/test_helper.gni")
import("//arkcompiler/ets_runtime/test/test_helper.gni")
host_aot_test_action("resumegenerator") {
deps = []

Some files were not shown because too many files have changed in this diff Show More