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

Unified Diff: mojo/public/c/gles2/gles2_export.h

Issue 413303002: mojo: Convert gles2 to the new thunking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split the set of thunks in two. Created 6 years, 5 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: mojo/public/c/gles2/gles2_export.h
diff --git a/mojo/public/c/gles2/gles2_export.h b/mojo/public/c/gles2/gles2_export.h
index 4f8796da069087c0c296a3fe633b85f18d814568..60667b11cc7cd794e97015f5b27332b56531d0ca 100644
--- a/mojo/public/c/gles2/gles2_export.h
+++ b/mojo/public/c/gles2/gles2_export.h
@@ -5,6 +5,7 @@
#ifndef MOJO_PUBLIC_C_GLES2_GLES2_EXPORT_H_
#define MOJO_PUBLIC_C_GLES2_GLES2_EXPORT_H_
+#if defined(COMPONENT_BUILD) && defined(MOJO_USE_GLES2_IMPL)
#if defined(WIN32)
#if defined(MOJO_GLES2_IMPLEMENTATION)
@@ -23,4 +24,10 @@
#endif // defined(WIN32)
+#else // !defined(COMPONENT_BUILD) || !defined(MOJO_USE_GLES2_IMPL)
+
+#define MOJO_GLES2_EXPORT
+
+#endif // defined(COMPONENT_BUILD) && defined(MOJO_USE_GLES2_IMPL)
+
#endif // MOJO_PUBLIC_C_GLES2_GLES2_EXPORT_H_

Powered by Google App Engine
This is Rietveld 408576698