install -p -m 755 %{_out}/lib/libxwalk_injected_bundle.so %{buildroot}%{_libdir}
# widget plugin
install -p -m 644 %{_out}/lib/libwidget_plugin.so %{buildroot}%{extension_path}
-install -p -m 644 %{_out}/lib/libwidget_plugin.so %{buildroot}%{_libdir}
install -p -m 644 %{_out}/gen/widget.json %{buildroot}%{extension_path}
+# Need to remove the below line later
+install -p -m 644 %{_out}/lib/libwidget_plugin.so %{buildroot}%{_libdir}
+
+# screen_plugin
+install -p -m 644 %{_out}/lib/libsplash_screen_plugin.so %{buildroot}%{extension_path}
+install -p -m 644 %{_out}/gen/splash_screen.json %{buildroot}%{extension_path}
+# Need to remove the below line later
+install -p -m 644 %{_out}/lib/libsplash_screen_plugin.so %{buildroot}%{_libdir}
%post
# Owner account can't write /opt/usr/home/owner/data/org.tizen.electron-efl
%attr(644,root,root) %{_libdir}/libwrt_common.so
%attr(644,root,root) %{_libdir}/libxwalk_extension_shared.so
%attr(644,root,root) %{_libdir}/libxwalk_injected_bundle.so
-%attr(644,root,root) %{_libdir}/libwidget_plugin.so
%attr(644,root,root) %{extension_path}/libwidget_plugin.so
%attr(644,root,root) %{extension_path}/widget.json
+%attr(644,root,root) %{extension_path}/libsplash_screen_plugin.so
+%attr(644,root,root) %{extension_path}/splash_screen.json
+# Need to remove these below lines later
+%attr(644,root,root) %{_libdir}/libwidget_plugin.so
+%attr(644,root,root) %{_libdir}/libsplash_screen_plugin.so
},
],
}, # end of target 'widget_plugin'
+ {
+ 'target_name': 'splash_screen_plugin',
+ 'type': 'shared_library',
+ 'sources': [
+ 'internal/splash_screen/splash_screen_api.js',
+ 'internal/splash_screen/splash_screen_extension.cc',
+ ],
+ 'variables': {
+ 'packages': [
+ 'dlog',
+ ],
+ },
+ 'copies': [
+ {
+ 'destination': '<(SHARED_INTERMEDIATE_DIR)',
+ 'files': [
+ 'internal/splash_screen/splash_screen.json'
+ ],
+ },
+ ],
+ }, # end of target 'splash_screen_plugin'
], # end of targets
}
'<(DEPTH)/tizen/loader/loader.gyp:wrt-loader',
'<(DEPTH)/tizen/extensions/extensions.gyp:xwalk_extension_shared',
'<(DEPTH)/tizen/extensions/extensions.gyp:widget_plugin',
+ '<(DEPTH)/tizen/extensions/extensions.gyp:splash_screen_plugin',
'<(DEPTH)/tizen/renderer/injected_bundle.gyp:xwalk_injected_bundle',
'<(DEPTH)/efl/build/system.gyp:ecore',
'<(DEPTH)/efl/build/system.gyp:launchpad',