[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] Keep package path for the generated java files

It will be convenient for IDE like eclipse to debug for
those source files.
[REG] Fixed NaCl loading issue introduced by rebase.

According to the upstream change 01167110, the trusted plugin is
linked into the renderer directly instead of loading as a module
in runtime, and the ppGoogleNaClPlugin module has been removed;
so we need to change the plugin loading codes in
XWalkContentClient::AddPepperPlugins.
Enable launching packaged application

Now it is possible to launch an app like

'xwalk path/to/some.xpk'

The package is unpacked to a temporary folder
within '.config/xwalk/applications'.
Merge pull request #2398 from pozdnyakov/Launch_package

Enable launching packaged application
Bump version to 9.38.201.0
Reinstall option of backend

This commit adds "-r" option for xwalkctl.
xwalkctl may be called with this option by package manager to reinstall app in specific way may be implemented later.

For now, we need just to signal pkgmgr that reinstallation fails to prevent hanging requesting process.

TASK=XWALK-2458
[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.
Merge pull request #2393 from jondong/naclLoading

[REG] Fixed NaCl loading issue introduced by rebase.
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 #2396 from tiwanek/XWALK-2458

[Tizen] Reinstall option of backend
Merge pull request #2388 from wang16/reflection_layer

[Android] Keep package path for the generated java files
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