From: liwei Date: Mon, 19 Sep 2022 03:51:19 +0000 (+0800) Subject: Support 64bit env X-Git-Tag: submit/tizen/20220920.160024^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=427d9750258d5a5b334d32491a50f7bf84d16745;p=platform%2Fframework%2Fweb%2Fwrtjs.git Support 64bit env 1. Support 64bit compile ./tizen/build/build_tv.sh -P profile.tztv_64bit_7.0_arm-pontusm -A aarch64 2. In 64bit env, plugin path should be '/usr/lib64' not '/usr/lib' Change-Id: I4b29a75eff19780fcf855c4fb946033258a271f2 Signed-off-by: liwei --- diff --git a/packaging/plugins_aarch64.json b/packaging/plugins_aarch64.json new file mode 100644 index 0000000..db12447 --- /dev/null +++ b/packaging/plugins_aarch64.json @@ -0,0 +1,88 @@ +[ + { + "name":"tizen.filesystem", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_filesystem.so", + "entry_points": [] + }, + { + "name":"tizen.messageport", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_messageport.so", + "entry_points": [] + }, + { + "name":"tizen", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen.so", + "entry_points": [] + }, + { + "name":"tizen.datacontrol", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_datacontrol.so", + "entry_points": [] + }, + { + "name":"tizen.application", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_application.so", + "entry_points": ["tizen.ApplicationControl","tizen.ApplicationControlData"] + }, + { + "name":"tizen.time", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_time.so", + "entry_points": ["tizen.TZDate","tizen.TimeDuration"] + }, + { + "name":"xwalk", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_utils.so", + "entry_points": [] + }, + { + "name":"tizen.systeminfo", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_systeminfo.so", + "entry_points": [] + }, + { + "name":"tizen.package", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_package.so", + "entry_points": [] + }, + { + "name":"tizen.alarm", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_alarm.so", + "entry_points": ["tizen.AlarmRelative","tizen.AlarmAbsolute"] + }, + { + "name":"tizen.exif", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_exif.so", + "entry_points": ["tizen.ExifInformation"] + }, + { + "name":"tizen.content", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_content.so", + "entry_points": [] + }, + { + "name":"tizen.download", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_download.so", + "entry_points": ["tizen.DownloadRequest"] + }, + { + "name":"tizen.account", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_account.so", + "entry_points": ["tizen.Account"] + }, + { + "name":"tizen.iotcon", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_iotcon.so", + "entry_points": ["tizen.IotconOption","tizen.Query","tizen.QueryFilter", + "tizen.Representation","tizen.Response","tizen.State"] + }, + { + "name":"tizen.notification", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_notification.so", + "entry_points": ["tizen.StatusNotification","tizen.UserNotification", "tizen.NotificationDetailInfo"] + }, + { + "name":"tizen.archive", + "lib":"/usr/lib64/tizen-extensions-crosswalk/libtizen_archive.so", + "entry_points": [] + } +] diff --git a/packaging/wrtjs.spec b/packaging/wrtjs.spec index dd21607..076c750 100644 --- a/packaging/wrtjs.spec +++ b/packaging/wrtjs.spec @@ -178,7 +178,12 @@ echo %{version} > %{buildroot}%{_datadir}/wrtjs/version %endif mkdir -p %{buildroot}%{_libdir}/%{crosswalk_extensions_service} +%ifarch aarch64 +cp packaging/plugins_aarch64.json %{buildroot}%{_libdir}/%{crosswalk_extensions_service} +mv %{buildroot}%{_libdir}/%{crosswalk_extensions_service}/plugins_aarch64.json %{buildroot}%{_libdir}/%{crosswalk_extensions_service}/plugins.json +%else cp packaging/plugins.json %{buildroot}%{_libdir}/%{crosswalk_extensions_service} +%endif cp -r %{app_dir}/* %{buildroot}%{_resourcedir}/ %if 0%{?_use_tpk} diff --git a/tizen/build/gbs.conf.in b/tizen/build/gbs.conf.in index af5a037..767bdfc 100644 --- a/tizen/build/gbs.conf.in +++ b/tizen/build/gbs.conf.in @@ -238,3 +238,22 @@ repos = repo.da_product_5.5_base, repo.da_product_5.5_fhub_kantm buildroot = ~/GBS-ROOT-TZDA_5.5_ARM-KANTM user = blinkbot passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + +############################################### +# +# Tizen v7.0 64bit for product tv (PontusM armv7l) +# +[profile.tztv_64bit_7.0_arm-pontusm] +obs = obs.tizen_product_tv +repos = repo.tv_product_64bit_7.0_pontusm, repo.tv_product_64bit_7.0_base +buildroot = ~/GBS-ROOT-TZTV_64Bit_7.0_ARM-PONTUSM + +[repo.tv_product_64bit_7.0_base] +url = http://168.219.244.109/base/tizen-7.0-base/standard/latest/repos/base/aarch64/packages/ +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + +[repo.tv_product_64bit_7.0_pontusm] +url =http://168.219.244.109/products/tv/official/2023/ONEMAIN/OscarP64/latest/repos/product/aarch64/packages/ +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ==