diff options
author | sdefresne <sdefresne@chromium.org> | 2015-10-07 06:36:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-07 13:37:37 +0000 |
commit | 998e85859261f3a9d1491b6f106b32b5c7dce775 (patch) | |
tree | a09c9d88ab28676ad048324e3da62dd0cb0c2c98 /BUILD.gn | |
parent | dd3139a02f72d6b691e08ea2b10374927ed28cf7 (diff) | |
download | chromium_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.gn | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |