Index: gpu/command_buffer_gles2/BUILD.gn |
diff --git a/gpu/command_buffer_gles2/BUILD.gn b/gpu/command_buffer_gles2/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..99035973ecd9c87076249037cbf22d44bdba7401 |
--- /dev/null |
+++ b/gpu/command_buffer_gles2/BUILD.gn |
@@ -0,0 +1,31 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/ui.gni") |
+ |
+# GYP version: //gpu/command_buffer_gles2/command_buffer_gles2.gyp:command_buffer_gles2 |
+shared_library("command_buffer_gles2") { |
+ sources = [ |
+ # TODO(hendrikw): Move egl out of gles2_conform_support. |
+ "../gles2_conform_support/egl/config.cc", |
+ "../gles2_conform_support/egl/config.h", |
+ "../gles2_conform_support/egl/display.cc", |
+ "../gles2_conform_support/egl/display.h", |
+ "../gles2_conform_support/egl/egl.cc", |
+ "../gles2_conform_support/egl/surface.cc", |
+ "../gles2_conform_support/egl/surface.h", |
+ "command_buffer_egl.cc", |
+ ] |
+ |
+ deps = [ |
+ "//gpu/command_buffer/client:gles2_c_lib", |
+ "//gpu/command_buffer/client:gles2_implementation", |
+ "//gpu/command_buffer/service", |
+ ] |
+ |
+ defines = [ |
+ "EGLAPI=", |
+ "EGLAPIENTRY=", |
+ ] |
+} |