[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>
[Android] User TextureView as the default rendering backend view.

There are several issues with SurfaceView rendering backend, including:
(1) Can't be animated/transformed/translucent.
(2) Multiple SurfaceView overlapped in the same ViewGroup will cause undefined behavior.

Those are not issues for Chrome for Android, since Chrome for Android uses only
one SurfaceView and everything is painted/compsited inside the SurfaceView.
But for Crosswalk, we may have multiple SurfaceViews for each embedding App, so the
drawbacks of SurfaceView may cause some bugs.

This CL makes TextureView as the default rendering backend, which can overcome the
drawbacks of SurfaceView. Eventhough the TextureView increase more memory usage.

To switch back to SurfaceView,set the ANIMATABLE_XWALK_VIEW preference value to be
false before using XWalkView.

BUG=
DEPS.xwalk: Roll ozone-wayland (6337db8 -> d301e5c).

d301e5c Make IsMinimized as read only.
9d58a63 Fix issue #258 "XDG-shell: Minimize works once only":

BUG=XWALK-2199
Re-organize the application un/installation code

1) The appplication un/installation now is Tizen-only.
2) The code which is only used by 'xwalkctl' has moved
   to 'application/tools/tizen'.
3) The unneeded platform abstractions were removed.
[Android] Rewrite generate_xwalk_core_library_aar.py.

The previous version was horribly bloated and broken. The main
issue (which is blocking XWALK-1930) is that CopyBinaries() recurses
into some directories and tries to copy each subpath individually. Not
only is this entirely unnecessary, but the code does it the wrong way
and, for ARM builds, creates something like
'jni/xwalk_core_library_java.jar/armeabi-v7a/libxwalkcore.so'.

Instead of just fixing one issue, rewrite the whole script in a saner,
much smaller and more Pythonic way:

* Remove a lot of unnecessary functions.
* Get rid of the "-s" option which was not being used at all.
* Stop calling sys.exit() in main() since it's supposed to return an
  exit code instead.
* Stop copying files from xwalk_core_library/ into an intermediate
  directory and just write them to the zip file directly.
[Android] Packaging enhancement for external extensions

Add extension_manager.py to download online extension repo.
Usage of extension_manager.py:

1. Add extension
$ python extension_manager.py \
--add=https://github.com/crosswalk-project/crosswalk-android-extensions.git

2. List all extensions
$ python extension_manager.py -l

3. Search extension
$ python extension_manager.py --search=crosswalk*

4. Remove extension repo
$ python extension_manager.py --remove=crosswalk-android-extensions

5. Enable extension
$ python extension_manager.py --enable=crosswalk*

6. Disable extension
$ python extension_manager.py --disable=crosswalk*

Usage of make_apk.py
$ python make_apk.py --package=your.app.name \
--manifest=<your_manifest_path>

BUG=XWALK-1947
Merge pull request #2412 from rakuco/sane-aar-generator

[Android] Rewrite generate_xwalk_core_library_aar.py.
[Tizen] Initial Murphy mainloop adaptation for MessageLoop.
[Tizen] Remove Tizen Audio Session Manager integration

Removing Audio Session Manager integration since I will
be adding Murphy resource policy daemon integration in
the following patch.
[Tizen] Add Tizen Murphy resource policy daemon integration

The new classes are for registering Murphy resource policy daemon and
communicate media player callbacks with it.
[Tizen] Add Murphy packages to the list of crosswalk dependencies.
DEPS.xwalk: Roll chromium-crosswalk (15a0cc4 -> 04ba13a)

04ba13a [Tizen] Add Tizen Murphy resource policy daemon integration
Bump version to 9.38.204.0
Merge pull request #2283 from shawngao5/extension_manager

[Android] Add new command for make_apk.py to package external extensions
[Android] Multiple profile support

Add profile in the path of disk files used to save
user data. Embedder can specify profile by XWalkPreferences.

The profile must be set before any XWalkView instance created
to take effect.

TEST=org.xwalk.core.xwview.test.ProfileTest#testCustomizeProfile
BUG=https://crosswalk-project.org/jira/browse/XWALK-2375
 [Android] Run make_apk.py from any directory

 Prepends the working directory to all files and directories accessed in
 the same directory as make_apk.py

 BUG=XWALK-2391
Merge pull request #2411 from pozdnyakov/move_installer_to_tizen

Re-organize the application un/installation code
Merge pull request #2401 from wang16/profile

[Android] Multiple profile support
Merge pull request #2382 from bspencer/run_from_anywhere

Allow running make_apk.py from any directory
[Tizen] Re-orginize application storage code

Move application storage to a "Tizen-only" place.
Drop the sqlite-based application storage implementation
as it is not used by anyone.