From 7d6fb2c92d096ac3630e23d561a4077a974a815c Mon Sep 17 00:00:00 2001 From: mtklein Date: Thu, 25 Aug 2016 14:50:44 -0700 Subject: 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 --- third_party/icu/BUILD.gn | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'third_party/icu') diff --git a/third_party/icu/BUILD.gn b/third_party/icu/BUILD.gn index e2137609d8..e7a55b5218 100644 --- a/third_party/icu/BUILD.gn +++ b/third_party/icu/BUILD.gn @@ -199,9 +199,5 @@ third_party("icu") { "../externals/icu/source/common/uvectr64.cpp", "../externals/icu/source/common/wintz.c", ] - if (is_linux) { - sources += [ "../externals/icu/linux/icudtl_dat.S" ] - } else if (is_mac) { - sources += [ "../externals/icu/mac/icudtl_dat.S" ] - } + sources += [ "../externals/icu/$current_os/icudtl_dat.S" ] } -- cgit v1.2.3