Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: ios/third_party/earl_grey/BUILD.gn

Issue 2173493002: Convert ios_web_shell_test to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eg-tests-deps
Patch Set: Sync //ios/web/shell/test:earl_grey_test_support with gyp. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/BUILD.gn ('k') | ios/third_party/earl_grey/ios_eg_test.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ios/ios_sdk.gni") 5 import("//build/config/ios/ios_sdk.gni")
6 import("//build/config/ios/rules.gni") 6 import("//build/config/ios/rules.gni")
7 7
8 config("config") { 8 config("config") {
9 include_dirs = [ "src/EarlGrey" ] 9 include_dirs = [ "src/EarlGrey" ]
10
11 # EarlGrey and its dependencies need to link to XCTest.framework
12 # that is not under $ios_sdk_path.
13 common_flags = [ "-F$ios_sdk_path/../../Library/Frameworks" ]
14 cflags_objc = common_flags
15 cflags_objcc = common_flags
16 ldflags = common_flags
17 } 10 }
18 11
19 ios_framework_bundle("earl_grey") { 12 ios_framework_bundle("earl_grey") {
20 output_name = "EarlGrey" 13 output_name = "EarlGrey"
21 info_plist = "Info.plist" 14 info_plist = "Info.plist"
22 15
23 testonly = true 16 testonly = true
24 sources = [ 17 sources = [
25 "src/EarlGrey/Action/GREYAction.h", 18 "src/EarlGrey/Action/GREYAction.h",
26 "src/EarlGrey/Action/GREYActionBlock.h", 19 "src/EarlGrey/Action/GREYActionBlock.h",
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 244
252 libs = [ 245 libs = [
253 "CoreGraphics.framework", 246 "CoreGraphics.framework",
254 "Foundation.framework", 247 "Foundation.framework",
255 "IOKit.framework", 248 "IOKit.framework",
256 "QuartzCore.framework", 249 "QuartzCore.framework",
257 "UIKit.framework", 250 "UIKit.framework",
258 "XCTest.framework", 251 "XCTest.framework",
259 ] 252 ]
260 253
261 public_configs = [ ":config" ] 254 public_configs = [
255 ":config",
256 "//build/config/ios:xctest_config",
257 ]
258
262 configs += [ "//build/config/compiler:enable_arc" ] 259 configs += [ "//build/config/compiler:enable_arc" ]
263 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] 260 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
264 configs += [ "//build/config/gcc:symbol_visibility_default" ] 261 configs += [ "//build/config/gcc:symbol_visibility_default" ]
265 } 262 }
OLDNEW
« no previous file with comments | « ios/BUILD.gn ('k') | ios/third_party/earl_grey/ios_eg_test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698