Update {virtual,override} to follow C++11 style in pdf.
[chromium-blink-merge.git] / components / gles2 / BUILD.gn
blob002d3e7e84c12226b6ab0bfd345954202c9531d0
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.
5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 source_set("gles2") {
8   visibility = [
9     "//components/native_viewport:*",
10     "//mojo/shell:lib",  # For android
11   ]
13   sources = [
14     "command_buffer_driver.cc",
15     "command_buffer_driver.h",
16     "command_buffer_impl.cc",
17     "command_buffer_impl.h",
18     "gpu_impl.cc",
19     "gpu_impl.h",
20     "gpu_state.cc",
21     "gpu_state.h",
22   ]
24   public_deps = [
25     ":lib",
26   ]
27   deps = [
28     "//base",
29     "//gpu/command_buffer/service",
30     "//mojo/converters/geometry",
31     "//third_party/mojo/src/mojo/public/cpp/bindings",
32     "//third_party/mojo_services/src/geometry/public/interfaces",
33     "//third_party/mojo_services/src/gpu/public/interfaces",
34     "//ui/gfx",
35     "//ui/gfx/geometry",
36     "//ui/gl",
37   ]
39   include_dirs = [ "../.." ]
42 source_set("lib") {
43   sources = [
44     "command_buffer_type_conversions.cc",
45     "command_buffer_type_conversions.h",
46     "mojo_buffer_backing.cc",
47     "mojo_buffer_backing.h",
48   ]
50   deps = [
51     "//base",
52     "//gpu/command_buffer/common",
53     "//third_party/mojo/src/mojo/public/cpp/bindings",
54     "//third_party/mojo/src/mojo/public/cpp/system",
55     "//third_party/mojo_services/src/gpu/public/interfaces",
56   ]
58   include_dirs = [ "../.." ]