diff options
author | 2017-02-09 16:54:30 -0800 | |
---|---|---|
committer | 2017-02-09 16:55:10 -0800 | |
commit | 5bd16b70133ba3901ed39eb867c34522fdf5778f (patch) | |
tree | 0ff4f1a98c5251e063952fda5cf14a3c42aa44d7 /src/objective-c/tests/Podfile | |
parent | acbc5dd6ece72a1eb1032568a0061ef867b8b800 (diff) |
Warnings and macro guards for op batch log
Diffstat (limited to 'src/objective-c/tests/Podfile')
-rw-r--r-- | src/objective-c/tests/Podfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/objective-c/tests/Podfile b/src/objective-c/tests/Podfile index 462c6a8e0e..5ada61c3d4 100644 --- a/src/objective-c/tests/Podfile +++ b/src/objective-c/tests/Podfile @@ -103,10 +103,14 @@ post_install do |installer| # Activate Cronet for the dedicated build configuration 'Cronet', which will be used solely by # the test target 'InteropTestsRemoteWithCronet' + # Activate GRPCCall+Tests functions for the dedicated build configuration 'Test', which will + # be used by all test targets using it. if target.name == 'gRPC' target.build_configurations.each do |config| if config.name == 'Cronet' - config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) COCOAPODS=1 GRPC_COMPILE_WITH_CRONET=1' + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) COCOAPODS=1 GRPC_COMPILE_WITH_CRONET=1 GRPC_TEST_OBJC' + elsif config.name == 'Test' + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) COCOAPODS=1 GRPC_TEST_OBJC' end end end |