[PATCH] fixed xwalk rewritting --use-gl option

Previously if user specified --use-gl option, it was ignored.

Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
Packaging: re-enable XDG_Shell for Tizen
The Weston has been upgraded to 1.5 and XDG_Shell basics for Weston 1.5 have been in oz-wl.
So we think it's time to re-enable it now. Meanwhile some related issues are under fixing. More changes will come in.
[Android] Enable the feature for onRequestFocus.

This patch is to enable the feature for onRequestFocus().
Call onRequestFocus() in activateContents().
[Android] Add test case for onRequestFocus.

This patch is to add test case for OnRequestFocus().
[Android] Add xwalk_app_template_apk to xwalk_app_template's dependency

xwalk_app_template_apk is to verify the correctness of xwalk_app_template
before creating the package of it.
Set the dependency although, xwalk_app_template doesn't rely on
xwalk_app_template_apk to build.
Clarify the application start URL fetching

This patch introduces a clear separation between
XPK and WGT code paths for fetching start URL.

It also removes deprecated and unneeded EntryPoints
flags from the Application class.
Merge pull request #2386 from wang16/template_apk

[Android] Add xwalk_app_template_apk to xwalk_app_template's dependency
[Android] Use reflection layer in xwalk core for runtime usage

As now there is reflection layer between xwalk core and xwalk
core internal, there is no need to use the one between runtime
and runtime client for runtime usage.

After this patch, most facilities to support shared mode will be
moved from runtime to xwalk core. Besides, runtime_java will be
merged into runtime_client_java.
XWalkRuntimeLib.apk will keep the name unchanged, but its package
will be org.xwalk.core which was org.xwalk.runtime.lib previously.

TODO: Extension is still using reflection in runtime layer which
will be refined in future commits.
[Android] Move extension manager out to runtime layer

Extension in runtime layer (XWalkExtensionClient) was
directly using XWalkExtensionAndroid, which has core
internal dependency.
It should be based on the extension provide by xwalk
core.
Move all the classes for runtime extension to runtime
client package and remove the reflection layer which
is not between XWalkExtension and XWalkExtensionInternal.
[Tizen] hardcode OZONE_WAYLAND_USE_XDG_SHELL env in service file

This change tells ozone wayland backend
that shell is supporting unstable xdg-shell.

This is needed for by tizen's Application.hide().

Alternative would be store this var in system wide env
ie: /etc/profile/crosswalk.sh
And eventually force a login shell (sh -l -c "...")
in this service file.

But for performance concern it's hardcoded there,
this change may be reverted later
if Tizen sessions decide to use login shells then it will work same.

Refer to this page for xdg-shell integration in Tizen :

https://wiki.tizen.org/wiki/Wayland_xdg-shell_protocol
DEPS.xwalk: Roll ozone-wayland(db2f419 -> 6337db8) and
chromium-crosswalk(e5698a2 -> 15a0cc4)

ozone-wayland:
1c84c2e Introduce vaLockBuffer APIs in libva.
b87aac1 Update AUTHORS.
6337db8 Enable zero buffer copy method for wayland VDA.

chromium-crosswalk:
d85e4ed Introduce vaLockBuffer APIs in libva.
15a0cc4 Merge pull request #183 from shaochangbin/vaLockBuffer
Merge pull request #2399 from pozdnyakov/clarify_start_url_fetching

Clarify the application start URL fetching
Merge pull request #2323 from wuhengzhi/onRequestFocus_test

[Android] Enable the feature and add test case for onRequestFocus.
Merge pull request #2402 from shaochangbin/vda

DEPS.xwalk: Roll ozone-wayland(db2f419 -> 6337db8) and chromium-crosswalk(e5698a2 -> 15a0cc4)
Expose real path of Virtual Root (native file system)

Add a function, getRealPath(), to native_file_system object. Developer
passes virtual root name to this function and get full path of this
virtual root.

BUG=XWALK-2455
Make 'xwalkctl' Tizen-only

SSIA. Crosswalk on desktop does not need xwalkctl, as it does not
provide application management.
Bump version to 9.38.202.0
[Tizen] Reword Crosswalk's summary in the spec file.

rpmlint currently complains about Crosswalk's Summary entry in its spec
file:

  W: name-repeated-in-summary C Crosswalk
  The name of the package is repeated in its summary. This is often
  redundant information and looks silly in various programs' output.
  Make the summary brief and to the point without including redundant
  information in it.

Follow the suggestion and remove "Crosswalk" from the text.
Merge pull request #2330 from yejingfu/oz-wl

[Tizen] Packaging: re-enable XDG_Shell for Tizen
Merge pull request #2333 from rzr/master

 [Tizen] hardcode OZONE_WAYLAND_USE_XDG_SHELL env in service file