BuildRequires: webkit2-efl
BuildRequires: webkit2-efl-debuginfo
%endif
+%if "%{sec_product_feature_profile_wearable}" == "1"
+BuildRequires: launchpad-process-pool
+BuildRequires: launchpad-loader
+%else
BuildRequires: launchpad
+%endif
BuildRequires: app-core-efl
%if "%{TIZEN_PRODUCT_TV}" != "1"
BuildRequires: app-core-debuginfo
pushd scripts
echo "__tizen_profile_name__="%{?tizen_profile_name} > dyn_vars
echo "__tizen_product_tv__="%{?TIZEN_PRODUCT_TV} >> dyn_vars
+echo "__tizen_product_2_4_wearable__="%{sec_product_feature_profile_wearable} >> dyn_vars
popd
cd daemon
%if "%{?tizen_profile_name}" == "tv"
SWAP_BUILD_CMD+=" PROFILE_TV=y"
%else
+%if "%{sec_product_feature_profile_wearable}" != "1"
SWAP_BUILD_CMD+=" WSP_SUPPORT=y"
%endif
+%endif
SWAP_BUILD_CMD+=" make"
eval ${SWAP_BUILD_CMD}
check_null_or_exit dpath_app_core_efl
# get launchpad path
-path_launchpad=$(rpm -ql launchpad | grep launchpad-loader | head -1)
-path_launchpad=${path_launchpad:-$(rpm -ql launchpad | grep launchpad-process-pool | head -1)}
+if [ "$__tizen_product_2_4_wearable__" == "1" ]; then
+ path_launchpad=$(rpm -ql launchpad-loader | grep launchpad-loader | head -1)
+ path_launchpad=${path_launchpad:-$(rpm -ql launchpad-process-pool | grep launchpad-process-pool | head -1)}
+else
+ path_launchpad=$(rpm -ql launchpad | grep launchpad-loader | head -1)
+ path_launchpad=${path_launchpad:-$(rpm -ql launchpad | grep launchpad-process-pool | head -1)}
+fi
+
+
check_null_or_exit path_launchpad
}
-if [ "$__tizen_profile_name__" == "tv" ]; then
+if [ "$__tizen_profile_name__" == "tv" ] || [ "$__tizen_product_2_4_wearable__" == "1" ]; then
add_func_plt soup_requester_request_uri@plt soup_request
add_func _ZN7WebCore14ResourceLoader15willSendRequestERNS_15ResourceRequestERKNS_16ResourceResponseE main_res_will
add_func _ZN7WebCore11CachedImage7addDataEPKcj main_res_add