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

Side by Side Diff: BUILD.gn

Issue 2160213003: Update BUILD.gn after recent gRPC roll. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/grpc/grpc@chromium
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 config("grpc_config") { 1 config("grpc_config") {
2 include_dirs = [ 2 include_dirs = [
3 ".", 3 ".",
4 "include/", 4 "include/",
5 ] 5 ]
6 } 6 }
7 7
8 config("grpc_no_cxx11_threads") { 8 config("grpc_no_cxx11_threads") {
9 # TODO(xyzzyz): the <condition_variable> header in libstdc++-4.6 we're using 9 # TODO(xyzzyz): the <condition_variable> header in libstdc++-4.6 we're using
10 # in Chromium has a bug, which causes a compilation error on Clang. 10 # in Chromium has a bug, which causes a compilation error on Clang.
11 # Therefore, we need to make gRPC not use standard library threading support. 11 # Therefore, we need to make gRPC not use standard library threading support.
12 # https://crbug.com/593874 12 # https://crbug.com/593874
13 defines = [ "GRPC_CXX0X_NO_THREAD" ] 13 defines = [ "GRPC_CXX0X_NO_THREAD" ]
14 } 14 }
15 15
16 # The structure of this build file generally follows the upstream gRPC structure 16 # The structure of this build file generally follows the upstream gRPC structure
17 # (compare with BUILD file). gRPC is split into multiple components to support 17 # (compare with BUILD file). gRPC is split into multiple components to support
18 # multiple programming language which usually only depend only on C core, and to 18 # multiple programming language which usually only depend only on C core, and to
19 # support building without SSL, among other things. 19 # support building without SSL, among other things.
20 20
21 component("gpr") { 21 component("gpr") {
22 sources = [ 22 sources = [
23 "src/core/lib/profiling/timers.h", 23 "src/core/lib/profiling/timers.h",
24 "src/core/lib/support/backoff.h", 24 "src/core/lib/support/backoff.h",
25 "src/core/lib/support/block_annotate.h", 25 "src/core/lib/support/block_annotate.h",
26 "src/core/lib/support/env.h", 26 "src/core/lib/support/env.h",
27 "src/core/lib/support/load_file.h",
28 "src/core/lib/support/murmur_hash.h", 27 "src/core/lib/support/murmur_hash.h",
29 "src/core/lib/support/stack_lockfree.h", 28 "src/core/lib/support/stack_lockfree.h",
30 "src/core/lib/support/string.h", 29 "src/core/lib/support/string.h",
31 "src/core/lib/support/string_windows.h", 30 "src/core/lib/support/string_windows.h",
32 "src/core/lib/support/thd_internal.h", 31 "src/core/lib/support/thd_internal.h",
33 "src/core/lib/support/time_precise.h", 32 "src/core/lib/support/time_precise.h",
34 "src/core/lib/support/tmpfile.h", 33 "src/core/lib/support/tmpfile.h",
35 "src/core/lib/profiling/basic_timers.c", 34 "src/core/lib/profiling/basic_timers.c",
36 "src/core/lib/profiling/stap_timers.c", 35 "src/core/lib/profiling/stap_timers.c",
37 "src/core/lib/support/alloc.c", 36 "src/core/lib/support/alloc.c",
38 "src/core/lib/support/avl.c", 37 "src/core/lib/support/avl.c",
39 "src/core/lib/support/backoff.c", 38 "src/core/lib/support/backoff.c",
40 "src/core/lib/support/cmdline.c", 39 "src/core/lib/support/cmdline.c",
41 "src/core/lib/support/cpu_iphone.c", 40 "src/core/lib/support/cpu_iphone.c",
42 "src/core/lib/support/cpu_linux.c", 41 "src/core/lib/support/cpu_linux.c",
43 "src/core/lib/support/cpu_posix.c", 42 "src/core/lib/support/cpu_posix.c",
44 "src/core/lib/support/cpu_windows.c", 43 "src/core/lib/support/cpu_windows.c",
45 "src/core/lib/support/env_linux.c", 44 "src/core/lib/support/env_linux.c",
46 "src/core/lib/support/env_posix.c", 45 "src/core/lib/support/env_posix.c",
47 "src/core/lib/support/env_windows.c", 46 "src/core/lib/support/env_windows.c",
48 "src/core/lib/support/histogram.c", 47 "src/core/lib/support/histogram.c",
49 "src/core/lib/support/host_port.c", 48 "src/core/lib/support/host_port.c",
50 "src/core/lib/support/load_file.c",
51 "src/core/lib/support/log.c", 49 "src/core/lib/support/log.c",
52 "src/core/lib/support/log_android.c", 50 "src/core/lib/support/log_android.c",
53 "src/core/lib/support/log_linux.c", 51 "src/core/lib/support/log_linux.c",
54 "src/core/lib/support/log_posix.c", 52 "src/core/lib/support/log_posix.c",
55 "src/core/lib/support/log_windows.c", 53 "src/core/lib/support/log_windows.c",
56 "src/core/lib/support/murmur_hash.c", 54 "src/core/lib/support/murmur_hash.c",
57 "src/core/lib/support/slice.c", 55 "src/core/lib/support/slice.c",
58 "src/core/lib/support/slice_buffer.c", 56 "src/core/lib/support/slice_buffer.c",
59 "src/core/lib/support/stack_lockfree.c", 57 "src/core/lib/support/stack_lockfree.c",
60 "src/core/lib/support/string.c", 58 "src/core/lib/support/string.c",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 "src/core/lib/channel/http_server_filter.h", 138 "src/core/lib/channel/http_server_filter.h",
141 "src/core/lib/compression/algorithm_metadata.h", 139 "src/core/lib/compression/algorithm_metadata.h",
142 "src/core/lib/compression/message_compress.h", 140 "src/core/lib/compression/message_compress.h",
143 "src/core/lib/debug/trace.h", 141 "src/core/lib/debug/trace.h",
144 "src/core/lib/http/format_request.h", 142 "src/core/lib/http/format_request.h",
145 "src/core/lib/http/httpcli.h", 143 "src/core/lib/http/httpcli.h",
146 "src/core/lib/http/parser.h", 144 "src/core/lib/http/parser.h",
147 "src/core/lib/iomgr/closure.h", 145 "src/core/lib/iomgr/closure.h",
148 "src/core/lib/iomgr/endpoint.h", 146 "src/core/lib/iomgr/endpoint.h",
149 "src/core/lib/iomgr/endpoint_pair.h", 147 "src/core/lib/iomgr/endpoint_pair.h",
148 "src/core/lib/iomgr/error.h",
149 "src/core/lib/iomgr/ev_epoll_linux.h",
150 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h", 150 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
151 "src/core/lib/iomgr/ev_poll_posix.h", 151 "src/core/lib/iomgr/ev_poll_posix.h",
152 "src/core/lib/iomgr/ev_posix.h", 152 "src/core/lib/iomgr/ev_posix.h",
153 "src/core/lib/iomgr/exec_ctx.h", 153 "src/core/lib/iomgr/exec_ctx.h",
154 "src/core/lib/iomgr/executor.h", 154 "src/core/lib/iomgr/executor.h",
155 "src/core/lib/iomgr/iocp_windows.h", 155 "src/core/lib/iomgr/iocp_windows.h",
156 "src/core/lib/iomgr/iomgr.h", 156 "src/core/lib/iomgr/iomgr.h",
157 "src/core/lib/iomgr/iomgr_internal.h", 157 "src/core/lib/iomgr/iomgr_internal.h",
158 "src/core/lib/iomgr/iomgr_posix.h", 158 "src/core/lib/iomgr/iomgr_posix.h",
159 "src/core/lib/iomgr/load_file.h",
160 "src/core/lib/iomgr/network_status_tracker.h",
159 "src/core/lib/iomgr/polling_entity.h", 161 "src/core/lib/iomgr/polling_entity.h",
160 "src/core/lib/iomgr/pollset.h", 162 "src/core/lib/iomgr/pollset.h",
161 "src/core/lib/iomgr/pollset_set.h", 163 "src/core/lib/iomgr/pollset_set.h",
162 "src/core/lib/iomgr/pollset_set_windows.h", 164 "src/core/lib/iomgr/pollset_set_windows.h",
163 "src/core/lib/iomgr/pollset_windows.h", 165 "src/core/lib/iomgr/pollset_windows.h",
164 "src/core/lib/iomgr/resolve_address.h", 166 "src/core/lib/iomgr/resolve_address.h",
165 "src/core/lib/iomgr/sockaddr.h", 167 "src/core/lib/iomgr/sockaddr.h",
166 "src/core/lib/iomgr/sockaddr_posix.h", 168 "src/core/lib/iomgr/sockaddr_posix.h",
167 "src/core/lib/iomgr/sockaddr_utils.h", 169 "src/core/lib/iomgr/sockaddr_utils.h",
168 "src/core/lib/iomgr/sockaddr_windows.h", 170 "src/core/lib/iomgr/sockaddr_windows.h",
(...skipping 21 matching lines...) Expand all
190 "src/core/lib/surface/call.h", 192 "src/core/lib/surface/call.h",
191 "src/core/lib/surface/call_test_only.h", 193 "src/core/lib/surface/call_test_only.h",
192 "src/core/lib/surface/channel.h", 194 "src/core/lib/surface/channel.h",
193 "src/core/lib/surface/channel_init.h", 195 "src/core/lib/surface/channel_init.h",
194 "src/core/lib/surface/channel_stack_type.h", 196 "src/core/lib/surface/channel_stack_type.h",
195 "src/core/lib/surface/completion_queue.h", 197 "src/core/lib/surface/completion_queue.h",
196 "src/core/lib/surface/event_string.h", 198 "src/core/lib/surface/event_string.h",
197 "src/core/lib/surface/init.h", 199 "src/core/lib/surface/init.h",
198 "src/core/lib/surface/lame_client.h", 200 "src/core/lib/surface/lame_client.h",
199 "src/core/lib/surface/server.h", 201 "src/core/lib/surface/server.h",
200 "src/core/lib/surface/surface_trace.h",
201 "src/core/lib/transport/byte_stream.h", 202 "src/core/lib/transport/byte_stream.h",
202 "src/core/lib/transport/connectivity_state.h", 203 "src/core/lib/transport/connectivity_state.h",
203 "src/core/lib/transport/metadata.h", 204 "src/core/lib/transport/metadata.h",
204 "src/core/lib/transport/metadata_batch.h", 205 "src/core/lib/transport/metadata_batch.h",
205 "src/core/lib/transport/static_metadata.h", 206 "src/core/lib/transport/static_metadata.h",
206 "src/core/lib/transport/transport.h", 207 "src/core/lib/transport/transport.h",
207 "src/core/lib/transport/transport_impl.h", 208 "src/core/lib/transport/transport_impl.h",
209 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
208 "src/core/ext/transport/chttp2/transport/bin_encoder.h", 210 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
209 "src/core/ext/transport/chttp2/transport/chttp2_transport.h", 211 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
210 "src/core/ext/transport/chttp2/transport/frame.h", 212 "src/core/ext/transport/chttp2/transport/frame.h",
211 "src/core/ext/transport/chttp2/transport/frame_data.h", 213 "src/core/ext/transport/chttp2/transport/frame_data.h",
212 "src/core/ext/transport/chttp2/transport/frame_goaway.h", 214 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
213 "src/core/ext/transport/chttp2/transport/frame_ping.h", 215 "src/core/ext/transport/chttp2/transport/frame_ping.h",
214 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h", 216 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
215 "src/core/ext/transport/chttp2/transport/frame_settings.h", 217 "src/core/ext/transport/chttp2/transport/frame_settings.h",
216 "src/core/ext/transport/chttp2/transport/frame_window_update.h", 218 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
217 "src/core/ext/transport/chttp2/transport/hpack_encoder.h", 219 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 "src/core/lib/compression/compression.c", 264 "src/core/lib/compression/compression.c",
263 "src/core/lib/compression/message_compress.c", 265 "src/core/lib/compression/message_compress.c",
264 "src/core/lib/debug/trace.c", 266 "src/core/lib/debug/trace.c",
265 "src/core/lib/http/format_request.c", 267 "src/core/lib/http/format_request.c",
266 "src/core/lib/http/httpcli.c", 268 "src/core/lib/http/httpcli.c",
267 "src/core/lib/http/parser.c", 269 "src/core/lib/http/parser.c",
268 "src/core/lib/iomgr/closure.c", 270 "src/core/lib/iomgr/closure.c",
269 "src/core/lib/iomgr/endpoint.c", 271 "src/core/lib/iomgr/endpoint.c",
270 "src/core/lib/iomgr/endpoint_pair_posix.c", 272 "src/core/lib/iomgr/endpoint_pair_posix.c",
271 "src/core/lib/iomgr/endpoint_pair_windows.c", 273 "src/core/lib/iomgr/endpoint_pair_windows.c",
274 "src/core/lib/iomgr/error.c",
275 "src/core/lib/iomgr/ev_epoll_linux.c",
272 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c", 276 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
273 "src/core/lib/iomgr/ev_poll_posix.c", 277 "src/core/lib/iomgr/ev_poll_posix.c",
274 "src/core/lib/iomgr/ev_posix.c", 278 "src/core/lib/iomgr/ev_posix.c",
275 "src/core/lib/iomgr/exec_ctx.c", 279 "src/core/lib/iomgr/exec_ctx.c",
276 "src/core/lib/iomgr/executor.c", 280 "src/core/lib/iomgr/executor.c",
277 "src/core/lib/iomgr/iocp_windows.c", 281 "src/core/lib/iomgr/iocp_windows.c",
278 "src/core/lib/iomgr/iomgr.c", 282 "src/core/lib/iomgr/iomgr.c",
279 "src/core/lib/iomgr/iomgr_posix.c", 283 "src/core/lib/iomgr/iomgr_posix.c",
280 "src/core/lib/iomgr/iomgr_windows.c", 284 "src/core/lib/iomgr/iomgr_windows.c",
285 "src/core/lib/iomgr/load_file.c",
286 "src/core/lib/iomgr/network_status_tracker.c",
281 "src/core/lib/iomgr/polling_entity.c", 287 "src/core/lib/iomgr/polling_entity.c",
282 "src/core/lib/iomgr/pollset_set_windows.c", 288 "src/core/lib/iomgr/pollset_set_windows.c",
283 "src/core/lib/iomgr/pollset_windows.c", 289 "src/core/lib/iomgr/pollset_windows.c",
284 "src/core/lib/iomgr/resolve_address_posix.c", 290 "src/core/lib/iomgr/resolve_address_posix.c",
285 "src/core/lib/iomgr/resolve_address_windows.c", 291 "src/core/lib/iomgr/resolve_address_windows.c",
286 "src/core/lib/iomgr/sockaddr_utils.c", 292 "src/core/lib/iomgr/sockaddr_utils.c",
287 "src/core/lib/iomgr/socket_utils_common_posix.c", 293 "src/core/lib/iomgr/socket_utils_common_posix.c",
288 "src/core/lib/iomgr/socket_utils_linux.c", 294 "src/core/lib/iomgr/socket_utils_linux.c",
289 "src/core/lib/iomgr/socket_utils_posix.c", 295 "src/core/lib/iomgr/socket_utils_posix.c",
290 "src/core/lib/iomgr/socket_windows.c", 296 "src/core/lib/iomgr/socket_windows.c",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 "src/core/lib/surface/version.c", 336 "src/core/lib/surface/version.c",
331 "src/core/lib/transport/byte_stream.c", 337 "src/core/lib/transport/byte_stream.c",
332 "src/core/lib/transport/connectivity_state.c", 338 "src/core/lib/transport/connectivity_state.c",
333 "src/core/lib/transport/metadata.c", 339 "src/core/lib/transport/metadata.c",
334 "src/core/lib/transport/metadata_batch.c", 340 "src/core/lib/transport/metadata_batch.c",
335 "src/core/lib/transport/static_metadata.c", 341 "src/core/lib/transport/static_metadata.c",
336 "src/core/lib/transport/transport.c", 342 "src/core/lib/transport/transport.c",
337 "src/core/lib/transport/transport_op_string.c", 343 "src/core/lib/transport/transport_op_string.c",
338 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c", 344 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
339 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c", 345 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c",
346 "src/core/ext/transport/chttp2/transport/bin_decoder.c",
340 "src/core/ext/transport/chttp2/transport/bin_encoder.c", 347 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
341 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c", 348 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
342 "src/core/ext/transport/chttp2/transport/chttp2_transport.c", 349 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
343 "src/core/ext/transport/chttp2/transport/frame_data.c", 350 "src/core/ext/transport/chttp2/transport/frame_data.c",
344 "src/core/ext/transport/chttp2/transport/frame_goaway.c", 351 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
345 "src/core/ext/transport/chttp2/transport/frame_ping.c", 352 "src/core/ext/transport/chttp2/transport/frame_ping.c",
346 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c", 353 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
347 "src/core/ext/transport/chttp2/transport/frame_settings.c", 354 "src/core/ext/transport/chttp2/transport/frame_settings.c",
348 "src/core/ext/transport/chttp2/transport/frame_window_update.c", 355 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
349 "src/core/ext/transport/chttp2/transport/hpack_encoder.c", 356 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 ] 643 ]
637 644
638 configs -= [ "//build/config/compiler:chromium_code" ] 645 configs -= [ "//build/config/compiler:chromium_code" ]
639 configs += [ 646 configs += [
640 "//build/config/compiler:no_chromium_code", 647 "//build/config/compiler:no_chromium_code",
641 "//third_party/protobuf:protobuf_config", 648 "//third_party/protobuf:protobuf_config",
642 ] 649 ]
643 650
644 public_configs = [ ":grpc_config" ] 651 public_configs = [ ":grpc_config" ]
645 } 652 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698