Index: ios/DEPS |
diff --git a/ios/DEPS b/ios/DEPS |
index 2ee69255188e14405080ada95ab69608b7aeba21..8f13cb93e6a372de5bba3198b6fc7593db211499 100644 |
--- a/ios/DEPS |
+++ b/ios/DEPS |
@@ -3,6 +3,11 @@ include_rules = [ |
# directories in ios/ so we disallow all of them. |
"-ios", |
+ # To avoid ODR violation, direct import of ios/third_party/ochamcrest |
+ # is forbidden in ios/DEPS and code should instead use import as if |
+ # OCHamcrest was in a framework (i.e. #import <OCHamcrest/OCHamcrest.h>). |
+ "-ios/third_party/ochamcrest", |
+ |
# For unit tests. |
"+third_party/ocmock", |
] |