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

Unified Diff: services/ui/gles2/BUILD.gn

Issue 2194893002: services/ui: Revert CLs that broke Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/demo/mus_demo.cc ('k') | services/ui/gles2/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gles2/BUILD.gn
diff --git a/services/ui/gles2/BUILD.gn b/services/ui/gles2/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..12c4c109eaa9ba90d54967d8521194879bdb72c9
--- /dev/null
+++ b/services/ui/gles2/BUILD.gn
@@ -0,0 +1,89 @@
+# 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("//build/config/ui.gni")
+
+source_set("gles2") {
+ visibility = [
+ "//services/ui:*",
+ "//services/ui/ws:*",
+ "//services/ui/surfaces:*",
+ "//services/shell/standalone:lib", # For android
+ ]
+
+ sources = [
+ "command_buffer_driver.cc",
+ "command_buffer_driver.h",
+ "command_buffer_driver_manager.cc",
+ "command_buffer_driver_manager.h",
+ "command_buffer_impl.cc",
+ "command_buffer_impl.h",
+ "command_buffer_local.cc",
+ "command_buffer_local.h",
+ "command_buffer_local_client.h",
+ "command_buffer_task_runner.cc",
+ "command_buffer_task_runner.h",
+ "gl_surface_adapter.cc",
+ "gl_surface_adapter.h",
+ "gpu_impl.cc",
+ "gpu_impl.h",
+ "gpu_memory_tracker.cc",
+ "gpu_memory_tracker.h",
+ "gpu_state.cc",
+ "gpu_state.h",
+ ]
+
+ public_deps = [
+ ":lib",
+ ]
+ deps = [
+ "//base",
+ "//gpu/command_buffer/client",
+ "//gpu/command_buffer/client:gles2_interface",
+ "//gpu/command_buffer/common:gles2_utils",
+ "//gpu/command_buffer/service",
+ "//gpu/config:config",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/system",
+ "//services/ui/common:mus_common",
+ "//services/ui/public/interfaces",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gfx/geometry/mojo",
+ "//ui/gl",
+ "//ui/gl/init",
+ ]
+
+ if (use_ozone) {
+ deps += [ "//ui/ozone:ozone" ]
+ sources += [
+ "ozone_gpu_memory_buffer.cc",
+ "ozone_gpu_memory_buffer.h",
+ ]
+ }
+
+ include_dirs = [ "../.." ]
+}
+
+source_set("lib") {
+ sources = [
+ "raster_thread_helper.cc",
+ "raster_thread_helper.h",
+ ]
+
+ deps = [
+ "//base",
+ "//cc",
+ "//gpu/command_buffer/client",
+ "//gpu/command_buffer/common",
+ "//gpu/config:config",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/system",
+ "//services/ui/public/interfaces",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ include_dirs = [ "../.." ]
+}
« no previous file with comments | « services/ui/demo/mus_demo.cc ('k') | services/ui/gles2/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698