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

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

Issue 1882423002: [iOS/OSX/GN] Add -install_name to the shared_library ldflags on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-earlgrey
Patch Set: Created 4 years, 8 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
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 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("EarlGrey") {
20 output_name = "EarlGrey"
21
22 testonly = true 20 testonly = true
23 sources = [ 21 sources = [
24 "src/EarlGrey/Action/GREYAction.h", 22 "src/EarlGrey/Action/GREYAction.h",
25 "src/EarlGrey/Action/GREYActionBlock.h", 23 "src/EarlGrey/Action/GREYActionBlock.h",
26 "src/EarlGrey/Action/GREYActionBlock.m", 24 "src/EarlGrey/Action/GREYActionBlock.m",
27 "src/EarlGrey/Action/GREYActions.h", 25 "src/EarlGrey/Action/GREYActions.h",
28 "src/EarlGrey/Action/GREYActions.m", 26 "src/EarlGrey/Action/GREYActions.m",
29 "src/EarlGrey/Action/GREYBaseAction.h", 27 "src/EarlGrey/Action/GREYBaseAction.h",
30 "src/EarlGrey/Action/GREYBaseAction.m", 28 "src/EarlGrey/Action/GREYBaseAction.m",
31 "src/EarlGrey/Action/GREYChangeStepperAction.h", 29 "src/EarlGrey/Action/GREYChangeStepperAction.h",
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 "src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h", 229 "src/EarlGrey/Synchronization/GREYDispatchQueueIdlingResource.h",
232 "src/EarlGrey/Synchronization/GREYSyncAPI.h", 230 "src/EarlGrey/Synchronization/GREYSyncAPI.h",
233 "src/EarlGrey/Synchronization/GREYCondition.h", 231 "src/EarlGrey/Synchronization/GREYCondition.h",
234 "src/EarlGrey/Synchronization/GREYUIThreadExecutor.h", 232 "src/EarlGrey/Synchronization/GREYUIThreadExecutor.h",
235 ] 233 ]
236 deps = [ 234 deps = [
237 "//ios/third_party/fishhook", 235 "//ios/third_party/fishhook",
238 "//third_party/google_toolbox_for_mac", 236 "//third_party/google_toolbox_for_mac",
239 ] 237 ]
240 public_deps = [ 238 public_deps = [
241 "//ios/third_party/ochamcrest", 239 "//ios/third_party/ochamcrest:OCHamcrest",
242 ] 240 ]
243 241
244 libs = [ 242 libs = [
245 "CoreGraphics.framework", 243 "CoreGraphics.framework",
246 "Foundation.framework", 244 "Foundation.framework",
247 "IOKit.framework", 245 "IOKit.framework",
248 "QuartzCore.framework", 246 "QuartzCore.framework",
249 "UIKit.framework", 247 "UIKit.framework",
250 "XCTest.framework", 248 "XCTest.framework",
251 ] 249 ]
252 250
253 public_configs = [ ":config" ] 251 public_configs = [ ":config" ]
254 configs += [ "//build/config/compiler:enable_arc" ] 252 configs += [ "//build/config/compiler:enable_arc" ]
255 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] 253 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
256 } 254 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698