| OLD | NEW |
| 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 | 10 |
| 11 # EarlGrey and its dependencies need to link to XCTest.framework | 11 # EarlGrey and its dependencies need to link to XCTest.framework |
| 12 # that is not under $ios_sdk_path. | 12 # that is not under $ios_sdk_path. |
| 13 common_flags = [ "-F$ios_sdk_path/../../Library/Frameworks" ] | 13 common_flags = [ "-F$ios_sdk_path/../../Library/Frameworks" ] |
| 14 cflags_objc = common_flags | 14 cflags_objc = common_flags |
| 15 cflags_objcc = common_flags | 15 cflags_objcc = common_flags |
| 16 ldflags = common_flags | 16 ldflags = common_flags |
| 17 } | 17 } |
| 18 | 18 |
| 19 ios_framework_bundle("earl_grey") { | 19 ios_framework_bundle("earl_grey") { |
| 20 output_name = "EarlGrey" | 20 output_name = "EarlGrey" |
| 21 info_plist = "Info.plist" |
| 21 | 22 |
| 22 testonly = true | 23 testonly = true |
| 23 sources = [ | 24 sources = [ |
| 24 "src/EarlGrey/Action/GREYAction.h", | 25 "src/EarlGrey/Action/GREYAction.h", |
| 25 "src/EarlGrey/Action/GREYActionBlock.h", | 26 "src/EarlGrey/Action/GREYActionBlock.h", |
| 26 "src/EarlGrey/Action/GREYActionBlock.m", | 27 "src/EarlGrey/Action/GREYActionBlock.m", |
| 27 "src/EarlGrey/Action/GREYActions.h", | 28 "src/EarlGrey/Action/GREYActions.h", |
| 28 "src/EarlGrey/Action/GREYActions.m", | 29 "src/EarlGrey/Action/GREYActions.m", |
| 29 "src/EarlGrey/Action/GREYBaseAction.h", | 30 "src/EarlGrey/Action/GREYBaseAction.h", |
| 30 "src/EarlGrey/Action/GREYBaseAction.m", | 31 "src/EarlGrey/Action/GREYBaseAction.m", |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 "QuartzCore.framework", | 256 "QuartzCore.framework", |
| 256 "UIKit.framework", | 257 "UIKit.framework", |
| 257 "XCTest.framework", | 258 "XCTest.framework", |
| 258 ] | 259 ] |
| 259 | 260 |
| 260 public_configs = [ ":config" ] | 261 public_configs = [ ":config" ] |
| 261 configs += [ "//build/config/compiler:enable_arc" ] | 262 configs += [ "//build/config/compiler:enable_arc" ] |
| 262 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] | 263 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
| 263 configs += [ "//build/config/gcc:symbol_visibility_default" ] | 264 configs += [ "//build/config/gcc:symbol_visibility_default" ] |
| 264 } | 265 } |
| OLD | NEW |