Use screen connector 15/138215/2
authorJinho, Lee <jeano.lee@samsung.com>
Tue, 4 Jul 2017 12:55:05 +0000 (21:55 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Wed, 12 Jul 2017 07:37:20 +0000 (16:37 +0900)
- Replace aul_rsm with screen_connector_provider and enable for only wearable profile

Change-Id: Ie1a0c47ea079ed2b06d22f98158389d07043ca11

adaptors/tizen/adaptor-impl-tizen.cpp
build/tizen/adaptor/Makefile.am
build/tizen/adaptor/configure.ac
packaging/dali-adaptor.spec

index 1c5c7195f2d2069285c799349e09e9602a978da1..16191394187b2bf589baef313f04e6c27e630018 100644 (file)
@@ -21,7 +21,7 @@
 // EXTERNAL INCLUDES
 #include <app_common.h>
 #ifdef APPCORE_WATCH_AVAILABLE
-#include <aul_rsm_provider.h>
+#include <screen_connector_provider.h>
 #include <ecore-wl-render-surface.h>
 #endif
 
@@ -78,7 +78,7 @@ void Adaptor::SurfaceInitialized()
   app_get_id(&appId);
 
   Ecore_Wl_Window* ecoreWlWindow = AnyCast<Ecore_Wl_Window*>( mNativeWindow );
-  aul_rsm_provider_remote_enable(appId, ecore_wl_window_surface_get(ecoreWlWindow));
+  screen_connector_provider_remote_enable(appId, ecore_wl_window_surface_get(ecoreWlWindow));
 #endif
 }
 
index 6a4ae0a6ca16d765d84d6fe2a96dca11034f80fe..f225a8b48df21d66f3410ddfb62f2326b6584edf 100644 (file)
@@ -509,9 +509,11 @@ if WEARABLE_PROFILE
 libdali_adaptor_la_CXXFLAGS += \
                       $(HAPTIC_CFLAGS) \
                       $(EFL_ASSIST_CFLAGS) \
+                      $(SCREENCONNECTORPROVIDER_CFLAGS) \
                       $(APPCORE_WATCH_CFLAGS)
 
 libdali_adaptor_la_LIBADD += \
+                      $(SCREENCONNECTORPROVIDER_LIBS) \
                       $(APPCORE_WATCH_LIBS)
 endif
 
index 367e2ac559466992288f227e85af309544a54726..a1a8ca039f59d6ae4614752bba976742e6a3752f 100644 (file)
@@ -230,6 +230,7 @@ fi
 
 if test "x$enable_profile" = "xWEARABLE"; then
 PKG_CHECK_MODULES(OPENGLES20, glesv2)
+PKG_CHECK_MODULES(SCREENCONNECTORPROVIDER, screen_connector_provider)
 PKG_CHECK_MODULES(APPFW_WATCH, capi-appfw-watch-application,
    [watch_available=yes], [watch_available=no] )
 PKG_CHECK_MODULES(APPCORE_WATCH, appcore-watch)
index bf8332c151548886d4d0b59d86f8ffdf16467851..334f065f02bbd8fe3e607496457505803ea37c48 100644 (file)
@@ -48,6 +48,7 @@ BuildRequires:  pkgconfig(libtzplatform-config)
 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
 BuildRequires:  pkgconfig(capi-appfw-watch-application)
 BuildRequires:  pkgconfig(appcore-watch)
+BuildRequires:  pkgconfig(screen_connector_provider)
 %endif
 
 BuildRequires:  pkgconfig(gles20)
@@ -55,7 +56,6 @@ BuildRequires:  pkgconfig(glesv2)
 
 BuildRequires:  pkgconfig
 BuildRequires:  gawk
-BuildRequires:  pkgconfig(aul)
 BuildRequires:  giflib-devel
 BuildRequires:  pkgconfig(fontconfig)
 BuildRequires:  libjpeg-turbo-devel