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

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: needed an additional function for skia 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..ffdace2d4873e904a8a0830bbcf7f919c4e07080
--- /dev/null
+++ b/gpu/command_buffer_gles2/BUILD.gn
@@ -0,0 +1,25 @@
+# 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 = [
+ "command_buffer_egl.cc",
+ ]
+
+ deps = [
+ "//gpu/gles2_conform_support/egl",
+ "//gpu/command_buffer/client:gles2_c_lib",
+ ]
+
+ defines = [
+ "EGLAPI=",
+ "EGLAPIENTRY=",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
no sievers 2015/08/27 19:21:28 Is this not the opposite of "'chromium_code': 1" i
hendrikw 2015/08/27 20:34:44 Good catch.
+}

Powered by Google App Engine
This is Rietveld 408576698