| Index: build/config/ios/BUILD.gn
|
| diff --git a/build/config/ios/BUILD.gn b/build/config/ios/BUILD.gn
|
| index 3ccffab9a3aab9f6614a125e3846307847ee300a..6b8896c566b9434c098d864527b6acfd449d821a 100644
|
| --- a/build/config/ios/BUILD.gn
|
| +++ b/build/config/ios/BUILD.gn
|
| @@ -41,3 +41,18 @@ config("runtime_library") {
|
| config("ios_dynamic_flags") {
|
| ldflags = [ "-Wl,-ObjC" ] # Always load Objective-C categories and class.
|
| }
|
| +
|
| +config("xctest_config") {
|
| + common_flags = [
|
| + "-F",
|
| + "$ios_sdk_platform_path/Developer/Library/Frameworks",
|
| + ]
|
| +
|
| + cflags = common_flags
|
| + ldflags = common_flags
|
| +
|
| + libs = [
|
| + "Foundation.framework",
|
| + "XCTest.framework",
|
| + ]
|
| +}
|
|
|