DescriptionGN: 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
Committed: https://skia.googlesource.com/skia/+/7d6fb2c92d096ac3630e23d561a4077a974a815c
Patch Set 1 #Patch Set 2 : everything off ndk #Patch Set 3 : more #Patch Set 4 : build freetype #Patch Set 5 : everything builds and links #Patch Set 6 : pie #Patch Set 7 : save #Patch Set 8 : getting tidier #Patch Set 9 : finish up tidying #Patch Set 10 : simplify pthread #Patch Set 11 : implicit pthread #Patch Set 12 : continue using system freetype on Linux #Patch Set 13 : note #
Messages
Total messages: 22 (16 generated)
|