• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5component("gpu") {
6  sources = [
7    "context_provider_in_process.cc",
8    "context_provider_in_process.h",
9    "context_provider_web_context.h",
10    "grcontext_for_webgraphicscontext3d.cc",
11    "grcontext_for_webgraphicscontext3d.h",
12    "webgraphicscontext3d_impl.cc",
13    "webgraphicscontext3d_impl.h",
14    "webgraphicscontext3d_in_process_command_buffer_impl.cc",
15    "webgraphicscontext3d_in_process_command_buffer_impl.h",
16  ]
17
18  defines = [ "WEBKIT_GPU_IMPLEMENTATION" ]
19  configs += [ "//build/config/compiler:wexit_time_destructors" ]
20  if (is_win) {
21    # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
22    cflags = [ "/wd4267" ]
23  }
24
25  deps = [
26    "//base",
27    "//base/third_party/dynamic_annotations",
28    "//cc",
29    "//gpu/command_buffer/common",
30    "//gpu/command_buffer/service",
31    "//gpu/command_buffer/client:gles2_c_lib",
32    "//gpu/command_buffer/client:gles2_implementation",
33    "//gpu/command_buffer/client:gl_in_process_context",
34    "//gpu/skia_bindings",
35    "//skia",
36    #"//third_party/WebKit/public:blink_minimal",  TODO(GYP)
37    "//third_party/angle:translator",
38    "//ui/gl",
39    "//ui/gfx",
40    "//ui/gfx/geometry",
41  ]
42}
43