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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 "transfer_buffer_manager.cc", | 112 "transfer_buffer_manager.cc", |
113 "transfer_buffer_manager.h", | 113 "transfer_buffer_manager.h", |
114 "valuebuffer_manager.cc", | 114 "valuebuffer_manager.cc", |
115 "valuebuffer_manager.h", | 115 "valuebuffer_manager.h", |
116 "vertex_array_manager.cc", | 116 "vertex_array_manager.cc", |
117 "vertex_array_manager.h", | 117 "vertex_array_manager.h", |
118 "vertex_attrib_manager.cc", | 118 "vertex_attrib_manager.cc", |
119 "vertex_attrib_manager.h", | 119 "vertex_attrib_manager.h", |
120 ] | 120 ] |
121 | 121 |
122 defines = [ "GPU_IMPLEMENTATION" ] | 122 configs += [ |
123 | 123 "//gpu:gpu_implementation", |
124 configs += [ "//third_party/khronos:khronos_headers" ] | 124 "//third_party/khronos:khronos_headers", |
| 125 ] |
125 | 126 |
126 # Prefer mesa GL headers to system headers, which cause problems on Win. | 127 # Prefer mesa GL headers to system headers, which cause problems on Win. |
127 include_dirs = [ "//third_party/mesa/src/include" ] | 128 include_dirs = [ "//third_party/mesa/src/include" ] |
128 | 129 |
129 public_deps = [ | 130 public_deps = [ |
130 "//gpu/command_buffer/common", | 131 "//gpu/command_buffer/common", |
131 ] | 132 ] |
132 deps = [ | 133 deps = [ |
133 ":disk_cache_proto", | 134 ":disk_cache_proto", |
134 "//base", | 135 "//base", |
(...skipping 24 matching lines...) Expand all Loading... |
159 configs -= [ "//build/config/compiler:optimize" ] | 160 configs -= [ "//build/config/compiler:optimize" ] |
160 configs += [ "//build/config/compiler:optimize_max" ] | 161 configs += [ "//build/config/compiler:optimize_max" ] |
161 } | 162 } |
162 } | 163 } |
163 | 164 |
164 proto_library("disk_cache_proto") { | 165 proto_library("disk_cache_proto") { |
165 sources = [ | 166 sources = [ |
166 "disk_cache_proto.proto", | 167 "disk_cache_proto.proto", |
167 ] | 168 ] |
168 } | 169 } |
OLD | NEW |