OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/sysroot.gni") | 6 import("//build/config/sysroot.gni") |
7 import("//build/toolchain/toolchain.gni") | 7 import("//build/toolchain/toolchain.gni") |
8 | 8 |
9 # This is included by reference in the //build/config/compiler:runtime_library | 9 # This is included by reference in the //build/config/compiler:runtime_library |
10 # config that is applied to all targets. It is here to separate out the logic | 10 # config that is applied to all targets. It is here to separate out the logic |
(...skipping 23 matching lines...) Expand all Loading... |
34 "-isystem", | 34 "-isystem", |
35 rebase_path("//third_party/llvm-build/Release+Asserts/include/c++/v1", | 35 rebase_path("//third_party/llvm-build/Release+Asserts/include/c++/v1", |
36 root_build_dir), | 36 root_build_dir), |
37 ] | 37 ] |
38 } | 38 } |
39 } | 39 } |
40 | 40 |
41 config("ios_dynamic_flags") { | 41 config("ios_dynamic_flags") { |
42 ldflags = [ "-Wl,-ObjC" ] # Always load Objective-C categories and class. | 42 ldflags = [ "-Wl,-ObjC" ] # Always load Objective-C categories and class. |
43 } | 43 } |
| 44 |
| 45 config("xctest_config") { |
| 46 common_flags = [ |
| 47 "-F", |
| 48 "$ios_sdk_platform_path/Developer/Library/Frameworks", |
| 49 ] |
| 50 |
| 51 cflags = common_flags |
| 52 ldflags = common_flags |
| 53 |
| 54 libs = [ |
| 55 "Foundation.framework", |
| 56 "XCTest.framework", |
| 57 ] |
| 58 } |
OLD | NEW |