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

Unified Diff: content/common/BUILD.gn

Issue 2225673002: Support exporting Mojo bindings for the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win_clang Created 4 years, 4 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
« no previous file with comments | « no previous file | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index d92200de8b8d9a2c413731e29c8230a560ca9f80..af14e20e436c8cfb9b47c1c03e785b603fbb58fd 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -234,10 +234,7 @@ group("for_content_tests") {
}
mojom("mojo_bindings") {
- # This interface is internal to content. However, this is not exported from
- # the content component shared library. Code in content but outside of the
- # content component (content/test or content/shell) should link to this
- # directly.
+ # This interface is internal to content.
visibility = [ "//content/*" ]
sources = [
@@ -267,4 +264,8 @@ mojom("mojo_bindings") {
]
use_new_wrapper_types = false
+
+ export_class_attribute = "CONTENT_EXPORT"
+ export_define = "CONTENT_IMPLEMENTATION=1"
+ export_header = "content/common/content_export.h"
}
« no previous file with comments | « no previous file | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698