summaryrefslogtreecommitdiffstats
path: root/chromium/webkit/common/gpu/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/webkit/common/gpu/BUILD.gn')
-rw-r--r--chromium/webkit/common/gpu/BUILD.gn42
1 files changed, 42 insertions, 0 deletions
diff --git a/chromium/webkit/common/gpu/BUILD.gn b/chromium/webkit/common/gpu/BUILD.gn
new file mode 100644
index 00000000000..a408f9a68df
--- /dev/null
+++ b/chromium/webkit/common/gpu/BUILD.gn
@@ -0,0 +1,42 @@
+# 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.
+
+component("gpu") {
+ sources = [
+ "context_provider_in_process.cc",
+ "context_provider_in_process.h",
+ "context_provider_web_context.h",
+ "grcontext_for_webgraphicscontext3d.cc",
+ "grcontext_for_webgraphicscontext3d.h",
+ "webgraphicscontext3d_impl.cc",
+ "webgraphicscontext3d_impl.h",
+ "webgraphicscontext3d_in_process_command_buffer_impl.cc",
+ "webgraphicscontext3d_in_process_command_buffer_impl.h",
+ ]
+
+ defines = [ "WEBKIT_GPU_IMPLEMENTATION" ]
+ configs += [ "//build/config/compiler:wexit_time_destructors" ]
+ if (is_win) {
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ cflags = [ "/wd4267" ]
+ }
+
+ deps = [
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//cc",
+ "//gpu/command_buffer/common",
+ "//gpu/command_buffer/service",
+ "//gpu/command_buffer/client:gles2_c_lib",
+ "//gpu/command_buffer/client:gles2_implementation",
+ "//gpu/command_buffer/client:gl_in_process_context",
+ "//gpu/skia_bindings",
+ "//skia",
+ #"//third_party/WebKit/public:blink_minimal", TODO(GYP)
+ "//third_party/angle:translator",
+ "//ui/gl",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+}