-v
%endif
-./script/build.py -c D -t wrt
+./script/build.py -c D -t wrt_all
%install
install -d %{_out}/packaging
# widget plugin
install -p -m 644 %{_out}/lib/libwidget_plugin.so %{buildroot}%{extension_path}
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}
# pwrt_env file
mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
# 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
# FIXME: Until electron-efl is released to platform,
%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
%attr(755,root,root) %{_sysconfdir}/profile.d/pwrt_env.sh
if 'use_efl=1' in [d.strip() for d in args.defines.split(' ')]:
return subprocess.call([python, gyp, '-f', generator, '--depth', '.',
- 'wrt.gyp', '-I' + os.path.join('tizen', 'common.gypi')] + defines, env=env)
+ 'wrt_all.gyp', '-I' + os.path.join('tizen', 'common.gypi')] + defines, env=env)
return subprocess.call([python, gyp, '-f', generator, '--depth', '.',
'electron.gyp', '-Icommon.gypi'] + defines, env=env)
'wrt-service',
'<(DEPTH)/tizen/common/common.gyp:wrt_common',
'<(DEPTH)/tizen/loader/loader.gyp:wrt-loader',
- '<(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',
--- /dev/null
+{
+ 'targets': [
+ {
+ 'target_name': 'wrt_all',
+ 'type': 'none',
+ 'dependencies': [
+ '<(DEPTH)/tizen/extensions/extensions.gyp:widget_plugin',
+ '<(DEPTH)/tizen/extensions/extensions.gyp:splash_screen_plugin',
+ '<(DEPTH)/wrt.gyp:wrt',
+ ],
+ }, # end of target 'wrt_all'
+ ], # end of targets
+}
\ No newline at end of file