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

Side by Side Diff: ppapi/thunk/BUILD.gn

Issue 1250273002: Add precompiled headers to GN build for large targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mergey-wergey Created 5 years, 4 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 | « ppapi/shared_impl/BUILD.gn ('k') | remoting/protocol/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 source_set("thunk") { 5 source_set("thunk") {
6 # In GYP this is the same target as shared_impl. In GN these are split apart 6 # In GYP this is the same target as shared_impl. In GN these are split apart
7 # for clarity but to get component builds correct, targets must only depend 7 # for clarity but to get component builds correct, targets must only depend
8 # on these via the shared_impl component. 8 # on these via the shared_impl component.
9 # TODO(brettw) separate these when GYP compat is no longer required. 9 # TODO(brettw) separate these when GYP compat is no longer required.
10 visibility = [ "//ppapi/shared_impl" ] 10 visibility = [ "//ppapi/shared_impl" ]
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 sources += [ 181 sources += [
182 "ppb_graphics_3d_thunk.cc", 182 "ppb_graphics_3d_thunk.cc",
183 "ppb_host_resolver_private_thunk.cc", 183 "ppb_host_resolver_private_thunk.cc",
184 "ppb_tcp_server_socket_private_thunk.cc", 184 "ppb_tcp_server_socket_private_thunk.cc",
185 "ppb_tcp_socket_private_thunk.cc", 185 "ppb_tcp_socket_private_thunk.cc",
186 "ppb_udp_socket_private_thunk.cc", 186 "ppb_udp_socket_private_thunk.cc",
187 "ppb_x509_certificate_private_thunk.cc", 187 "ppb_x509_certificate_private_thunk.cc",
188 ] 188 ]
189 } 189 }
190 190
191 configs += [ "//build/config:precompiled_headers" ]
191 defines = [ 192 defines = [
192 # This target goes in the same library as shared_impl (in GYP they are the 193 # This target goes in the same library as shared_impl (in GYP they are the
193 # same). 194 # same).
194 "PPAPI_SHARED_IMPLEMENTATION", 195 "PPAPI_SHARED_IMPLEMENTATION",
195 196
196 "PPAPI_THUNK_IMPLEMENTATION", 197 "PPAPI_THUNK_IMPLEMENTATION",
197 ] 198 ]
198 } 199 }
OLDNEW
« no previous file with comments | « ppapi/shared_impl/BUILD.gn ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698