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

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

Issue 1057993004: Revert of Work on Windows GN component build. (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 | « gpu/command_buffer/common/BUILD.gn ('k') | gpu/config/BUILD.gn » ('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 source_set("service") {
9 if (is_component_build) {
10 public_deps = [
11 "//gpu",
12 ]
13 } else {
14 public_deps = [
15 ":service_sources",
16 ]
17 }
18 }
19
20 source_set("service_sources") {
21 visibility = [ "//gpu/*" ]
22
23 sources = [ 9 sources = [
24 "async_pixel_transfer_delegate.cc", 10 "async_pixel_transfer_delegate.cc",
25 "async_pixel_transfer_delegate.h", 11 "async_pixel_transfer_delegate.h",
26 "async_pixel_transfer_manager.cc", 12 "async_pixel_transfer_manager.cc",
27 "async_pixel_transfer_manager.h", 13 "async_pixel_transfer_manager.h",
28 "async_pixel_transfer_manager_android.cc", 14 "async_pixel_transfer_manager_android.cc",
29 "async_pixel_transfer_manager_idle.cc", 15 "async_pixel_transfer_manager_idle.cc",
30 "async_pixel_transfer_manager_idle.h", 16 "async_pixel_transfer_manager_idle.h",
31 "async_pixel_transfer_manager_linux.cc", 17 "async_pixel_transfer_manager_linux.cc",
32 "async_pixel_transfer_manager_mac.cc", 18 "async_pixel_transfer_manager_mac.cc",
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 121
136 configs += [ 122 configs += [
137 "//gpu:gpu_implementation", 123 "//gpu:gpu_implementation",
138 "//third_party/khronos:khronos_headers", 124 "//third_party/khronos:khronos_headers",
139 ] 125 ]
140 126
141 # Prefer mesa GL headers to system headers, which cause problems on Win. 127 # Prefer mesa GL headers to system headers, which cause problems on Win.
142 include_dirs = [ "//third_party/mesa/src/include" ] 128 include_dirs = [ "//third_party/mesa/src/include" ]
143 129
144 public_deps = [ 130 public_deps = [
145 "//gpu/command_buffer/common:common_sources", 131 "//gpu/command_buffer/common",
146 ] 132 ]
147 deps = [ 133 deps = [
148 ":disk_cache_proto", 134 ":disk_cache_proto",
149 "//base", 135 "//base",
150 "//base/third_party/dynamic_annotations", 136 "//base/third_party/dynamic_annotations",
151 "//crypto", 137 "//crypto",
152 "//third_party/angle:translator", 138 "//third_party/angle:translator",
153 "//third_party/protobuf:protobuf_lite", 139 "//third_party/protobuf:protobuf_lite",
154 "//third_party/re2", 140 "//third_party/re2",
155 "//third_party/smhasher:cityhash", 141 "//third_party/smhasher:cityhash",
156 "//ui/gfx", 142 "//ui/gfx",
157 "//ui/gfx/geometry", 143 "//ui/gfx/geometry",
158 "//ui/gl", 144 "//ui/gl",
159 ] 145 ]
160 146
147 if (ui_compositor_image_transport) {
148 include_dirs += [ "//third_party/khronos" ]
149 }
150
161 if (is_win || is_android || (is_linux && use_x11)) { 151 if (is_win || is_android || (is_linux && use_x11)) {
162 sources += [ 152 sources += [
163 "async_pixel_transfer_manager_egl.cc", 153 "async_pixel_transfer_manager_egl.cc",
164 "async_pixel_transfer_manager_egl.h", 154 "async_pixel_transfer_manager_egl.h",
165 ] 155 ]
166 } 156 }
167 157
168 if (is_android && !is_debug) { 158 if (is_android && !is_debug) {
169 # On Android optimize more since this component can be a bottleneck. 159 # On Android optimize more since this component can be a bottleneck.
170 configs -= [ "//build/config/compiler:optimize" ] 160 configs -= [ "//build/config/compiler:optimize" ]
171 configs += [ "//build/config/compiler:optimize_max" ] 161 configs += [ "//build/config/compiler:optimize_max" ]
172 } 162 }
173 } 163 }
174 164
175 proto_library("disk_cache_proto") { 165 proto_library("disk_cache_proto") {
176 sources = [ 166 sources = [
177 "disk_cache_proto.proto", 167 "disk_cache_proto.proto",
178 ] 168 ]
179 } 169 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/BUILD.gn ('k') | gpu/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698