OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
8 source_set("service") { | 8 source_set("service") { |
9 sources = [ | 9 sources = [ |
10 "async_pixel_transfer_delegate.cc", | 10 "async_pixel_transfer_delegate.cc", |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 "vertex_attrib_manager.h", | 109 "vertex_attrib_manager.h", |
110 "vertex_attrib_manager.cc", | 110 "vertex_attrib_manager.cc", |
111 ] | 111 ] |
112 | 112 |
113 defines = [ "GPU_IMPLEMENTATION" ] | 113 defines = [ "GPU_IMPLEMENTATION" ] |
114 | 114 |
115 configs += [ | 115 configs += [ |
116 "//third_party/khronos:khronos_headers", | 116 "//third_party/khronos:khronos_headers", |
117 ] | 117 ] |
118 | 118 |
| 119 public_deps = [ |
| 120 "//gpu/command_buffer/common", |
| 121 ] |
119 deps = [ | 122 deps = [ |
120 ":disk_cache_proto", | 123 ":disk_cache_proto", |
121 "//base", | 124 "//base", |
122 "//base/third_party/dynamic_annotations", | 125 "//base/third_party/dynamic_annotations", |
123 "//crypto", | 126 "//crypto", |
124 "//gpu/command_buffer/common", | |
125 "//third_party/angle:translator", | 127 "//third_party/angle:translator", |
126 "//third_party/protobuf:protobuf_lite", | 128 "//third_party/protobuf:protobuf_lite", |
127 "//third_party/re2", | 129 "//third_party/re2", |
128 "//third_party/smhasher:cityhash", | 130 "//third_party/smhasher:cityhash", |
129 "//ui/gfx", | 131 "//ui/gfx", |
130 "//ui/gfx/geometry", | 132 "//ui/gfx/geometry", |
131 "//ui/gl", | 133 "//ui/gl", |
132 ] | 134 ] |
133 | 135 |
134 if (ui_compositor_image_transport) { | 136 if (ui_compositor_image_transport) { |
(...skipping 10 matching lines...) Expand all Loading... |
145 if (is_android && !is_debug) { | 147 if (is_android && !is_debug) { |
146 # On Android optimize more since this component can be a bottleneck. | 148 # On Android optimize more since this component can be a bottleneck. |
147 configs -= [ "//build/config/compiler:optimize" ] | 149 configs -= [ "//build/config/compiler:optimize" ] |
148 configs += [ "//build/config/compiler:optimize_max" ] | 150 configs += [ "//build/config/compiler:optimize_max" ] |
149 } | 151 } |
150 } | 152 } |
151 | 153 |
152 proto_library("disk_cache_proto") { | 154 proto_library("disk_cache_proto") { |
153 sources = [ "disk_cache_proto.proto" ] | 155 sources = [ "disk_cache_proto.proto" ] |
154 } | 156 } |
OLD | NEW |