From cecc0fc7fbdb9de4b17b97eefdcd37dfedcc0a7e Mon Sep 17 00:00:00 2001 From: ding Date: Fri, 27 May 2022 17:32:30 +0800 Subject: [PATCH] Temporary set stub output to out. Test for build cache. Signed-off-by: ding Change-Id: Ia0da21e6eb9a16abae8ace969ca507c513aa4efe --- ecmascript/compiler/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecmascript/compiler/BUILD.gn b/ecmascript/compiler/BUILD.gn index 5fde260f..ce453a4f 100644 --- a/ecmascript/compiler/BUILD.gn +++ b/ecmascript/compiler/BUILD.gn @@ -240,7 +240,7 @@ if (!defined(ark_independent_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_out_dir/../.." stub_option = " --com-stub-out=" + rebase_path(stub_file_gen_dir) + "/com_stub.m --bc-stub-out=" + @@ -276,6 +276,6 @@ if (!defined(ark_independent_build)) { } config("gen_stub_file_dir_config") { - stub_file_gen_dir = rebase_path(root_gen_dir) + "/ark/js_runtime" + stub_file_gen_dir = rebase_path("//out") defines = [ "STUB_FILE_GEN_DIR=\"${stub_file_gen_dir}/\"" ] }