diff --git a/build_ts_js.py b/build_ts_js.py index aab71a3..622ab21 100755 --- a/build_ts_js.py +++ b/build_ts_js.py @@ -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) diff --git a/convertxml/BUILD.gn b/convertxml/BUILD.gn index 30dab6c..9196ea1 100755 --- a/convertxml/BUILD.gn +++ b/convertxml/BUILD.gn @@ -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" ] diff --git a/test_uri/unittest/BUILD.gn b/test_uri/unittest/BUILD.gn index 98e051b..5b934a6 100755 --- a/test_uri/unittest/BUILD.gn +++ b/test_uri/unittest/BUILD.gn @@ -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", diff --git a/test_xml/unittest/BUILD.gn b/test_xml/unittest/BUILD.gn index 0826b4c..d5c364d 100644 --- a/test_xml/unittest/BUILD.gn +++ b/test_xml/unittest/BUILD.gn @@ -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", diff --git a/uri/BUILD.gn b/uri/BUILD.gn index 134e84f..adafc28 100755 --- a/uri/BUILD.gn +++ b/uri/BUILD.gn @@ -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" ] diff --git a/url/BUILD.gn b/url/BUILD.gn index 97f07bb..56cdcaa 100755 --- a/url/BUILD.gn +++ b/url/BUILD.gn @@ -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" ] diff --git a/xml/BUILD.gn b/xml/BUILD.gn index dd213ee..367182c 100644 --- a/xml/BUILD.gn +++ b/xml/BUILD.gn @@ -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" ]