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

Unified Diff: mojo/gles2/BUILD.gn

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit 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 | « mojo/converters/input_events/input_events_type_converters.cc ('k') | mojo/gles2/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/BUILD.gn
diff --git a/mojo/gles2/BUILD.gn b/mojo/gles2/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3c27743f7b9f26683bde40893aafbfb3cc6862c4
--- /dev/null
+++ b/mojo/gles2/BUILD.gn
@@ -0,0 +1,54 @@
+# Copyright 2014 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
+
+config("mojo_use_gles2") {
+ defines = [ "MOJO_USE_GLES2_IMPL" ]
+}
+
+config("gles2_use_mojo") {
+ defines = [ "GLES2_USE_MOJO" ]
+}
+
+source_set("gles2") {
+ sources = [
+ "command_buffer_client_impl.cc",
+ "command_buffer_client_impl.h",
+ "gles2_impl.cc",
+ "gles2_context.cc",
+ "gles2_context.h",
+ ]
+
+ defines = [
+ "GL_GLEXT_PROTOTYPES",
+ "MOJO_GLES2_IMPLEMENTATION",
+ ]
+
+ configs += [
+ ":gles2_use_mojo",
+ ":mojo_use_gles2",
+ ]
+ public_configs = [ ":gles2_use_mojo" ]
+ all_dependent_configs = [ ":mojo_use_gles2" ]
+
+ deps = [
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//gpu/command_buffer/client",
+ "//gpu/command_buffer/client:gles2_cmd_helper",
+ "//gpu/command_buffer/client:gles2_implementation",
+ "//gpu/command_buffer/client:gles2_interface",
+ "//gpu/command_buffer/common",
+ "//mojo/environment:chromium",
+ "//third_party/mojo/src/mojo/public/c/gles2:headers",
+ "//third_party/mojo/src/mojo/public/c/system",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//third_party/mojo/src/mojo/public/cpp/system",
+ "//third_party/mojo_services/src/gpu/public/interfaces",
+ "//mojo/services/gles2:lib",
+ ]
+
+ include_dirs = [ ".." ]
+}
« no previous file with comments | « mojo/converters/input_events/input_events_type_converters.cc ('k') | mojo/gles2/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698