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

Unified Diff: gpu/command_buffer_gles2/BUILD.gn

Issue 1220883008: Add command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments to build files Created 5 years, 4 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: 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=",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698