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

Unified Diff: gpu/ipc/common/BUILD.gn

Issue 2574593003: Fix Windows build warning LNK4217 for blink_platform.dll. (Closed)
Patch Set: gpu/ipc/common:interfaces_blink Created 4 years 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: gpu/ipc/common/BUILD.gn
diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn
index dd653934df295153aca6b026907e0f770dc53eb6..fd114337e0b866c064f2e0218d5c6932dacf829b 100644
--- a/gpu/ipc/common/BUILD.gn
+++ b/gpu/ipc/common/BUILD.gn
@@ -151,6 +151,10 @@ mojom("interfaces") {
"//mojo/common:common_custom_types",
"//ui/gfx/geometry/mojo",
]
+
+ export_class_attribute_blink = "BLINK_PLATFORM_EXPORT"
+ export_define_blink = "BLINK_PLATFORM_IMPLEMENTATION=1"
+ export_header_blink = "third_party/WebKit/public/platform/WebCommon.h"
}
mojom("test_interfaces") {
« cc/ipc/BUILD.gn ('K') | « cc/ipc/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698