summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-10-07 06:36:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-07 13:37:37 +0000
commit998e85859261f3a9d1491b6f106b32b5c7dce775 (patch)
treea09c9d88ab28676ad048324e3da62dd0cb0c2c98 /BUILD.gn
parentdd3139a02f72d6b691e08ea2b10374927ed28cf7 (diff)
downloadchromium_src-998e85859261f3a9d1491b6f106b32b5c7dce775.zip
chromium_src-998e85859261f3a9d1491b6f106b32b5c7dce775.tar.gz
chromium_src-998e85859261f3a9d1491b6f106b32b5c7dce775.tar.bz2
[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}
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 2 insertions, 0 deletions
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