const char **str_arr, int len);
void _change_file(const char *path);
void _wait_for_valgrind_output(void);
-void _set_env(appinfo_t *app_info, bundle *kb);
char **_create_argc_argv(bundle *kb, int *margc, const char *app_path);
#endif /* __DEBUG_UTIL_H__ */
#define AUL_K_WAYLAND_DISPLAY "__AUL_WAYLAND_DISPLAY__"
#define AUL_K_WAYLAND_WORKING_DIR "__AUL_WAYLAND_WORKING_DIR__"
#define AUL_K_API_VERSION "__AUL_API_VERSION__"
+#define AUL_K_ROOT_PATH "__AUL_ROOT_PATH__"
#define SDK_CODE_COVERAGE "CODE_COVERAGE"
#define SDK_DEBUG "DEBUG"
if (str)
setenv("TIZEN_API_VERSION", str, 1);
+ str = bundle_get_val(kb, AUL_K_ROOT_PATH);
+ if (str)
+ setenv("AUL_ROOT_PATH", str, 1);
+
libdir = __get_libdir(appinfo->app_path);
if (libdir) {
setenv("LD_LIBRARY_PATH", libdir, 1);