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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "valuebuffer_manager.h", | 114 "valuebuffer_manager.h", |
115 "valuebuffer_manager.cc", | 115 "valuebuffer_manager.cc", |
116 "vertex_array_manager.h", | 116 "vertex_array_manager.h", |
117 "vertex_array_manager.cc", | 117 "vertex_array_manager.cc", |
118 "vertex_attrib_manager.h", | 118 "vertex_attrib_manager.h", |
119 "vertex_attrib_manager.cc", | 119 "vertex_attrib_manager.cc", |
120 ] | 120 ] |
121 | 121 |
122 defines = [ "GPU_IMPLEMENTATION" ] | 122 defines = [ "GPU_IMPLEMENTATION" ] |
123 | 123 |
124 configs += [ | 124 configs += [ "//third_party/khronos:khronos_headers" ] |
125 "//third_party/khronos:khronos_headers", | |
126 ] | |
127 | 125 |
128 # Prefer mesa GL headers to system headers, which cause problems on Win. | 126 # Prefer mesa GL headers to system headers, which cause problems on Win. |
129 include_dirs = [ "//third_party/mesa/src/include" ] | 127 include_dirs = [ "//third_party/mesa/src/include" ] |
130 | 128 |
131 public_deps = [ | 129 public_deps = [ |
132 "//gpu/command_buffer/common", | 130 "//gpu/command_buffer/common", |
133 ] | 131 ] |
134 deps = [ | 132 deps = [ |
135 ":disk_cache_proto", | 133 ":disk_cache_proto", |
136 "//base", | 134 "//base", |
(...skipping 20 matching lines...) Expand all Loading... |
157 } | 155 } |
158 | 156 |
159 if (is_android && !is_debug) { | 157 if (is_android && !is_debug) { |
160 # On Android optimize more since this component can be a bottleneck. | 158 # On Android optimize more since this component can be a bottleneck. |
161 configs -= [ "//build/config/compiler:optimize" ] | 159 configs -= [ "//build/config/compiler:optimize" ] |
162 configs += [ "//build/config/compiler:optimize_max" ] | 160 configs += [ "//build/config/compiler:optimize_max" ] |
163 } | 161 } |
164 } | 162 } |
165 | 163 |
166 proto_library("disk_cache_proto") { | 164 proto_library("disk_cache_proto") { |
167 sources = [ "disk_cache_proto.proto" ] | 165 sources = [ |
| 166 "disk_cache_proto.proto", |
| 167 ] |
168 } | 168 } |
OLD | NEW |