Change abc generation template

Use es2abc to generate abc file instead of ts2panda

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: Ia3ff3ea5c46f7b5b4f886cb1e7fc30fd1e53d15f
This commit is contained in:
ctw-ian
2022-07-13 11:34:51 +08:00
parent 5fd95af437
commit 70b0b7d11b
3 changed files with 6 additions and 6 deletions
@@ -11,10 +11,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni")
import("//build/ohos.gni")
ts2abc_gen_abc("gen_window_extension_ability_abc") {
es2abc_gen_abc("gen_window_extension_ability_abc") {
src_js = rebase_path("window_extension_ability.js")
dst_file = rebase_path(target_out_dir + "/window_extension_ability.abc")
in_puts = [ "window_extension_ability.js" ]
@@ -11,10 +11,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni")
import("//build/ohos.gni")
ts2abc_gen_abc("gen_window_extension_context_abc") {
es2abc_gen_abc("gen_window_extension_context_abc") {
src_js = rebase_path("window_extension_context.js")
dst_file = rebase_path(target_out_dir + "/window_extension_context.abc")
in_puts = [ "window_extension_context.js" ]
@@ -11,10 +11,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni")
import("//build/ohos.gni")
ts2abc_gen_abc("gen_window_stage_abc") {
es2abc_gen_abc("gen_window_stage_abc") {
src_js = rebase_path("window_stage.js")
dst_file = rebase_path(target_out_dir + "/window_stage.abc")
in_puts = [ "window_stage.js" ]