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

Unified Diff: mojo/services/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/services/clipboard/main.cc ('k') | mojo/services/gles2/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gles2/BUILD.gn
diff --git a/mojo/services/gles2/BUILD.gn b/mojo/services/gles2/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..a34b9b3864a3b3a8073ffa1a3ea6dfeab4027e11
--- /dev/null
+++ b/mojo/services/gles2/BUILD.gn
@@ -0,0 +1,59 @@
+# 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")
+
+source_set("gles2") {
+ visibility = [
+ "//mojo/shell:lib", # For android
+ "//mojo/services/native_viewport:*",
+ ]
+
+ sources = [
+ "command_buffer_driver.cc",
+ "command_buffer_driver.h",
+ "command_buffer_impl.cc",
+ "command_buffer_impl.h",
+ "gpu_state.cc",
+ "gpu_state.h",
+ "gpu_impl.cc",
+ "gpu_impl.h",
+ ]
+
+ public_deps = [
+ ":lib",
+ ]
+ deps = [
+ "//base",
+ "//gpu/command_buffer/service",
+ "//mojo/converters/geometry",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//third_party/mojo_services/src/geometry/public/interfaces",
+ "//third_party/mojo_services/src/gpu/public/interfaces",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ ]
+
+ include_dirs = [ "../.." ]
+}
+
+source_set("lib") {
+ sources = [
+ "command_buffer_type_conversions.cc",
+ "command_buffer_type_conversions.h",
+ "mojo_buffer_backing.cc",
+ "mojo_buffer_backing.h",
+ ]
+
+ deps = [
+ "//base",
+ "//gpu/command_buffer/common",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ "//third_party/mojo/src/mojo/public/cpp/system",
+ "//third_party/mojo_services/src/gpu/public/interfaces",
+ ]
+
+ include_dirs = [ "../.." ]
+}
« no previous file with comments | « mojo/services/clipboard/main.cc ('k') | mojo/services/gles2/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698