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

Unified Diff: gpu/gles2_conform_support/BUILD.gn

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 | « gpu/config/gpu_info_collector_win.cc ('k') | gpu/gles2_conform_support/egl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/BUILD.gn
diff --git a/gpu/gles2_conform_support/BUILD.gn b/gpu/gles2_conform_support/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..853beea4bfd38ba7241a5ffe8b976e128b4597d2
--- /dev/null
+++ b/gpu/gles2_conform_support/BUILD.gn
@@ -0,0 +1,38 @@
+# 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/allocator.gni")
+
+# GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform_support
+executable("gles2_conform_support") {
+ sources = [
+ "gles2_conform_support.c",
+ "native/egl_native.cc",
+ "native/egl_native_win.cc",
+ "native/main.cc",
+ ]
+ defines = [
+ "GLES2_CONFORM_SUPPORT_ONLY",
+ "GTF_GLES20",
+ "EGLAPI=",
+ "EGLAPIENTRY=",
+ ]
+ deps = [
+ "//base",
+ "//gpu/gles2_conform_support/egl",
+ "//base/third_party/dynamic_annotations",
+ "//ui/gl",
+ "//gpu/command_buffer/client:gles2_c_lib_nocheck",
+ ]
+ if (is_linux) {
+ sources += [
+ "native/egl_native_aura.cc",
+ "native/egl_native_x11.cc",
+ ]
+ }
+ if (use_allocator != "none") {
+ # See http://crbug.com/162998#c4 for why this is needed.
+ deps += [ "//base/allocator" ]
+ }
+}
« no previous file with comments | « gpu/config/gpu_info_collector_win.cc ('k') | gpu/gles2_conform_support/egl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698