diff --git a/build/compile_script/ark.py b/build/compile_script/ark.py index 44c973ad2e2357e114445d7de04d867c999cc4fd..ca2303fff1306835314f0e5cd25d60ccf321b662 100644 --- a/build/compile_script/ark.py +++ b/build/compile_script/ark.py @@ -29,7 +29,7 @@ ARCHES = ["x64", "arm", "arm64"] DEFAULT_ARCHES = "x64" MODES = ["release", "debug"] DEFAULT_MODES = "release" -TARGETS = ["ets_runtime", "ets_frontend", "default", "all"] +TARGETS = ["ets_runtime", "ets_frontend", "default", "unittest_packages", "all"] DEFAULT_TARGETS = "default" TARGETS_TEST = ["test262"] @@ -52,6 +52,7 @@ for example , python ark.py x64.release clean: clear your data in output dir [test] test262: run test262 + unittest_packages: run unittest """ def PrintHelp(): diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn index e119a21c498523aa587a354077d0773a8c5843f9..d04d2ec2570c8ee8dfb59f86a19a8de76135dd01 100644 --- a/build/config/BUILD.gn +++ b/build/config/BUILD.gn @@ -27,7 +27,6 @@ config("executable_ldconfig") { ldflags = [ "-Wl,-rpath=\$ORIGIN/", "-Wl,-rpath-link=", - "-pie", ] if (current_os == "linux") { ldflags += [ "-lpthread" ] diff --git a/build/core/gn/BUILD.gn b/build/core/gn/BUILD.gn index a9a9318796e75d2cf6ccac119c2a572556643246..1230504049aa87a893a6a330706729c5c9e8d81c 100644 --- a/build/core/gn/BUILD.gn +++ b/build/core/gn/BUILD.gn @@ -42,6 +42,12 @@ group("linux_packages") { } } +group("unittest_packages") { + if (host_os != "mac") { + deps = [ "//arkcompiler/ets_runtime:ark_js_unittest" ] + } +} + group("ets_runtime") { deps = [ "//arkcompiler/ets_runtime:ark_js_packages" ] }