Index: ios/web_view/internal/translate/BUILD.gn |
diff --git a/ios/web_view/internal/translate/BUILD.gn b/ios/web_view/internal/translate/BUILD.gn |
index d42ff359291154da48a5cadc094bff39af71267f..fdbfd6dc5a1997aa5a645f75e2cd16154f733fc2 100644 |
--- a/ios/web_view/internal/translate/BUILD.gn |
+++ b/ios/web_view/internal/translate/BUILD.gn |
@@ -16,6 +16,11 @@ source_set("translate") { |
"web_view_translate_client.h", |
"web_view_translate_client.mm", |
] |
+ |
+ # Let header files know that it is building ios/web_view library, not using |
+ # it. |
+ defines = [ "CWV_IMPLEMENTATION" ] |
+ |
deps = [ |
"//base", |
"//components/infobars/core", |