struct app_info_t *app_info_get_next(struct app_list_t **app_list);
struct target; // move
- void send_maps_inst_msg_to(struct target *t);
+
+ int ld_add_probes_by_feature(uint64_t to_enable_features_0,
+ uint64_t to_enable_features_1,
+ uint64_t to_disable_features_0,
+ uint64_t to_disable_features_1,
+ struct user_space_inst_t *us_inst,
+ struct msg_t **msg_reply_add,
+ struct msg_t **msg_reply_remove);
+int ld_add_probes_by_feature(uint64_t to_enable_features_0,
+ uint64_t to_enable_features_1,
+ uint64_t to_disable_features_0,
+ uint64_t to_disable_features_1,
+ struct user_space_inst_t *us_inst,
+ struct msg_t **msg_reply_add,
+ struct msg_t **msg_reply_remove);
+
#endif /* __DA_INST_H__*/
Group: System/Libraries
License: Apache-2.0
Source: %{name}_%{version}.tar.gz
-BuildRequires: smack-devel
-BuildRequires: libattr-devel
-BuildRequires: glib2-devel
-BuildRequires: aul-devel
-BuildRequires: vconf-devel
-BuildRequires: capi-system-info-devel
-BuildRequires: capi-system-runtime-info-devel
-BuildRequires: libwebsockets-devel
-BuildRequires: wrt
-%if "%{sec_product_feature_profile_wearable}" == "1"
-BuildRequires: libjson-devel
-%else
-BuildRequires: pkgconfig(json-c)
-%endif
-BuildRequires: pkgconfig(ecore)
-%if "%{?tizen_profile_name}" == "mobile"
-BuildRequires: call-manager
-BuildRequires: libcall-manager-devel
-%endif
-BuildRequires: swap-probe-devel
-BuildRequires: swap-probe-elf
-%if "%{?tizen_profile_name}" == "tv"
-BuildRequires: webkit2-efl-tv
-%if "%{TIZEN_PRODUCT_TV}" != "1"
-BuildRequires: webkit2-efl-tv-debuginfo
-%endif
-%else
-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
+
+
+# setup config
+%define NSP_SUPPORT 0
+%define WSP_SUPPORT 0
+%define WSI_SUPPORT 0
+
+
+ExcludeArch: aarch64 x86_64
+BuildRequires: smack-devel
+BuildRequires: libattr-devel
+BuildRequires: glib2-devel
+BuildRequires: aul-devel
+BuildRequires: vconf-devel
+BuildRequires: capi-system-info-devel
+BuildRequires: capi-system-runtime-info-devel
+BuildRequires: pkgconfig(json-c)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: launchpad
+BuildRequires: app-core-efl
+BuildRequires: libwayland-egl
+ BuildRequires: evas-devel
+ BuildRequires: elementary-devel
+ BuildRequires: libXext-devel
%if "%{TIZEN_PRODUCT_TV}" != "1"
-BuildRequires: app-core-debuginfo
+BuildRequires: app-core-efl-debuginfo
%endif
+BuildRequires: swap-probe-devel
+BuildRequires: swap-probe-elf
+BuildRequires: pkgconfig(libtzplatform-config)
-%if "%_project" != "Kirana_SWA_OPEN:Build" && "%_project" != "Kirana_SWA_OPEN:Daily"
-Requires: swap-modules
-%endif
-Requires: swap-probe
-Requires: swap-probe-elf
-Requires: sdbd
-Requires: libwebsockets
+
+%define NSP_SUPPORT 1
+# FIXME: add WSP_SUPPORT wrt webkit2-efl and webkit2-efl-debuginfo
+# FIXME: add WSI_SUPPORT libwebsockets-devel
+
+Requires: swap-modules
+Requires: swap-probe
+Requires: swap-probe-elf
+Requires: sdbd
%description
SWAP manager is a part of data collection back-end for DA.
popd
cd daemon
-%if "%{?tizen_profile_name}" == "mobile"
-SWAP_BUILD_CMD+=" CALL_MNGR=y"
+%if %{NSP_SUPPORT}
+ export NSP_SUPPORT=y
%endif
-%if "%{?tizen_profile_name}" == "tv"
-SWAP_BUILD_CMD+=" PROFILE_TV=y"
-%else
-%if "%{sec_product_feature_profile_wearable}" == "1"
-SWAP_BUILD_CMD+=" OLD_JSON=y"
-%else
-SWAP_BUILD_CMD+=" WSP_SUPPORT=y"
+%if %{WSP_SUPPORT}
+ export WSP_SUPPORT=y
%endif
+
+%if %{WSI_SUPPORT}
+ export WSI_SUPPORT=y
%endif
-SWAP_BUILD_CMD+=" make"
-eval ${SWAP_BUILD_CMD}
+make
+ cd ../ui_viewer
+ $SWAP_BUILD_CONF make
+
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p %{buildroot}/usr/share/license
cd daemon
%make_install
+ cd ../ui_viewer
+ %make_install
+
%post
-mkdir -p /opt/usr/etc
-touch /opt/usr/etc/resourced_proc_exclude.ini
+mkdir -p %{TZ_SYS_ETC}
+touch %{TZ_SYS_ETC}/resourced_proc_exclude.ini
%files
/usr/share/license/%{name}