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

Unified Diff: mojo/gpu/BUILD.gn

Issue 993253003: Modify build_gles2_cmd_buffer.py to generate a class that implements gpu::GLES2Interace and for eac… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: mojo/gpu/BUILD.gn
diff --git a/mojo/gpu/BUILD.gn b/mojo/gpu/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..7338f1212fddffaadc082cde1dae858ce2e134c3
--- /dev/null
+++ b/mojo/gpu/BUILD.gn
@@ -0,0 +1,19 @@
+# Copyright (c) 2015 The Chromium Authors. All rights reserved.
jamesr 2015/03/23 18:03:14 no (c)
alhaad 2015/03/23 18:15:54 Done.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+component("mojo_gles2_implementation") {
jamesr 2015/03/23 18:03:14 no need for this to be a component, is there? just
alhaad 2015/03/23 18:15:55 Done.
+ sources = [
+ "mojo_gles2_impl_autogen.cc",
+ "mojo_gles2_impl_autogen.h",
+ ]
+
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
+ defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
jamesr 2015/03/23 18:03:14 and remove this. you don't have an export header s
alhaad 2015/03/23 18:15:54 Done.
+
+ deps = [
+ "//gpu/command_buffer/client:gles2_interface",
+ "//third_party/mojo/src/mojo/public/c/gles2",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698