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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "texture_manager.h", | 106 "texture_manager.h", |
107 "texture_manager.cc", | 107 "texture_manager.cc", |
108 "transfer_buffer_manager.cc", | 108 "transfer_buffer_manager.cc", |
109 "transfer_buffer_manager.h", | 109 "transfer_buffer_manager.h", |
110 "vertex_array_manager.h", | 110 "vertex_array_manager.h", |
111 "vertex_array_manager.cc", | 111 "vertex_array_manager.cc", |
112 "vertex_attrib_manager.h", | 112 "vertex_attrib_manager.h", |
113 "vertex_attrib_manager.cc", | 113 "vertex_attrib_manager.cc", |
114 ] | 114 ] |
115 | 115 |
| 116 defines = [ "GPU_IMPLEMENTATION" ] |
| 117 |
116 configs += [ | 118 configs += [ |
117 "//third_party/khronos:khronos_headers", | 119 "//third_party/khronos:khronos_headers", |
118 ] | 120 ] |
119 | 121 |
120 deps = [ | 122 deps = [ |
121 ":disk_cache_proto", | 123 ":disk_cache_proto", |
122 "//base", | 124 "//base", |
123 "//base/third_party/dynamic_annotations", | 125 "//base/third_party/dynamic_annotations", |
124 "//crypto", | 126 "//crypto", |
125 "//gpu/command_buffer/common", | 127 "//gpu/command_buffer/common", |
(...skipping 20 matching lines...) Expand all Loading... |
146 if (is_android && !is_debug) { | 148 if (is_android && !is_debug) { |
147 # On Android optimize more since this component can be a bottleneck. | 149 # On Android optimize more since this component can be a bottleneck. |
148 configs -= [ "//build/config/compiler:optimize" ] | 150 configs -= [ "//build/config/compiler:optimize" ] |
149 configs += [ "//build/config/compiler:optimize_max" ] | 151 configs += [ "//build/config/compiler:optimize_max" ] |
150 } | 152 } |
151 } | 153 } |
152 | 154 |
153 proto_library("disk_cache_proto") { | 155 proto_library("disk_cache_proto") { |
154 sources = [ "disk_cache_proto.proto" ] | 156 sources = [ "disk_cache_proto.proto" ] |
155 } | 157 } |
OLD | NEW |