From 7d3028818ec1b6a653da45387ddf0fa01888cdda Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 3 Nov 2016 14:06:31 -0400 Subject: GN: iOS basics This doesn't create any apps or bundles or sign anything, but it all compiles and links. Note the awkward transitional hack I used to make each tool's tool_main() serve as the real main() again when built with GN, while keeping the existing setup with GYP. Fun... BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4350 Change-Id: I632753d5d8e5848380854f413bf5905d676bfcf4 Reviewed-on: https://skia-review.googlesource.com/4350 Reviewed-by: Jim Van Verth Commit-Queue: Mike Klein --- gn/BUILDCONFIG.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn/BUILDCONFIG.gn') diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn index 9a995bb3d1..4ed566866e 100644 --- a/gn/BUILDCONFIG.gn +++ b/gn/BUILDCONFIG.gn @@ -40,7 +40,7 @@ is_win = current_os == "win" if (target_cpu == "") { target_cpu = host_cpu - if (is_android) { + if (is_android || is_ios) { target_cpu = "arm64" } } -- cgit v1.2.3