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

Unified Diff: ui/gl/gl_bindings.h

Issue 223253006: Exclude references to EGL and relevant files when building chromecast as the current version of chr… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add necessary EGL name declarations/definitions and native widget Created 6 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
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/gl/gl_implementation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings.h
diff --git a/ui/gl/gl_bindings.h b/ui/gl/gl_bindings.h
index 8a28a6466852ee4b23d7c240aaa8eafe8ccca050..25ac45e77fb12d5cadcd98295427801aa59a7916 100644
--- a/ui/gl/gl_bindings.h
+++ b/ui/gl/gl_bindings.h
@@ -220,6 +220,8 @@ typedef uint64 EGLuint64CHROMIUM;
#include "gl_bindings_autogen_egl.h"
#elif defined(OS_ANDROID)
#include "gl_bindings_autogen_egl.h"
+#elif defined(CHROMECAST_BUILD)
+#include "gl_bindings_autogen_egl.h"
#endif
namespace gfx {
@@ -268,7 +270,7 @@ struct GL_EXPORT DriverWGL {
};
#endif
-#if defined(OS_WIN) || defined(USE_X11) || defined(OS_ANDROID) || defined(USE_OZONE)
+#if defined(OS_WIN) || defined(USE_X11) || defined(OS_ANDROID) || defined(USE_OZONE) || defined(CHROMECAST_BUILD)
struct GL_EXPORT DriverEGL {
void InitializeStaticBindings();
void InitializeDynamicBindings(GLContext* context);
@@ -326,6 +328,11 @@ GL_EXPORT extern DriverEGL g_driver_egl;
GL_EXPORT extern EGLApi* g_current_egl_context;
GL_EXPORT extern DriverEGL g_driver_egl;
+#elif defined(CHROMECAST_BUILD)
+
+GL_EXPORT extern EGLApi* g_current_egl_context;
+GL_EXPORT extern DriverEGL g_driver_egl;
+
#endif
} // namespace gfx
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/gl/gl_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698