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
|
# 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.
group("common") {
if (is_component_build) {
public_deps = [
"//gpu",
]
} else {
public_deps = [
":ipc_common_sources",
]
}
}
source_set("ipc_common_sources") {
visibility = [ "//gpu/*" ]
sources = [
"gpu_command_buffer_traits.cc",
"gpu_command_buffer_traits.h",
"id_type_traits.h",
"memory_stats.cc",
"memory_stats.h",
]
configs += [
"//gpu:gpu_implementation",
"//third_party/khronos:khronos_headers",
]
deps = [
"//base",
"//gpu/command_buffer/common:common_sources",
"//ipc",
"//ui/gfx:native_widget_types",
]
if (is_android) {
sources += [
"android/surface_texture_manager.cc",
"android/surface_texture_manager.h",
"android/surface_texture_peer.cc",
"android/surface_texture_peer.h",
]
deps += [ "//ui/gl" ]
}
}
|