From 998e85859261f3a9d1491b6f106b32b5c7dce775 Mon Sep 17 00:00:00 2001 From: sdefresne Date: Wed, 7 Oct 2015 06:36:45 -0700 Subject: [iOS][GN] Port ios_net_unittests to build with gn. Add new BUILD.gn file exporting //ios/net and //ios/net:ios_net_unittests targets (corresponding to ios_net and ios_net_unittests with gyp) and add dependency on the unit test target in //BUILD.gn. Add missing dependency on //build/config/mac:compiler when targetting iOS or mac in //build/config/compiler/BUILD.gn (paralleling the other deps on //build/config/${system}:compiler). Change the "-arch" value to target fat architecture "arm64" & "armv7" when current_cpu is "arm" (better to have fat binaries working on all devices since it is not possible currently to target "armv7" with gn). BUG=459705 Review URL: https://codereview.chromium.org/1388983003 Cr-Commit-Position: refs/heads/master@{#352827} --- BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index 04f54da..71a68a7 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -176,6 +176,8 @@ group("both_gn_and_gyp") { "//ui/gl:gl_unittests", "//ui/touch_selection:ui_touch_selection_unittests", ] + } else { + deps += [ "//ios/net:ios_net_unittests" ] } deps += root_extra_deps -- cgit v1.1