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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 configs += [ | 116 configs += [ |
117 "//third_party/khronos:khronos_headers", | 117 "//third_party/khronos:khronos_headers", |
118 ] | 118 ] |
119 | 119 |
120 deps = [ | 120 deps = [ |
121 ":disk_cache_proto", | 121 ":disk_cache_proto", |
122 "//base", | 122 "//base", |
123 "//base/third_party/dynamic_annotations", | 123 "//base/third_party/dynamic_annotations", |
124 "//crypto", | 124 "//crypto", |
125 "//gpu/command_buffer/common", | 125 "//gpu/command_buffer/common", |
| 126 "//third_party/angle:translator", |
126 "//third_party/protobuf:protobuf_lite", | 127 "//third_party/protobuf:protobuf_lite", |
127 "//third_party/re2", | 128 "//third_party/re2", |
128 "//third_party/smhasher:cityhash", | 129 "//third_party/smhasher:cityhash", |
129 "//ui/gfx", | 130 "//ui/gfx", |
130 "//ui/gfx/geometry", | 131 "//ui/gfx/geometry", |
131 "//ui/gl", | 132 "//ui/gl", |
132 #TODO(GYP) | |
133 #'<(angle_path)/src/build_angle.gyp:translator', | |
134 ] | 133 ] |
135 | 134 |
136 if (ui_compositor_image_transport) { | 135 if (ui_compositor_image_transport) { |
137 include_dirs = [ "//third_party/khronos" ] | 136 include_dirs = [ "//third_party/khronos" ] |
138 } | 137 } |
139 | 138 |
140 if (is_win || is_android || (is_linux && use_x11)) { | 139 if (is_win || is_android || (is_linux && use_x11)) { |
141 sources += [ | 140 sources += [ |
142 "async_pixel_transfer_manager_egl.cc", | 141 "async_pixel_transfer_manager_egl.cc", |
143 "async_pixel_transfer_manager_egl.h", | 142 "async_pixel_transfer_manager_egl.h", |
144 ] | 143 ] |
145 } | 144 } |
146 | 145 |
147 if (is_android && !is_debug) { | 146 if (is_android && !is_debug) { |
148 # On Android optimize more since this component can be a bottleneck. | 147 # On Android optimize more since this component can be a bottleneck. |
149 configs -= [ "//build/config/compiler:optimize" ] | 148 configs -= [ "//build/config/compiler:optimize" ] |
150 configs += [ "//build/config/compiler:optimize_max" ] | 149 configs += [ "//build/config/compiler:optimize_max" ] |
151 } | 150 } |
152 } | 151 } |
153 | 152 |
154 proto_library("disk_cache_proto") { | 153 proto_library("disk_cache_proto") { |
155 sources = [ "disk_cache_proto.proto" ] | 154 sources = [ "disk_cache_proto.proto" ] |
156 } | 155 } |
OLD | NEW |