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 group("service") { | 8 group("service") { |
9 if (is_component_build) { | 9 if (is_component_build) { |
10 public_deps = [ | 10 public_deps = [ |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 "//ui/gl", | 158 "//ui/gl", |
159 ] | 159 ] |
160 | 160 |
161 if (is_win || is_android || (is_linux && use_x11)) { | 161 if (is_win || is_android || (is_linux && use_x11)) { |
162 sources += [ | 162 sources += [ |
163 "async_pixel_transfer_manager_egl.cc", | 163 "async_pixel_transfer_manager_egl.cc", |
164 "async_pixel_transfer_manager_egl.h", | 164 "async_pixel_transfer_manager_egl.h", |
165 ] | 165 ] |
166 } | 166 } |
167 | 167 |
| 168 if (is_mac) { |
| 169 # Required by gles2_cmd_decoder.cc on Mac. |
| 170 libs = [ |
| 171 "IOSurface.framework", |
| 172 "OpenGL.framework", |
| 173 ] |
| 174 } |
| 175 |
168 if (is_android && !is_debug) { | 176 if (is_android && !is_debug) { |
169 # On Android optimize more since this component can be a bottleneck. | 177 # On Android optimize more since this component can be a bottleneck. |
170 configs -= [ "//build/config/compiler:optimize" ] | 178 configs -= [ "//build/config/compiler:optimize" ] |
171 configs += [ "//build/config/compiler:optimize_max" ] | 179 configs += [ "//build/config/compiler:optimize_max" ] |
172 } | 180 } |
173 } | 181 } |
174 | 182 |
175 proto_library("disk_cache_proto") { | 183 proto_library("disk_cache_proto") { |
176 sources = [ | 184 sources = [ |
177 "disk_cache_proto.proto", | 185 "disk_cache_proto.proto", |
178 ] | 186 ] |
179 } | 187 } |
OLD | NEW |