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

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

Issue 1087873003: Fix errors found in Mac gn component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix media/cast/sender 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 | « no previous file | gpu/command_buffer_service.gypi » ('j') | gpu/command_buffer_service.gypi » ('J')
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",
Dirk Pranke 2015/04/15 15:48:01 it seems like these two libraries are often needed
Jiang Jiang 2015/04/15 16:17:20 I'm not sure about that, what's needed here is com
Dirk Pranke 2015/04/15 16:21:07 My point was that it seemed like there were > 2 pl
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 }
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer_service.gypi » ('j') | gpu/command_buffer_service.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698