Raphael Kubo da Costa <raphael.kubo.da.co...@intel.com> writes:

> Here's what we have in mind for the next steps:
> * Before moving Crosswalk 23 (master) to M53:
>   - Finish the Linux porting work.
>   - Port Android to GN _before_ moving to M53 (otherwise we'll need to
>     carry our own patches making gyp work in chromium-crosswalk).
>   - Add a few Buildbot slaves building Crosswalk with GN in parallel
>     with the existing ones, so that we know building with both build
>     systems is working.
> * After moving Crosswalk 23 to M53:
>   - Stop supporting gyp on Android and Linux.
>   - Switch our Android and Linux Buildbot slaves to GN and drop gyp from
>     them.
>   - Investigate whether Windows is in good shape for the migration or
>     whether we will need to wait for M54 to port it.

We landed initial support for building Crosswalk Android with GN earlier
today, and I added some Android GN bots to our waterfalls a few hours
ago.

Pretty much all targets from gyp are there, except for the ones in
xwalk_core_library_android.gypi (which is being a nightmare to port).
This means it's not possible to create apps with app-tools because we
are not creating the app template yet, but building the "xwalk_builder"
generates all the APKs we need to run our device tests.

I have also rebased our "next" branch (tracking Chromium 53) on top of
our latest master to inherit all those GN changes. This has led to a few
more pull requests being sent to master (which I've temporarily
cherry-picked into next), but it is now possible to call "gn gen" and
generate an Android build on next.

People wanting to try out Android + GN (documentation on the website is
coming soon):

    cd /path/to/src
    gn args out/Release

      a text editor will pop up and you should enter the following:
      import("//xwalk/build/android.gni")
      target_os = "android"
      target_cpu = "x86"  # or "x64", or "arm" etc
      is_debug = false  # unless you want a debug build

That should be enough to call gn gen automatically, after which you can
use ninja as usual.
_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to