skia2/gn
mtklein 7d6fb2c92d GN: Android
Once you have downloaded an android NDK, you can set the ndk GN arg to use it.
E.g. my gn.args looks like:
  is_debug = false
  ndk = "/opt/android-ndk"

This should be enough to get you going for an arm64 build.  You ought to be able to tweak that to other architectures by changing target_cpu to "arm", "x86", "x86-64", etc.  That won't quite work until I follow this up a bit, but the skeleton is there.

This is enough to get me compiled, linked, and running to completion on my N5x.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2275983004

Review-Url: https://codereview.chromium.org/2275983004
2016-08-25 14:50:44 -07:00
..
BUILD.gn GN: Android 2016-08-25 14:50:44 -07:00
BUILDCONFIG.gn GN: Android 2016-08-25 14:50:44 -07:00
echo_headers.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
gn_helpers.py Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
win_stamp.py spin off easy stuff from Herb's windows GN CL 2016-08-04 06:19:33 -07:00