modify ark file path

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

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: Iec32038645bfdc11799baa8d66ca4236a85a1593
This commit is contained in:
dingwen
2022-07-11 17:30:00 +08:00
parent 80d0a3220d
commit 83e7281d1a
7 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ if __name__ == '__main__':
node-v12.18.4-linux-x64/bin/node'
if not os.path.exists(NODE_PATH):
raise Exception('NO souch file or directory')
TSC_PATH = '../../../../ark/ts2abc/ts2panda/node_modules/\
TSC_PATH = '../../../../arkcompiler/ets_frontend/ts2panda/node_modules/\
typescript/bin/tsc'
CMD_INST = [NODE_PATH, TSC_PATH]
run_command(CMD_INST)
+3 -3
View File
@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/ts2abc/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//build/ohos.gni")
import("//build/ohos/ace/ace.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
@@ -43,7 +43,7 @@ gen_js_obj("js_convertxml") {
# compile .js to .abc.
action("gen_convertxml_abc") {
visibility = [ ":*" ]
script = "//ark/ts2abc/ts2panda/scripts/generate_js_bytecode.py"
script = "//arkcompiler/ets_frontend/ts2panda/scripts/generate_js_bytecode.py"
args = [
"--src-js",
@@ -60,7 +60,7 @@ action("gen_convertxml_abc") {
]
deps = [
":build_ts_js",
"//ark/ts2abc/ts2panda:ark_ts2abc_build",
"//arkcompiler/ets_frontend/ts2panda:ark_ts2abc_build",
]
inputs = [ target_out_dir + "/js_convertxml.js" ]
+3 -3
View File
@@ -20,10 +20,10 @@ if (is_standard_system) {
ohos_unittest("test_uri_unittest") {
module_out_path = module_output_path
configs = [ "//ark/js_runtime:ark_jsruntime_public_config" ]
configs = [ "//arkcompiler/ets_runtime:ark_jsruntime_public_config" ]
include_dirs = [
"//base/compileruntime/js_api_module/uri",
"//ark/js_runtime",
"//arkcompiler/ets_runtime",
"//foundation/arkui/napi",
"//foundation/arkui/napi/interfaces/kits",
"//foundation/arkui/napi/native_engine",
@@ -41,7 +41,7 @@ ohos_unittest("test_uri_unittest") {
]
deps = [
"//ark/js_runtime:libark_jsruntime",
"//arkcompiler/ets_runtime:libark_jsruntime",
"//base/compileruntime/js_api_module/uri:uri_packages",
"//foundation/arkui/napi/:ace_napi",
"//foundation/arkui/napi/:ace_napi_ark",
+3 -3
View File
@@ -20,10 +20,10 @@ if (is_standard_system) {
ohos_unittest("test_xml_unittest") {
module_out_path = module_output_path
configs = [ "//ark/js_runtime:ark_jsruntime_public_config" ]
configs = [ "//arkcompiler/ets_runtime:ark_jsruntime_public_config" ]
include_dirs = [
"//base/compileruntime/js_api_module/xml",
"//ark/js_runtime",
"//arkcompiler/ets_runtime",
"//foundation/arkui/napi",
"//foundation/arkui/napi/interfaces/kits",
"//foundation/arkui/napi/native_engine",
@@ -41,7 +41,7 @@ ohos_unittest("test_xml_unittest") {
]
deps = [
"//ark/js_runtime:libark_jsruntime",
"//arkcompiler/ets_runtime:libark_jsruntime",
"//base/compileruntime/js_api_module/xml:xml_packages",
"//foundation/arkui/napi/:ace_napi",
"//foundation/arkui/napi/:ace_napi_ark",
+3 -3
View File
@@ -10,7 +10,7 @@
# 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/ts2abc/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//build/ohos.gni")
import("//build/ohos/ace/ace.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
@@ -42,7 +42,7 @@ gen_js_obj("js_uri") {
# compile .js to .abc.
action("gen_uri_abc") {
visibility = [ ":*" ]
script = "//ark/ts2abc/ts2panda/scripts/generate_js_bytecode.py"
script = "//arkcompiler/ets_frontend/ts2panda/scripts/generate_js_bytecode.py"
args = [
"--src-js",
@@ -59,7 +59,7 @@ action("gen_uri_abc") {
]
deps = [
":build_ts_js",
"//ark/ts2abc/ts2panda:ark_ts2abc_build",
"//arkcompiler/ets_frontend/ts2panda:ark_ts2abc_build",
]
inputs = [ target_out_dir + "/js_uri.js" ]
+3 -3
View File
@@ -10,7 +10,7 @@
# 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/ts2abc/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//build/ohos.gni")
import("//build/ohos/ace/ace.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
@@ -42,7 +42,7 @@ gen_js_obj("js_url") {
# compile .js to .abc.
action("gen_url_abc") {
visibility = [ ":*" ]
script = "//ark/ts2abc/ts2panda/scripts/generate_js_bytecode.py"
script = "//arkcompiler/ets_frontend/ts2panda/scripts/generate_js_bytecode.py"
args = [
"--src-js",
@@ -59,7 +59,7 @@ action("gen_url_abc") {
]
deps = [
":build_ts_js",
"//ark/ts2abc/ts2panda:ark_ts2abc_build",
"//arkcompiler/ets_frontend/ts2panda:ark_ts2abc_build",
]
inputs = [ target_out_dir + "/js_url.js" ]
+3 -3
View File
@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//ark/ts2abc/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//build/ohos.gni")
import("//build/ohos/ace/ace.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
@@ -45,7 +45,7 @@ gen_js_obj("js_xml") {
# compile .js to .abc.
action("gen_xml_abc") {
visibility = [ ":*" ]
script = "//ark/ts2abc/ts2panda/scripts/generate_js_bytecode.py"
script = "//arkcompiler/ets_frontend/ts2panda/scripts/generate_js_bytecode.py"
args = [
"--src-js",
@@ -62,7 +62,7 @@ action("gen_xml_abc") {
]
deps = [
":build_ts_js",
"//ark/ts2abc/ts2panda:ark_ts2abc_build",
"//arkcompiler/ets_frontend/ts2panda:ark_ts2abc_build",
]
inputs = [ target_out_dir + "/js_xml.js" ]