Index: ios/web_view/internal/BUILD.gn |
diff --git a/ios/web_view/internal/BUILD.gn b/ios/web_view/internal/BUILD.gn |
index 444aedad5d739b9c8db3248843b99e6a402ff6b1..cea2734647a1e22521dcd7f3f919e0985cd261a4 100644 |
--- a/ios/web_view/internal/BUILD.gn |
+++ b/ios/web_view/internal/BUILD.gn |
@@ -36,6 +36,11 @@ source_set("internal") { |
"web_view_web_state_policy_decider.h", |
"web_view_web_state_policy_decider.mm", |
] |
+ |
+ # Let header files know that it is building ios/web_view library, not using |
+ # it. |
+ defines = [ "CWV_IMPLEMENTATION" ] |
+ |
deps = [ |
"//base", |
"//components/pref_registry", |