Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: gpu/command_buffer/service/BUILD.gn

Issue 1089773003: Revert of Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | gpu/command_buffer_service.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
176 if (is_android && !is_debug) { 168 if (is_android && !is_debug) {
177 # On Android optimize more since this component can be a bottleneck. 169 # On Android optimize more since this component can be a bottleneck.
178 configs -= [ "//build/config/compiler:optimize" ] 170 configs -= [ "//build/config/compiler:optimize" ]
179 configs += [ "//build/config/compiler:optimize_max" ] 171 configs += [ "//build/config/compiler:optimize_max" ]
180 } 172 }
181 } 173 }
182 174
183 proto_library("disk_cache_proto") { 175 proto_library("disk_cache_proto") {
184 sources = [ 176 sources = [
185 "disk_cache_proto.proto", 177 "disk_cache_proto.proto",
186 ] 178 ]
187 } 179 }
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | gpu/command_buffer_service.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698