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

Unified Diff: gpu/ipc/client/BUILD.gn

Issue 1827123002: Move content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 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/gpu_ipc_client.gypi ('k') | gpu/ipc/client/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/BUILD.gn
diff --git a/gpu/ipc/client/BUILD.gn b/gpu/ipc/client/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..8baf7e50eab6e1702d3be1444959805fb9a241cf
--- /dev/null
+++ b/gpu/ipc/client/BUILD.gn
@@ -0,0 +1,70 @@
+# Copyright 2016 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")
+
+group("client") {
+ if (is_component_build) {
+ public_deps = [
+ "//gpu",
+ ]
+ } else {
+ public_deps = [
+ ":ipc_client_sources",
+ ]
+ }
+}
+
+source_set("ipc_client_sources") {
+ sources = [
+ "command_buffer_proxy_impl.cc",
+ "command_buffer_proxy_impl.h",
+ "gpu_channel_host.cc",
+ "gpu_channel_host.h",
+ "gpu_memory_buffer_impl.cc",
+ "gpu_memory_buffer_impl.h",
+ "gpu_memory_buffer_impl_shared_memory.cc",
+ "gpu_memory_buffer_impl_shared_memory.h",
+ ]
+ if (is_mac) {
+ sources += [
+ "gpu_memory_buffer_impl_io_surface.cc",
+ "gpu_memory_buffer_impl_io_surface.h",
+ ]
+ }
+ if (is_android) {
+ sources += [
+ "gpu_memory_buffer_impl_surface_texture.cc",
+ "gpu_memory_buffer_impl_surface_texture.h",
+ ]
+ libs = [ "android" ]
+ }
+ if (use_ozone) {
+ sources += [
+ "gpu_memory_buffer_impl_ozone_native_pixmap.cc",
+ "gpu_memory_buffer_impl_ozone_native_pixmap.h",
+ ]
+ }
+ configs += [
+ "//build/config/compiler:no_size_t_to_int_warning",
+ "//gpu:gpu_implementation",
+ "//third_party/khronos:khronos_headers",
+ ]
+ deps = [
+ "//base",
+ "//gpu/command_buffer/client:client_sources",
+ "//gpu/command_buffer/common:common_sources",
+ "//gpu/command_buffer/service:service_sources",
+ "//gpu/config:config_sources",
+ "//gpu/ipc/common:ipc_common_sources",
+ "//ipc",
+ "//ui/events/ipc",
+ "//ui/gfx/ipc",
+ "//ui/gl",
+ "//url/ipc:url_ipc",
+ ]
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ }
+}
« no previous file with comments | « gpu/gpu_ipc_client.gypi ('k') | gpu/ipc/client/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698