Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: ios/web_view/internal/BUILD.gn

Issue 2770633002: Export all CWV* symbols from the ios/web_view dynamic library. (Closed)
Patch Set: Add cwv_export.h to "sources" attribute of //ios/web_view:web_view. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web_view/internal/BUILD.gn
diff --git a/ios/web_view/internal/BUILD.gn b/ios/web_view/internal/BUILD.gn
index 7cb91bebd97228d4155876cb24ca35febee7ee37..5532769d8c7bb475d941721c85bfe6ac929763c2 100644
--- a/ios/web_view/internal/BUILD.gn
+++ b/ios/web_view/internal/BUILD.gn
@@ -41,6 +41,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",

Powered by Google App Engine
This is Rietveld 408576698