summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc')
-rw-r--r--gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc b/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
index fa91220..dcf4c1b 100644
--- a/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
+++ b/gpu/command_buffer/tests/gl_virtual_contexts_unittests.cc
@@ -48,6 +48,7 @@ class GLVirtualContextsTest : public testing::Test {
namespace {
+#if !defined(OS_ANDROID)
void SetupSimpleShader(const uint8* color) {
static const char* v_shader_str = SHADER(
attribute vec4 a_Position;
@@ -90,6 +91,8 @@ void TestDraw(int size) {
glDrawArrays(GL_TRIANGLES, 0, 6);
}
+#endif // !defined(OS_ANDROID)
+
} // anonymous namespace
// http://crbug.com/281565