Chromium Code Reviews| 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 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 256 "QuartzCore.framework", | 256 "QuartzCore.framework", |
| 257 "UIKit.framework", | 257 "UIKit.framework", |
| 258 "XCTest.framework", | 258 "XCTest.framework", |
| 259 ] | 259 ] |
| 260 | 260 |
| 261 public_configs = [ ":config" ] | 261 public_configs = [ ":config" ] |
| 262 configs += [ "//build/config/compiler:enable_arc" ] | 262 configs += [ "//build/config/compiler:enable_arc" ] |
| 263 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] | 263 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
| 264 configs += [ "//build/config/gcc:symbol_visibility_default" ] | 264 configs += [ "//build/config/gcc:symbol_visibility_default" ] |
| 265 } | 265 } |
| 266 | |
| 267 bundle_data("xctest_bundle") { | |
| 268 testonly = true | |
| 269 | |
| 270 _ios_platform_library = "$ios_sdk_platform_path/Developer/Library" | |
| 271 sources = [ | |
| 272 "$_ios_platform_library/Frameworks/XCTest.framework", | |
|
justincohen
2016/07/21 18:42:05
Should this be a part of gn instead of earl grey?
sdefresne
2016/07/22 13:32:08
Good idea, I've split the ios_eg_tests in two xcte
| |
| 273 "$_ios_platform_library/PrivateFrameworks/IDEBundleInjection.framework", | |
| 274 ] | |
| 275 outputs = [ | |
| 276 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}", | |
| 277 ] | |
| 278 } | |
| OLD | NEW |