Index: ios/web_view/shell/BUILD.gn |
diff --git a/ios/web_view/shell/BUILD.gn b/ios/web_view/shell/BUILD.gn |
index 14032cdfa5b560eecaa20d1a5fe801a05771abde..4e08849fab07ba026a842b01249caff68a7c763e 100644 |
--- a/ios/web_view/shell/BUILD.gn |
+++ b/ios/web_view/shell/BUILD.gn |
@@ -30,6 +30,15 @@ source_set("shell") { |
"translate_controller.m", |
] |
+ # A workaround for an issue that we need to use the form: |
+ # #include "ios/web_view/public/cwv_export.h" |
+ # instead of: |
+ # #include <ChromeWebView/cwv_export.h> |
+ # when building this app. |
+ # |
+ # TODO(crbug.com/704946): Solve the issue and remove this workaround. |
+ defines = [ "CWV_IMPLEMENTATION" ] |
+ |
deps = [ |
":resources", |
"//ios/web_view", |