1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
source_set("gles2") {
visibility = [
"//mojo/shell:lib", # For android
"//mojo/services/native_viewport:*",
]
sources = [
"command_buffer_driver.cc",
"command_buffer_driver.h",
"command_buffer_impl.cc",
"command_buffer_impl.h",
"gpu_impl.cc",
"gpu_impl.h",
"gpu_state.cc",
"gpu_state.h",
]
public_deps = [
":lib",
]
deps = [
"//base",
"//gpu/command_buffer/service",
"//mojo/converters/geometry",
"//third_party/mojo/src/mojo/public/cpp/bindings",
"//third_party/mojo_services/src/geometry/public/interfaces",
"//third_party/mojo_services/src/gpu/public/interfaces",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gl",
]
include_dirs = [ "../.." ]
}
source_set("lib") {
sources = [
"command_buffer_type_conversions.cc",
"command_buffer_type_conversions.h",
"mojo_buffer_backing.cc",
"mojo_buffer_backing.h",
]
deps = [
"//base",
"//gpu/command_buffer/common",
"//third_party/mojo/src/mojo/public/cpp/bindings",
"//third_party/mojo/src/mojo/public/cpp/system",
"//third_party/mojo_services/src/gpu/public/interfaces",
]
include_dirs = [ "../.." ]
}
|