BUILD 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749
  1. # GRPC Bazel BUILD file.
  2. # This currently builds C, C++ and Objective-C code.
  3. # This file has been automatically generated from a template file.
  4. # Please look at the templates directory instead.
  5. # This file can be regenerated from the template by running
  6. # tools/buildgen/generate_projects.sh
  7. # Copyright 2015, Google Inc.
  8. # All rights reserved.
  9. #
  10. # Redistribution and use in source and binary forms, with or without
  11. # modification, are permitted provided that the following conditions are
  12. # met:
  13. #
  14. # * Redistributions of source code must retain the above copyright
  15. # notice, this list of conditions and the following disclaimer.
  16. # * Redistributions in binary form must reproduce the above
  17. # copyright notice, this list of conditions and the following disclaimer
  18. # in the documentation and/or other materials provided with the
  19. # distribution.
  20. # * Neither the name of Google Inc. nor the names of its
  21. # contributors may be used to endorse or promote products derived from
  22. # this software without specific prior written permission.
  23. #
  24. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  25. # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  26. # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  27. # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  28. # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  29. # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  30. # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  31. # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  32. # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  33. # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  34. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  35. licenses(["notice"]) # 3-clause BSD
  36. package(default_visibility = ["//visibility:public"])
  37. cc_library(
  38. name = "grpc",
  39. srcs = [
  40. "src/core/security/auth_filters.h",
  41. "src/core/security/base64.h",
  42. "src/core/security/credentials.h",
  43. "src/core/security/handshake.h",
  44. "src/core/security/json_token.h",
  45. "src/core/security/jwt_verifier.h",
  46. "src/core/security/secure_endpoint.h",
  47. "src/core/security/security_connector.h",
  48. "src/core/security/security_context.h",
  49. "src/core/tsi/fake_transport_security.h",
  50. "src/core/tsi/ssl_transport_security.h",
  51. "src/core/tsi/ssl_types.h",
  52. "src/core/tsi/transport_security.h",
  53. "src/core/tsi/transport_security_interface.h",
  54. "src/core/census/grpc_filter.h",
  55. "src/core/channel/channel_args.h",
  56. "src/core/channel/channel_stack.h",
  57. "src/core/channel/client_channel.h",
  58. "src/core/channel/client_uchannel.h",
  59. "src/core/channel/compress_filter.h",
  60. "src/core/channel/connected_channel.h",
  61. "src/core/channel/context.h",
  62. "src/core/channel/http_client_filter.h",
  63. "src/core/channel/http_server_filter.h",
  64. "src/core/channel/subchannel_call_holder.h",
  65. "src/core/client_config/client_config.h",
  66. "src/core/client_config/connector.h",
  67. "src/core/client_config/initial_connect_string.h",
  68. "src/core/client_config/lb_policies/pick_first.h",
  69. "src/core/client_config/lb_policies/round_robin.h",
  70. "src/core/client_config/lb_policy.h",
  71. "src/core/client_config/lb_policy_factory.h",
  72. "src/core/client_config/lb_policy_registry.h",
  73. "src/core/client_config/resolver.h",
  74. "src/core/client_config/resolver_factory.h",
  75. "src/core/client_config/resolver_registry.h",
  76. "src/core/client_config/resolvers/dns_resolver.h",
  77. "src/core/client_config/resolvers/sockaddr_resolver.h",
  78. "src/core/client_config/subchannel.h",
  79. "src/core/client_config/subchannel_factory.h",
  80. "src/core/client_config/uri_parser.h",
  81. "src/core/compression/algorithm_metadata.h",
  82. "src/core/compression/message_compress.h",
  83. "src/core/debug/trace.h",
  84. "src/core/httpcli/format_request.h",
  85. "src/core/httpcli/httpcli.h",
  86. "src/core/httpcli/parser.h",
  87. "src/core/iomgr/closure.h",
  88. "src/core/iomgr/endpoint.h",
  89. "src/core/iomgr/endpoint_pair.h",
  90. "src/core/iomgr/exec_ctx.h",
  91. "src/core/iomgr/executor.h",
  92. "src/core/iomgr/fd_posix.h",
  93. "src/core/iomgr/iocp_windows.h",
  94. "src/core/iomgr/iomgr.h",
  95. "src/core/iomgr/iomgr_internal.h",
  96. "src/core/iomgr/iomgr_posix.h",
  97. "src/core/iomgr/pollset.h",
  98. "src/core/iomgr/pollset_posix.h",
  99. "src/core/iomgr/pollset_set.h",
  100. "src/core/iomgr/pollset_set_posix.h",
  101. "src/core/iomgr/pollset_set_windows.h",
  102. "src/core/iomgr/pollset_windows.h",
  103. "src/core/iomgr/resolve_address.h",
  104. "src/core/iomgr/sockaddr.h",
  105. "src/core/iomgr/sockaddr_posix.h",
  106. "src/core/iomgr/sockaddr_utils.h",
  107. "src/core/iomgr/sockaddr_win32.h",
  108. "src/core/iomgr/socket_utils_posix.h",
  109. "src/core/iomgr/socket_windows.h",
  110. "src/core/iomgr/tcp_client.h",
  111. "src/core/iomgr/tcp_posix.h",
  112. "src/core/iomgr/tcp_server.h",
  113. "src/core/iomgr/tcp_windows.h",
  114. "src/core/iomgr/time_averaged_stats.h",
  115. "src/core/iomgr/timer.h",
  116. "src/core/iomgr/timer_heap.h",
  117. "src/core/iomgr/timer_internal.h",
  118. "src/core/iomgr/udp_server.h",
  119. "src/core/iomgr/wakeup_fd_pipe.h",
  120. "src/core/iomgr/wakeup_fd_posix.h",
  121. "src/core/iomgr/workqueue.h",
  122. "src/core/iomgr/workqueue_posix.h",
  123. "src/core/iomgr/workqueue_windows.h",
  124. "src/core/json/json.h",
  125. "src/core/json/json_common.h",
  126. "src/core/json/json_reader.h",
  127. "src/core/json/json_writer.h",
  128. "src/core/statistics/census_interface.h",
  129. "src/core/statistics/census_rpc_stats.h",
  130. "src/core/surface/api_trace.h",
  131. "src/core/surface/call.h",
  132. "src/core/surface/call_test_only.h",
  133. "src/core/surface/channel.h",
  134. "src/core/surface/completion_queue.h",
  135. "src/core/surface/event_string.h",
  136. "src/core/surface/init.h",
  137. "src/core/surface/server.h",
  138. "src/core/surface/surface_trace.h",
  139. "src/core/transport/byte_stream.h",
  140. "src/core/transport/chttp2/alpn.h",
  141. "src/core/transport/chttp2/bin_encoder.h",
  142. "src/core/transport/chttp2/frame.h",
  143. "src/core/transport/chttp2/frame_data.h",
  144. "src/core/transport/chttp2/frame_goaway.h",
  145. "src/core/transport/chttp2/frame_ping.h",
  146. "src/core/transport/chttp2/frame_rst_stream.h",
  147. "src/core/transport/chttp2/frame_settings.h",
  148. "src/core/transport/chttp2/frame_window_update.h",
  149. "src/core/transport/chttp2/hpack_encoder.h",
  150. "src/core/transport/chttp2/hpack_parser.h",
  151. "src/core/transport/chttp2/hpack_table.h",
  152. "src/core/transport/chttp2/http2_errors.h",
  153. "src/core/transport/chttp2/huffsyms.h",
  154. "src/core/transport/chttp2/incoming_metadata.h",
  155. "src/core/transport/chttp2/internal.h",
  156. "src/core/transport/chttp2/status_conversion.h",
  157. "src/core/transport/chttp2/stream_map.h",
  158. "src/core/transport/chttp2/timeout_encoding.h",
  159. "src/core/transport/chttp2/varint.h",
  160. "src/core/transport/chttp2_transport.h",
  161. "src/core/transport/connectivity_state.h",
  162. "src/core/transport/metadata.h",
  163. "src/core/transport/metadata_batch.h",
  164. "src/core/transport/static_metadata.h",
  165. "src/core/transport/transport.h",
  166. "src/core/transport/transport_impl.h",
  167. "src/core/profiling/timers.h",
  168. "src/core/support/block_annotate.h",
  169. "src/core/support/env.h",
  170. "src/core/support/file.h",
  171. "src/core/support/murmur_hash.h",
  172. "src/core/support/stack_lockfree.h",
  173. "src/core/support/string.h",
  174. "src/core/support/string_win32.h",
  175. "src/core/support/thd_internal.h",
  176. "src/core/support/time_precise.h",
  177. "src/core/census/aggregation.h",
  178. "src/core/census/rpc_metric_id.h",
  179. "src/core/httpcli/httpcli_security_connector.c",
  180. "src/core/security/base64.c",
  181. "src/core/security/client_auth_filter.c",
  182. "src/core/security/credentials.c",
  183. "src/core/security/credentials_metadata.c",
  184. "src/core/security/credentials_posix.c",
  185. "src/core/security/credentials_win32.c",
  186. "src/core/security/google_default_credentials.c",
  187. "src/core/security/handshake.c",
  188. "src/core/security/json_token.c",
  189. "src/core/security/jwt_verifier.c",
  190. "src/core/security/secure_endpoint.c",
  191. "src/core/security/security_connector.c",
  192. "src/core/security/security_context.c",
  193. "src/core/security/server_auth_filter.c",
  194. "src/core/security/server_secure_chttp2.c",
  195. "src/core/surface/init_secure.c",
  196. "src/core/surface/secure_channel_create.c",
  197. "src/core/tsi/fake_transport_security.c",
  198. "src/core/tsi/ssl_transport_security.c",
  199. "src/core/tsi/transport_security.c",
  200. "src/core/census/grpc_context.c",
  201. "src/core/census/grpc_filter.c",
  202. "src/core/channel/channel_args.c",
  203. "src/core/channel/channel_stack.c",
  204. "src/core/channel/client_channel.c",
  205. "src/core/channel/client_uchannel.c",
  206. "src/core/channel/compress_filter.c",
  207. "src/core/channel/connected_channel.c",
  208. "src/core/channel/http_client_filter.c",
  209. "src/core/channel/http_server_filter.c",
  210. "src/core/channel/subchannel_call_holder.c",
  211. "src/core/client_config/client_config.c",
  212. "src/core/client_config/connector.c",
  213. "src/core/client_config/default_initial_connect_string.c",
  214. "src/core/client_config/initial_connect_string.c",
  215. "src/core/client_config/lb_policies/pick_first.c",
  216. "src/core/client_config/lb_policies/round_robin.c",
  217. "src/core/client_config/lb_policy.c",
  218. "src/core/client_config/lb_policy_factory.c",
  219. "src/core/client_config/lb_policy_registry.c",
  220. "src/core/client_config/resolver.c",
  221. "src/core/client_config/resolver_factory.c",
  222. "src/core/client_config/resolver_registry.c",
  223. "src/core/client_config/resolvers/dns_resolver.c",
  224. "src/core/client_config/resolvers/sockaddr_resolver.c",
  225. "src/core/client_config/subchannel.c",
  226. "src/core/client_config/subchannel_factory.c",
  227. "src/core/client_config/uri_parser.c",
  228. "src/core/compression/algorithm.c",
  229. "src/core/compression/message_compress.c",
  230. "src/core/debug/trace.c",
  231. "src/core/httpcli/format_request.c",
  232. "src/core/httpcli/httpcli.c",
  233. "src/core/httpcli/parser.c",
  234. "src/core/iomgr/closure.c",
  235. "src/core/iomgr/endpoint.c",
  236. "src/core/iomgr/endpoint_pair_posix.c",
  237. "src/core/iomgr/endpoint_pair_windows.c",
  238. "src/core/iomgr/exec_ctx.c",
  239. "src/core/iomgr/executor.c",
  240. "src/core/iomgr/fd_posix.c",
  241. "src/core/iomgr/iocp_windows.c",
  242. "src/core/iomgr/iomgr.c",
  243. "src/core/iomgr/iomgr_posix.c",
  244. "src/core/iomgr/iomgr_windows.c",
  245. "src/core/iomgr/pollset_multipoller_with_epoll.c",
  246. "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
  247. "src/core/iomgr/pollset_posix.c",
  248. "src/core/iomgr/pollset_set_posix.c",
  249. "src/core/iomgr/pollset_set_windows.c",
  250. "src/core/iomgr/pollset_windows.c",
  251. "src/core/iomgr/resolve_address_posix.c",
  252. "src/core/iomgr/resolve_address_windows.c",
  253. "src/core/iomgr/sockaddr_utils.c",
  254. "src/core/iomgr/socket_utils_common_posix.c",
  255. "src/core/iomgr/socket_utils_linux.c",
  256. "src/core/iomgr/socket_utils_posix.c",
  257. "src/core/iomgr/socket_windows.c",
  258. "src/core/iomgr/tcp_client_posix.c",
  259. "src/core/iomgr/tcp_client_windows.c",
  260. "src/core/iomgr/tcp_posix.c",
  261. "src/core/iomgr/tcp_server_posix.c",
  262. "src/core/iomgr/tcp_server_windows.c",
  263. "src/core/iomgr/tcp_windows.c",
  264. "src/core/iomgr/time_averaged_stats.c",
  265. "src/core/iomgr/timer.c",
  266. "src/core/iomgr/timer_heap.c",
  267. "src/core/iomgr/udp_server.c",
  268. "src/core/iomgr/wakeup_fd_eventfd.c",
  269. "src/core/iomgr/wakeup_fd_nospecial.c",
  270. "src/core/iomgr/wakeup_fd_pipe.c",
  271. "src/core/iomgr/wakeup_fd_posix.c",
  272. "src/core/iomgr/workqueue_posix.c",
  273. "src/core/iomgr/workqueue_windows.c",
  274. "src/core/json/json.c",
  275. "src/core/json/json_reader.c",
  276. "src/core/json/json_string.c",
  277. "src/core/json/json_writer.c",
  278. "src/core/surface/alarm.c",
  279. "src/core/surface/api_trace.c",
  280. "src/core/surface/byte_buffer.c",
  281. "src/core/surface/byte_buffer_reader.c",
  282. "src/core/surface/call.c",
  283. "src/core/surface/call_details.c",
  284. "src/core/surface/call_log_batch.c",
  285. "src/core/surface/channel.c",
  286. "src/core/surface/channel_connectivity.c",
  287. "src/core/surface/channel_create.c",
  288. "src/core/surface/channel_ping.c",
  289. "src/core/surface/completion_queue.c",
  290. "src/core/surface/event_string.c",
  291. "src/core/surface/init.c",
  292. "src/core/surface/lame_client.c",
  293. "src/core/surface/metadata_array.c",
  294. "src/core/surface/server.c",
  295. "src/core/surface/server_chttp2.c",
  296. "src/core/surface/server_create.c",
  297. "src/core/surface/validate_metadata.c",
  298. "src/core/surface/version.c",
  299. "src/core/transport/byte_stream.c",
  300. "src/core/transport/chttp2/alpn.c",
  301. "src/core/transport/chttp2/bin_encoder.c",
  302. "src/core/transport/chttp2/frame_data.c",
  303. "src/core/transport/chttp2/frame_goaway.c",
  304. "src/core/transport/chttp2/frame_ping.c",
  305. "src/core/transport/chttp2/frame_rst_stream.c",
  306. "src/core/transport/chttp2/frame_settings.c",
  307. "src/core/transport/chttp2/frame_window_update.c",
  308. "src/core/transport/chttp2/hpack_encoder.c",
  309. "src/core/transport/chttp2/hpack_parser.c",
  310. "src/core/transport/chttp2/hpack_table.c",
  311. "src/core/transport/chttp2/huffsyms.c",
  312. "src/core/transport/chttp2/incoming_metadata.c",
  313. "src/core/transport/chttp2/parsing.c",
  314. "src/core/transport/chttp2/status_conversion.c",
  315. "src/core/transport/chttp2/stream_lists.c",
  316. "src/core/transport/chttp2/stream_map.c",
  317. "src/core/transport/chttp2/timeout_encoding.c",
  318. "src/core/transport/chttp2/varint.c",
  319. "src/core/transport/chttp2/writing.c",
  320. "src/core/transport/chttp2_transport.c",
  321. "src/core/transport/connectivity_state.c",
  322. "src/core/transport/metadata.c",
  323. "src/core/transport/metadata_batch.c",
  324. "src/core/transport/static_metadata.c",
  325. "src/core/transport/transport.c",
  326. "src/core/transport/transport_op_string.c",
  327. "src/core/profiling/basic_timers.c",
  328. "src/core/profiling/stap_timers.c",
  329. "src/core/support/alloc.c",
  330. "src/core/support/avl.c",
  331. "src/core/support/cmdline.c",
  332. "src/core/support/cpu_iphone.c",
  333. "src/core/support/cpu_linux.c",
  334. "src/core/support/cpu_posix.c",
  335. "src/core/support/cpu_windows.c",
  336. "src/core/support/env_linux.c",
  337. "src/core/support/env_posix.c",
  338. "src/core/support/env_win32.c",
  339. "src/core/support/file.c",
  340. "src/core/support/file_posix.c",
  341. "src/core/support/file_win32.c",
  342. "src/core/support/histogram.c",
  343. "src/core/support/host_port.c",
  344. "src/core/support/log.c",
  345. "src/core/support/log_android.c",
  346. "src/core/support/log_linux.c",
  347. "src/core/support/log_posix.c",
  348. "src/core/support/log_win32.c",
  349. "src/core/support/murmur_hash.c",
  350. "src/core/support/slice.c",
  351. "src/core/support/slice_buffer.c",
  352. "src/core/support/stack_lockfree.c",
  353. "src/core/support/string.c",
  354. "src/core/support/string_posix.c",
  355. "src/core/support/string_win32.c",
  356. "src/core/support/subprocess_posix.c",
  357. "src/core/support/subprocess_windows.c",
  358. "src/core/support/sync.c",
  359. "src/core/support/sync_posix.c",
  360. "src/core/support/sync_win32.c",
  361. "src/core/support/thd.c",
  362. "src/core/support/thd_posix.c",
  363. "src/core/support/thd_win32.c",
  364. "src/core/support/time.c",
  365. "src/core/support/time_posix.c",
  366. "src/core/support/time_precise.c",
  367. "src/core/support/time_win32.c",
  368. "src/core/support/tls_pthread.c",
  369. "src/core/support/wrap_memcpy.c",
  370. "src/core/census/context.c",
  371. "src/core/census/initialize.c",
  372. "src/core/census/operation.c",
  373. "src/core/census/placeholders.c",
  374. "src/core/census/tracing.c",
  375. ],
  376. hdrs = [
  377. "include/grpc/grpc_security.h",
  378. "include/grpc/byte_buffer.h",
  379. "include/grpc/byte_buffer_reader.h",
  380. "include/grpc/compression.h",
  381. "include/grpc/grpc.h",
  382. "include/grpc/status.h",
  383. "include/grpc/support/alloc.h",
  384. "include/grpc/support/atm.h",
  385. "include/grpc/support/atm_gcc_atomic.h",
  386. "include/grpc/support/atm_gcc_sync.h",
  387. "include/grpc/support/atm_win32.h",
  388. "include/grpc/support/avl.h",
  389. "include/grpc/support/cmdline.h",
  390. "include/grpc/support/cpu.h",
  391. "include/grpc/support/histogram.h",
  392. "include/grpc/support/host_port.h",
  393. "include/grpc/support/log.h",
  394. "include/grpc/support/log_win32.h",
  395. "include/grpc/support/port_platform.h",
  396. "include/grpc/support/slice.h",
  397. "include/grpc/support/slice_buffer.h",
  398. "include/grpc/support/string_util.h",
  399. "include/grpc/support/subprocess.h",
  400. "include/grpc/support/sync.h",
  401. "include/grpc/support/sync_generic.h",
  402. "include/grpc/support/sync_posix.h",
  403. "include/grpc/support/sync_win32.h",
  404. "include/grpc/support/thd.h",
  405. "include/grpc/support/time.h",
  406. "include/grpc/support/tls.h",
  407. "include/grpc/support/tls_gcc.h",
  408. "include/grpc/support/tls_msvc.h",
  409. "include/grpc/support/tls_pthread.h",
  410. "include/grpc/support/useful.h",
  411. "include/grpc/impl/codegen/alloc.h",
  412. "include/grpc/impl/codegen/atm.h",
  413. "include/grpc/impl/codegen/atm_gcc_atomic.h",
  414. "include/grpc/impl/codegen/atm_gcc_sync.h",
  415. "include/grpc/impl/codegen/atm_win32.h",
  416. "include/grpc/impl/codegen/byte_buffer.h",
  417. "include/grpc/impl/codegen/compression_types.h",
  418. "include/grpc/impl/codegen/connectivity_state.h",
  419. "include/grpc/impl/codegen/grpc_types.h",
  420. "include/grpc/impl/codegen/log.h",
  421. "include/grpc/impl/codegen/port_platform.h",
  422. "include/grpc/impl/codegen/propagation_bits.h",
  423. "include/grpc/impl/codegen/slice.h",
  424. "include/grpc/impl/codegen/slice_buffer.h",
  425. "include/grpc/impl/codegen/status.h",
  426. "include/grpc/impl/codegen/sync.h",
  427. "include/grpc/impl/codegen/sync_generic.h",
  428. "include/grpc/impl/codegen/sync_posix.h",
  429. "include/grpc/impl/codegen/sync_win32.h",
  430. "include/grpc/impl/codegen/time.h",
  431. "include/grpc/census.h",
  432. ],
  433. includes = [
  434. "include",
  435. ".",
  436. ],
  437. deps = [
  438. "//external:libssl",
  439. "//external:zlib",
  440. ],
  441. copts = [
  442. "-std=gnu99",
  443. ],
  444. )
  445. cc_library(
  446. name = "grpc_unsecure",
  447. srcs = [
  448. "src/core/profiling/timers.h",
  449. "src/core/support/block_annotate.h",
  450. "src/core/support/env.h",
  451. "src/core/support/file.h",
  452. "src/core/support/murmur_hash.h",
  453. "src/core/support/stack_lockfree.h",
  454. "src/core/support/string.h",
  455. "src/core/support/string_win32.h",
  456. "src/core/support/thd_internal.h",
  457. "src/core/support/time_precise.h",
  458. "src/core/census/grpc_filter.h",
  459. "src/core/channel/channel_args.h",
  460. "src/core/channel/channel_stack.h",
  461. "src/core/channel/client_channel.h",
  462. "src/core/channel/client_uchannel.h",
  463. "src/core/channel/compress_filter.h",
  464. "src/core/channel/connected_channel.h",
  465. "src/core/channel/context.h",
  466. "src/core/channel/http_client_filter.h",
  467. "src/core/channel/http_server_filter.h",
  468. "src/core/channel/subchannel_call_holder.h",
  469. "src/core/client_config/client_config.h",
  470. "src/core/client_config/connector.h",
  471. "src/core/client_config/initial_connect_string.h",
  472. "src/core/client_config/lb_policies/pick_first.h",
  473. "src/core/client_config/lb_policies/round_robin.h",
  474. "src/core/client_config/lb_policy.h",
  475. "src/core/client_config/lb_policy_factory.h",
  476. "src/core/client_config/lb_policy_registry.h",
  477. "src/core/client_config/resolver.h",
  478. "src/core/client_config/resolver_factory.h",
  479. "src/core/client_config/resolver_registry.h",
  480. "src/core/client_config/resolvers/dns_resolver.h",
  481. "src/core/client_config/resolvers/sockaddr_resolver.h",
  482. "src/core/client_config/subchannel.h",
  483. "src/core/client_config/subchannel_factory.h",
  484. "src/core/client_config/uri_parser.h",
  485. "src/core/compression/algorithm_metadata.h",
  486. "src/core/compression/message_compress.h",
  487. "src/core/debug/trace.h",
  488. "src/core/httpcli/format_request.h",
  489. "src/core/httpcli/httpcli.h",
  490. "src/core/httpcli/parser.h",
  491. "src/core/iomgr/closure.h",
  492. "src/core/iomgr/endpoint.h",
  493. "src/core/iomgr/endpoint_pair.h",
  494. "src/core/iomgr/exec_ctx.h",
  495. "src/core/iomgr/executor.h",
  496. "src/core/iomgr/fd_posix.h",
  497. "src/core/iomgr/iocp_windows.h",
  498. "src/core/iomgr/iomgr.h",
  499. "src/core/iomgr/iomgr_internal.h",
  500. "src/core/iomgr/iomgr_posix.h",
  501. "src/core/iomgr/pollset.h",
  502. "src/core/iomgr/pollset_posix.h",
  503. "src/core/iomgr/pollset_set.h",
  504. "src/core/iomgr/pollset_set_posix.h",
  505. "src/core/iomgr/pollset_set_windows.h",
  506. "src/core/iomgr/pollset_windows.h",
  507. "src/core/iomgr/resolve_address.h",
  508. "src/core/iomgr/sockaddr.h",
  509. "src/core/iomgr/sockaddr_posix.h",
  510. "src/core/iomgr/sockaddr_utils.h",
  511. "src/core/iomgr/sockaddr_win32.h",
  512. "src/core/iomgr/socket_utils_posix.h",
  513. "src/core/iomgr/socket_windows.h",
  514. "src/core/iomgr/tcp_client.h",
  515. "src/core/iomgr/tcp_posix.h",
  516. "src/core/iomgr/tcp_server.h",
  517. "src/core/iomgr/tcp_windows.h",
  518. "src/core/iomgr/time_averaged_stats.h",
  519. "src/core/iomgr/timer.h",
  520. "src/core/iomgr/timer_heap.h",
  521. "src/core/iomgr/timer_internal.h",
  522. "src/core/iomgr/udp_server.h",
  523. "src/core/iomgr/wakeup_fd_pipe.h",
  524. "src/core/iomgr/wakeup_fd_posix.h",
  525. "src/core/iomgr/workqueue.h",
  526. "src/core/iomgr/workqueue_posix.h",
  527. "src/core/iomgr/workqueue_windows.h",
  528. "src/core/json/json.h",
  529. "src/core/json/json_common.h",
  530. "src/core/json/json_reader.h",
  531. "src/core/json/json_writer.h",
  532. "src/core/statistics/census_interface.h",
  533. "src/core/statistics/census_rpc_stats.h",
  534. "src/core/surface/api_trace.h",
  535. "src/core/surface/call.h",
  536. "src/core/surface/call_test_only.h",
  537. "src/core/surface/channel.h",
  538. "src/core/surface/completion_queue.h",
  539. "src/core/surface/event_string.h",
  540. "src/core/surface/init.h",
  541. "src/core/surface/server.h",
  542. "src/core/surface/surface_trace.h",
  543. "src/core/transport/byte_stream.h",
  544. "src/core/transport/chttp2/alpn.h",
  545. "src/core/transport/chttp2/bin_encoder.h",
  546. "src/core/transport/chttp2/frame.h",
  547. "src/core/transport/chttp2/frame_data.h",
  548. "src/core/transport/chttp2/frame_goaway.h",
  549. "src/core/transport/chttp2/frame_ping.h",
  550. "src/core/transport/chttp2/frame_rst_stream.h",
  551. "src/core/transport/chttp2/frame_settings.h",
  552. "src/core/transport/chttp2/frame_window_update.h",
  553. "src/core/transport/chttp2/hpack_encoder.h",
  554. "src/core/transport/chttp2/hpack_parser.h",
  555. "src/core/transport/chttp2/hpack_table.h",
  556. "src/core/transport/chttp2/http2_errors.h",
  557. "src/core/transport/chttp2/huffsyms.h",
  558. "src/core/transport/chttp2/incoming_metadata.h",
  559. "src/core/transport/chttp2/internal.h",
  560. "src/core/transport/chttp2/status_conversion.h",
  561. "src/core/transport/chttp2/stream_map.h",
  562. "src/core/transport/chttp2/timeout_encoding.h",
  563. "src/core/transport/chttp2/varint.h",
  564. "src/core/transport/chttp2_transport.h",
  565. "src/core/transport/connectivity_state.h",
  566. "src/core/transport/metadata.h",
  567. "src/core/transport/metadata_batch.h",
  568. "src/core/transport/static_metadata.h",
  569. "src/core/transport/transport.h",
  570. "src/core/transport/transport_impl.h",
  571. "src/core/census/aggregation.h",
  572. "src/core/census/rpc_metric_id.h",
  573. "src/core/surface/init_unsecure.c",
  574. "src/core/profiling/basic_timers.c",
  575. "src/core/profiling/stap_timers.c",
  576. "src/core/support/alloc.c",
  577. "src/core/support/avl.c",
  578. "src/core/support/cmdline.c",
  579. "src/core/support/cpu_iphone.c",
  580. "src/core/support/cpu_linux.c",
  581. "src/core/support/cpu_posix.c",
  582. "src/core/support/cpu_windows.c",
  583. "src/core/support/env_linux.c",
  584. "src/core/support/env_posix.c",
  585. "src/core/support/env_win32.c",
  586. "src/core/support/file.c",
  587. "src/core/support/file_posix.c",
  588. "src/core/support/file_win32.c",
  589. "src/core/support/histogram.c",
  590. "src/core/support/host_port.c",
  591. "src/core/support/log.c",
  592. "src/core/support/log_android.c",
  593. "src/core/support/log_linux.c",
  594. "src/core/support/log_posix.c",
  595. "src/core/support/log_win32.c",
  596. "src/core/support/murmur_hash.c",
  597. "src/core/support/slice.c",
  598. "src/core/support/slice_buffer.c",
  599. "src/core/support/stack_lockfree.c",
  600. "src/core/support/string.c",
  601. "src/core/support/string_posix.c",
  602. "src/core/support/string_win32.c",
  603. "src/core/support/subprocess_posix.c",
  604. "src/core/support/subprocess_windows.c",
  605. "src/core/support/sync.c",
  606. "src/core/support/sync_posix.c",
  607. "src/core/support/sync_win32.c",
  608. "src/core/support/thd.c",
  609. "src/core/support/thd_posix.c",
  610. "src/core/support/thd_win32.c",
  611. "src/core/support/time.c",
  612. "src/core/support/time_posix.c",
  613. "src/core/support/time_precise.c",
  614. "src/core/support/time_win32.c",
  615. "src/core/support/tls_pthread.c",
  616. "src/core/support/wrap_memcpy.c",
  617. "src/core/census/grpc_context.c",
  618. "src/core/census/grpc_filter.c",
  619. "src/core/channel/channel_args.c",
  620. "src/core/channel/channel_stack.c",
  621. "src/core/channel/client_channel.c",
  622. "src/core/channel/client_uchannel.c",
  623. "src/core/channel/compress_filter.c",
  624. "src/core/channel/connected_channel.c",
  625. "src/core/channel/http_client_filter.c",
  626. "src/core/channel/http_server_filter.c",
  627. "src/core/channel/subchannel_call_holder.c",
  628. "src/core/client_config/client_config.c",
  629. "src/core/client_config/connector.c",
  630. "src/core/client_config/default_initial_connect_string.c",
  631. "src/core/client_config/initial_connect_string.c",
  632. "src/core/client_config/lb_policies/pick_first.c",
  633. "src/core/client_config/lb_policies/round_robin.c",
  634. "src/core/client_config/lb_policy.c",
  635. "src/core/client_config/lb_policy_factory.c",
  636. "src/core/client_config/lb_policy_registry.c",
  637. "src/core/client_config/resolver.c",
  638. "src/core/client_config/resolver_factory.c",
  639. "src/core/client_config/resolver_registry.c",
  640. "src/core/client_config/resolvers/dns_resolver.c",
  641. "src/core/client_config/resolvers/sockaddr_resolver.c",
  642. "src/core/client_config/subchannel.c",
  643. "src/core/client_config/subchannel_factory.c",
  644. "src/core/client_config/uri_parser.c",
  645. "src/core/compression/algorithm.c",
  646. "src/core/compression/message_compress.c",
  647. "src/core/debug/trace.c",
  648. "src/core/httpcli/format_request.c",
  649. "src/core/httpcli/httpcli.c",
  650. "src/core/httpcli/parser.c",
  651. "src/core/iomgr/closure.c",
  652. "src/core/iomgr/endpoint.c",
  653. "src/core/iomgr/endpoint_pair_posix.c",
  654. "src/core/iomgr/endpoint_pair_windows.c",
  655. "src/core/iomgr/exec_ctx.c",
  656. "src/core/iomgr/executor.c",
  657. "src/core/iomgr/fd_posix.c",
  658. "src/core/iomgr/iocp_windows.c",
  659. "src/core/iomgr/iomgr.c",
  660. "src/core/iomgr/iomgr_posix.c",
  661. "src/core/iomgr/iomgr_windows.c",
  662. "src/core/iomgr/pollset_multipoller_with_epoll.c",
  663. "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
  664. "src/core/iomgr/pollset_posix.c",
  665. "src/core/iomgr/pollset_set_posix.c",
  666. "src/core/iomgr/pollset_set_windows.c",
  667. "src/core/iomgr/pollset_windows.c",
  668. "src/core/iomgr/resolve_address_posix.c",
  669. "src/core/iomgr/resolve_address_windows.c",
  670. "src/core/iomgr/sockaddr_utils.c",
  671. "src/core/iomgr/socket_utils_common_posix.c",
  672. "src/core/iomgr/socket_utils_linux.c",
  673. "src/core/iomgr/socket_utils_posix.c",
  674. "src/core/iomgr/socket_windows.c",
  675. "src/core/iomgr/tcp_client_posix.c",
  676. "src/core/iomgr/tcp_client_windows.c",
  677. "src/core/iomgr/tcp_posix.c",
  678. "src/core/iomgr/tcp_server_posix.c",
  679. "src/core/iomgr/tcp_server_windows.c",
  680. "src/core/iomgr/tcp_windows.c",
  681. "src/core/iomgr/time_averaged_stats.c",
  682. "src/core/iomgr/timer.c",
  683. "src/core/iomgr/timer_heap.c",
  684. "src/core/iomgr/udp_server.c",
  685. "src/core/iomgr/wakeup_fd_eventfd.c",
  686. "src/core/iomgr/wakeup_fd_nospecial.c",
  687. "src/core/iomgr/wakeup_fd_pipe.c",
  688. "src/core/iomgr/wakeup_fd_posix.c",
  689. "src/core/iomgr/workqueue_posix.c",
  690. "src/core/iomgr/workqueue_windows.c",
  691. "src/core/json/json.c",
  692. "src/core/json/json_reader.c",
  693. "src/core/json/json_string.c",
  694. "src/core/json/json_writer.c",
  695. "src/core/surface/alarm.c",
  696. "src/core/surface/api_trace.c",
  697. "src/core/surface/byte_buffer.c",
  698. "src/core/surface/byte_buffer_reader.c",
  699. "src/core/surface/call.c",
  700. "src/core/surface/call_details.c",
  701. "src/core/surface/call_log_batch.c",
  702. "src/core/surface/channel.c",
  703. "src/core/surface/channel_connectivity.c",
  704. "src/core/surface/channel_create.c",
  705. "src/core/surface/channel_ping.c",
  706. "src/core/surface/completion_queue.c",
  707. "src/core/surface/event_string.c",
  708. "src/core/surface/init.c",
  709. "src/core/surface/lame_client.c",
  710. "src/core/surface/metadata_array.c",
  711. "src/core/surface/server.c",
  712. "src/core/surface/server_chttp2.c",
  713. "src/core/surface/server_create.c",
  714. "src/core/surface/validate_metadata.c",
  715. "src/core/surface/version.c",
  716. "src/core/transport/byte_stream.c",
  717. "src/core/transport/chttp2/alpn.c",
  718. "src/core/transport/chttp2/bin_encoder.c",
  719. "src/core/transport/chttp2/frame_data.c",
  720. "src/core/transport/chttp2/frame_goaway.c",
  721. "src/core/transport/chttp2/frame_ping.c",
  722. "src/core/transport/chttp2/frame_rst_stream.c",
  723. "src/core/transport/chttp2/frame_settings.c",
  724. "src/core/transport/chttp2/frame_window_update.c",
  725. "src/core/transport/chttp2/hpack_encoder.c",
  726. "src/core/transport/chttp2/hpack_parser.c",
  727. "src/core/transport/chttp2/hpack_table.c",
  728. "src/core/transport/chttp2/huffsyms.c",
  729. "src/core/transport/chttp2/incoming_metadata.c",
  730. "src/core/transport/chttp2/parsing.c",
  731. "src/core/transport/chttp2/status_conversion.c",
  732. "src/core/transport/chttp2/stream_lists.c",
  733. "src/core/transport/chttp2/stream_map.c",
  734. "src/core/transport/chttp2/timeout_encoding.c",
  735. "src/core/transport/chttp2/varint.c",
  736. "src/core/transport/chttp2/writing.c",
  737. "src/core/transport/chttp2_transport.c",
  738. "src/core/transport/connectivity_state.c",
  739. "src/core/transport/metadata.c",
  740. "src/core/transport/metadata_batch.c",
  741. "src/core/transport/static_metadata.c",
  742. "src/core/transport/transport.c",
  743. "src/core/transport/transport_op_string.c",
  744. "src/core/census/context.c",
  745. "src/core/census/initialize.c",
  746. "src/core/census/operation.c",
  747. "src/core/census/placeholders.c",
  748. "src/core/census/tracing.c",
  749. ],
  750. hdrs = [
  751. "include/grpc/support/alloc.h",
  752. "include/grpc/support/atm.h",
  753. "include/grpc/support/atm_gcc_atomic.h",
  754. "include/grpc/support/atm_gcc_sync.h",
  755. "include/grpc/support/atm_win32.h",
  756. "include/grpc/support/avl.h",
  757. "include/grpc/support/cmdline.h",
  758. "include/grpc/support/cpu.h",
  759. "include/grpc/support/histogram.h",
  760. "include/grpc/support/host_port.h",
  761. "include/grpc/support/log.h",
  762. "include/grpc/support/log_win32.h",
  763. "include/grpc/support/port_platform.h",
  764. "include/grpc/support/slice.h",
  765. "include/grpc/support/slice_buffer.h",
  766. "include/grpc/support/string_util.h",
  767. "include/grpc/support/subprocess.h",
  768. "include/grpc/support/sync.h",
  769. "include/grpc/support/sync_generic.h",
  770. "include/grpc/support/sync_posix.h",
  771. "include/grpc/support/sync_win32.h",
  772. "include/grpc/support/thd.h",
  773. "include/grpc/support/time.h",
  774. "include/grpc/support/tls.h",
  775. "include/grpc/support/tls_gcc.h",
  776. "include/grpc/support/tls_msvc.h",
  777. "include/grpc/support/tls_pthread.h",
  778. "include/grpc/support/useful.h",
  779. "include/grpc/impl/codegen/alloc.h",
  780. "include/grpc/impl/codegen/atm.h",
  781. "include/grpc/impl/codegen/atm_gcc_atomic.h",
  782. "include/grpc/impl/codegen/atm_gcc_sync.h",
  783. "include/grpc/impl/codegen/atm_win32.h",
  784. "include/grpc/impl/codegen/byte_buffer.h",
  785. "include/grpc/impl/codegen/compression_types.h",
  786. "include/grpc/impl/codegen/connectivity_state.h",
  787. "include/grpc/impl/codegen/grpc_types.h",
  788. "include/grpc/impl/codegen/log.h",
  789. "include/grpc/impl/codegen/port_platform.h",
  790. "include/grpc/impl/codegen/propagation_bits.h",
  791. "include/grpc/impl/codegen/slice.h",
  792. "include/grpc/impl/codegen/slice_buffer.h",
  793. "include/grpc/impl/codegen/status.h",
  794. "include/grpc/impl/codegen/sync.h",
  795. "include/grpc/impl/codegen/sync_generic.h",
  796. "include/grpc/impl/codegen/sync_posix.h",
  797. "include/grpc/impl/codegen/sync_win32.h",
  798. "include/grpc/impl/codegen/time.h",
  799. "include/grpc/byte_buffer.h",
  800. "include/grpc/byte_buffer_reader.h",
  801. "include/grpc/compression.h",
  802. "include/grpc/grpc.h",
  803. "include/grpc/status.h",
  804. "include/grpc/census.h",
  805. ],
  806. includes = [
  807. "include",
  808. ".",
  809. ],
  810. deps = [
  811. ],
  812. copts = [
  813. "-std=gnu99",
  814. ],
  815. )
  816. cc_library(
  817. name = "grpc_zookeeper",
  818. srcs = [
  819. "src/core/client_config/resolvers/zookeeper_resolver.h",
  820. "src/core/client_config/resolvers/zookeeper_resolver.c",
  821. ],
  822. hdrs = [
  823. "include/grpc/grpc_zookeeper.h",
  824. ],
  825. includes = [
  826. "include",
  827. ".",
  828. ],
  829. deps = [
  830. ":grpc",
  831. ],
  832. )
  833. cc_library(
  834. name = "grpc++",
  835. srcs = [
  836. "src/cpp/client/secure_credentials.h",
  837. "src/cpp/common/secure_auth_context.h",
  838. "src/cpp/server/secure_server_credentials.h",
  839. "src/cpp/client/create_channel_internal.h",
  840. "src/cpp/common/create_auth_context.h",
  841. "src/cpp/server/dynamic_thread_pool.h",
  842. "src/cpp/server/fixed_size_thread_pool.h",
  843. "src/cpp/server/thread_pool_interface.h",
  844. "src/cpp/client/secure_credentials.cc",
  845. "src/cpp/common/auth_property_iterator.cc",
  846. "src/cpp/common/secure_auth_context.cc",
  847. "src/cpp/common/secure_channel_arguments.cc",
  848. "src/cpp/common/secure_create_auth_context.cc",
  849. "src/cpp/server/secure_server_credentials.cc",
  850. "src/cpp/client/channel.cc",
  851. "src/cpp/client/client_context.cc",
  852. "src/cpp/client/create_channel.cc",
  853. "src/cpp/client/create_channel_internal.cc",
  854. "src/cpp/client/credentials.cc",
  855. "src/cpp/client/generic_stub.cc",
  856. "src/cpp/client/insecure_credentials.cc",
  857. "src/cpp/common/call.cc",
  858. "src/cpp/common/channel_arguments.cc",
  859. "src/cpp/common/completion_queue.cc",
  860. "src/cpp/common/rpc_method.cc",
  861. "src/cpp/proto/proto_utils.cc",
  862. "src/cpp/server/async_generic_service.cc",
  863. "src/cpp/server/create_default_thread_pool.cc",
  864. "src/cpp/server/dynamic_thread_pool.cc",
  865. "src/cpp/server/fixed_size_thread_pool.cc",
  866. "src/cpp/server/insecure_server_credentials.cc",
  867. "src/cpp/server/server.cc",
  868. "src/cpp/server/server_builder.cc",
  869. "src/cpp/server/server_context.cc",
  870. "src/cpp/server/server_credentials.cc",
  871. "src/cpp/util/byte_buffer.cc",
  872. "src/cpp/util/slice.cc",
  873. "src/cpp/util/status.cc",
  874. "src/cpp/util/string_ref.cc",
  875. "src/cpp/util/time.cc",
  876. "src/cpp/codegen/grpc_library.cc",
  877. ],
  878. hdrs = [
  879. "include/grpc++/channel.h",
  880. "include/grpc++/client_context.h",
  881. "include/grpc++/completion_queue.h",
  882. "include/grpc++/create_channel.h",
  883. "include/grpc++/generic/async_generic_service.h",
  884. "include/grpc++/generic/generic_stub.h",
  885. "include/grpc++/grpc++.h",
  886. "include/grpc++/impl/call.h",
  887. "include/grpc++/impl/client_unary_call.h",
  888. "include/grpc++/impl/grpc_library.h",
  889. "include/grpc++/impl/method_handler_impl.h",
  890. "include/grpc++/impl/proto_utils.h",
  891. "include/grpc++/impl/rpc_method.h",
  892. "include/grpc++/impl/rpc_service_method.h",
  893. "include/grpc++/impl/serialization_traits.h",
  894. "include/grpc++/impl/server_builder_option.h",
  895. "include/grpc++/impl/service_type.h",
  896. "include/grpc++/impl/sync.h",
  897. "include/grpc++/impl/sync_cxx11.h",
  898. "include/grpc++/impl/sync_no_cxx11.h",
  899. "include/grpc++/impl/thd.h",
  900. "include/grpc++/impl/thd_cxx11.h",
  901. "include/grpc++/impl/thd_no_cxx11.h",
  902. "include/grpc++/security/auth_context.h",
  903. "include/grpc++/security/auth_metadata_processor.h",
  904. "include/grpc++/security/credentials.h",
  905. "include/grpc++/security/server_credentials.h",
  906. "include/grpc++/server.h",
  907. "include/grpc++/server_builder.h",
  908. "include/grpc++/server_context.h",
  909. "include/grpc++/support/async_stream.h",
  910. "include/grpc++/support/async_unary_call.h",
  911. "include/grpc++/support/byte_buffer.h",
  912. "include/grpc++/support/channel_arguments.h",
  913. "include/grpc++/support/config.h",
  914. "include/grpc++/support/config_protobuf.h",
  915. "include/grpc++/support/slice.h",
  916. "include/grpc++/support/status.h",
  917. "include/grpc++/support/status_code_enum.h",
  918. "include/grpc++/support/string_ref.h",
  919. "include/grpc++/support/stub_options.h",
  920. "include/grpc++/support/sync_stream.h",
  921. "include/grpc++/support/time.h",
  922. "include/grpc++/impl/codegen/async_stream.h",
  923. "include/grpc++/impl/codegen/async_unary_call.h",
  924. "include/grpc++/impl/codegen/call.h",
  925. "include/grpc++/impl/codegen/call_hook.h",
  926. "include/grpc++/impl/codegen/channel_interface.h",
  927. "include/grpc++/impl/codegen/client_context.h",
  928. "include/grpc++/impl/codegen/client_unary_call.h",
  929. "include/grpc++/impl/codegen/completion_queue.h",
  930. "include/grpc++/impl/codegen/completion_queue_tag.h",
  931. "include/grpc++/impl/codegen/config.h",
  932. "include/grpc++/impl/codegen/config_protobuf.h",
  933. "include/grpc++/impl/codegen/grpc_library.h",
  934. "include/grpc++/impl/codegen/method_handler_impl.h",
  935. "include/grpc++/impl/codegen/proto_utils.h",
  936. "include/grpc++/impl/codegen/rpc_method.h",
  937. "include/grpc++/impl/codegen/rpc_service_method.h",
  938. "include/grpc++/impl/codegen/security/auth_context.h",
  939. "include/grpc++/impl/codegen/serialization_traits.h",
  940. "include/grpc++/impl/codegen/server_context.h",
  941. "include/grpc++/impl/codegen/server_interface.h",
  942. "include/grpc++/impl/codegen/service_type.h",
  943. "include/grpc++/impl/codegen/status.h",
  944. "include/grpc++/impl/codegen/status_code_enum.h",
  945. "include/grpc++/impl/codegen/string_ref.h",
  946. "include/grpc++/impl/codegen/stub_options.h",
  947. "include/grpc++/impl/codegen/sync.h",
  948. "include/grpc++/impl/codegen/sync_cxx11.h",
  949. "include/grpc++/impl/codegen/sync_no_cxx11.h",
  950. "include/grpc++/impl/codegen/sync_stream.h",
  951. "include/grpc++/impl/codegen/time.h",
  952. ],
  953. includes = [
  954. "include",
  955. ".",
  956. ],
  957. deps = [
  958. "//external:libssl",
  959. "//external:protobuf_clib",
  960. ":grpc",
  961. ],
  962. )
  963. cc_library(
  964. name = "grpc++_unsecure",
  965. srcs = [
  966. "src/cpp/client/create_channel_internal.h",
  967. "src/cpp/common/create_auth_context.h",
  968. "src/cpp/server/dynamic_thread_pool.h",
  969. "src/cpp/server/fixed_size_thread_pool.h",
  970. "src/cpp/server/thread_pool_interface.h",
  971. "src/cpp/common/insecure_create_auth_context.cc",
  972. "src/cpp/client/channel.cc",
  973. "src/cpp/client/client_context.cc",
  974. "src/cpp/client/create_channel.cc",
  975. "src/cpp/client/create_channel_internal.cc",
  976. "src/cpp/client/credentials.cc",
  977. "src/cpp/client/generic_stub.cc",
  978. "src/cpp/client/insecure_credentials.cc",
  979. "src/cpp/common/call.cc",
  980. "src/cpp/common/channel_arguments.cc",
  981. "src/cpp/common/completion_queue.cc",
  982. "src/cpp/common/rpc_method.cc",
  983. "src/cpp/proto/proto_utils.cc",
  984. "src/cpp/server/async_generic_service.cc",
  985. "src/cpp/server/create_default_thread_pool.cc",
  986. "src/cpp/server/dynamic_thread_pool.cc",
  987. "src/cpp/server/fixed_size_thread_pool.cc",
  988. "src/cpp/server/insecure_server_credentials.cc",
  989. "src/cpp/server/server.cc",
  990. "src/cpp/server/server_builder.cc",
  991. "src/cpp/server/server_context.cc",
  992. "src/cpp/server/server_credentials.cc",
  993. "src/cpp/util/byte_buffer.cc",
  994. "src/cpp/util/slice.cc",
  995. "src/cpp/util/status.cc",
  996. "src/cpp/util/string_ref.cc",
  997. "src/cpp/util/time.cc",
  998. "src/cpp/codegen/grpc_library.cc",
  999. ],
  1000. hdrs = [
  1001. "include/grpc++/channel.h",
  1002. "include/grpc++/client_context.h",
  1003. "include/grpc++/completion_queue.h",
  1004. "include/grpc++/create_channel.h",
  1005. "include/grpc++/generic/async_generic_service.h",
  1006. "include/grpc++/generic/generic_stub.h",
  1007. "include/grpc++/grpc++.h",
  1008. "include/grpc++/impl/call.h",
  1009. "include/grpc++/impl/client_unary_call.h",
  1010. "include/grpc++/impl/grpc_library.h",
  1011. "include/grpc++/impl/method_handler_impl.h",
  1012. "include/grpc++/impl/proto_utils.h",
  1013. "include/grpc++/impl/rpc_method.h",
  1014. "include/grpc++/impl/rpc_service_method.h",
  1015. "include/grpc++/impl/serialization_traits.h",
  1016. "include/grpc++/impl/server_builder_option.h",
  1017. "include/grpc++/impl/service_type.h",
  1018. "include/grpc++/impl/sync.h",
  1019. "include/grpc++/impl/sync_cxx11.h",
  1020. "include/grpc++/impl/sync_no_cxx11.h",
  1021. "include/grpc++/impl/thd.h",
  1022. "include/grpc++/impl/thd_cxx11.h",
  1023. "include/grpc++/impl/thd_no_cxx11.h",
  1024. "include/grpc++/security/auth_context.h",
  1025. "include/grpc++/security/auth_metadata_processor.h",
  1026. "include/grpc++/security/credentials.h",
  1027. "include/grpc++/security/server_credentials.h",
  1028. "include/grpc++/server.h",
  1029. "include/grpc++/server_builder.h",
  1030. "include/grpc++/server_context.h",
  1031. "include/grpc++/support/async_stream.h",
  1032. "include/grpc++/support/async_unary_call.h",
  1033. "include/grpc++/support/byte_buffer.h",
  1034. "include/grpc++/support/channel_arguments.h",
  1035. "include/grpc++/support/config.h",
  1036. "include/grpc++/support/config_protobuf.h",
  1037. "include/grpc++/support/slice.h",
  1038. "include/grpc++/support/status.h",
  1039. "include/grpc++/support/status_code_enum.h",
  1040. "include/grpc++/support/string_ref.h",
  1041. "include/grpc++/support/stub_options.h",
  1042. "include/grpc++/support/sync_stream.h",
  1043. "include/grpc++/support/time.h",
  1044. "include/grpc++/impl/codegen/async_stream.h",
  1045. "include/grpc++/impl/codegen/async_unary_call.h",
  1046. "include/grpc++/impl/codegen/call.h",
  1047. "include/grpc++/impl/codegen/call_hook.h",
  1048. "include/grpc++/impl/codegen/channel_interface.h",
  1049. "include/grpc++/impl/codegen/client_context.h",
  1050. "include/grpc++/impl/codegen/client_unary_call.h",
  1051. "include/grpc++/impl/codegen/completion_queue.h",
  1052. "include/grpc++/impl/codegen/completion_queue_tag.h",
  1053. "include/grpc++/impl/codegen/config.h",
  1054. "include/grpc++/impl/codegen/config_protobuf.h",
  1055. "include/grpc++/impl/codegen/grpc_library.h",
  1056. "include/grpc++/impl/codegen/method_handler_impl.h",
  1057. "include/grpc++/impl/codegen/proto_utils.h",
  1058. "include/grpc++/impl/codegen/rpc_method.h",
  1059. "include/grpc++/impl/codegen/rpc_service_method.h",
  1060. "include/grpc++/impl/codegen/security/auth_context.h",
  1061. "include/grpc++/impl/codegen/serialization_traits.h",
  1062. "include/grpc++/impl/codegen/server_context.h",
  1063. "include/grpc++/impl/codegen/server_interface.h",
  1064. "include/grpc++/impl/codegen/service_type.h",
  1065. "include/grpc++/impl/codegen/status.h",
  1066. "include/grpc++/impl/codegen/status_code_enum.h",
  1067. "include/grpc++/impl/codegen/string_ref.h",
  1068. "include/grpc++/impl/codegen/stub_options.h",
  1069. "include/grpc++/impl/codegen/sync.h",
  1070. "include/grpc++/impl/codegen/sync_cxx11.h",
  1071. "include/grpc++/impl/codegen/sync_no_cxx11.h",
  1072. "include/grpc++/impl/codegen/sync_stream.h",
  1073. "include/grpc++/impl/codegen/time.h",
  1074. ],
  1075. includes = [
  1076. "include",
  1077. ".",
  1078. ],
  1079. deps = [
  1080. "//external:protobuf_clib",
  1081. ":grpc_unsecure",
  1082. ],
  1083. )
  1084. cc_library(
  1085. name = "grpc_plugin_support",
  1086. srcs = [
  1087. "include/grpc++/support/config.h",
  1088. "include/grpc++/support/config_protobuf.h",
  1089. "src/compiler/config.h",
  1090. "src/compiler/cpp_generator.h",
  1091. "src/compiler/cpp_generator_helpers.h",
  1092. "src/compiler/csharp_generator.h",
  1093. "src/compiler/csharp_generator_helpers.h",
  1094. "src/compiler/generator_helpers.h",
  1095. "src/compiler/objective_c_generator.h",
  1096. "src/compiler/objective_c_generator_helpers.h",
  1097. "src/compiler/python_generator.h",
  1098. "src/compiler/ruby_generator.h",
  1099. "src/compiler/ruby_generator_helpers-inl.h",
  1100. "src/compiler/ruby_generator_map-inl.h",
  1101. "src/compiler/ruby_generator_string-inl.h",
  1102. "src/compiler/cpp_generator.cc",
  1103. "src/compiler/csharp_generator.cc",
  1104. "src/compiler/objective_c_generator.cc",
  1105. "src/compiler/python_generator.cc",
  1106. "src/compiler/ruby_generator.cc",
  1107. "src/cpp/codegen/grpc_library.cc",
  1108. ],
  1109. hdrs = [
  1110. "include/grpc++/impl/codegen/async_stream.h",
  1111. "include/grpc++/impl/codegen/async_unary_call.h",
  1112. "include/grpc++/impl/codegen/call.h",
  1113. "include/grpc++/impl/codegen/call_hook.h",
  1114. "include/grpc++/impl/codegen/channel_interface.h",
  1115. "include/grpc++/impl/codegen/client_context.h",
  1116. "include/grpc++/impl/codegen/client_unary_call.h",
  1117. "include/grpc++/impl/codegen/completion_queue.h",
  1118. "include/grpc++/impl/codegen/completion_queue_tag.h",
  1119. "include/grpc++/impl/codegen/config.h",
  1120. "include/grpc++/impl/codegen/config_protobuf.h",
  1121. "include/grpc++/impl/codegen/grpc_library.h",
  1122. "include/grpc++/impl/codegen/method_handler_impl.h",
  1123. "include/grpc++/impl/codegen/proto_utils.h",
  1124. "include/grpc++/impl/codegen/rpc_method.h",
  1125. "include/grpc++/impl/codegen/rpc_service_method.h",
  1126. "include/grpc++/impl/codegen/security/auth_context.h",
  1127. "include/grpc++/impl/codegen/serialization_traits.h",
  1128. "include/grpc++/impl/codegen/server_context.h",
  1129. "include/grpc++/impl/codegen/server_interface.h",
  1130. "include/grpc++/impl/codegen/service_type.h",
  1131. "include/grpc++/impl/codegen/status.h",
  1132. "include/grpc++/impl/codegen/status_code_enum.h",
  1133. "include/grpc++/impl/codegen/string_ref.h",
  1134. "include/grpc++/impl/codegen/stub_options.h",
  1135. "include/grpc++/impl/codegen/sync.h",
  1136. "include/grpc++/impl/codegen/sync_cxx11.h",
  1137. "include/grpc++/impl/codegen/sync_no_cxx11.h",
  1138. "include/grpc++/impl/codegen/sync_stream.h",
  1139. "include/grpc++/impl/codegen/time.h",
  1140. "include/grpc/impl/codegen/alloc.h",
  1141. "include/grpc/impl/codegen/atm.h",
  1142. "include/grpc/impl/codegen/atm_gcc_atomic.h",
  1143. "include/grpc/impl/codegen/atm_gcc_sync.h",
  1144. "include/grpc/impl/codegen/atm_win32.h",
  1145. "include/grpc/impl/codegen/byte_buffer.h",
  1146. "include/grpc/impl/codegen/compression_types.h",
  1147. "include/grpc/impl/codegen/connectivity_state.h",
  1148. "include/grpc/impl/codegen/grpc_types.h",
  1149. "include/grpc/impl/codegen/log.h",
  1150. "include/grpc/impl/codegen/port_platform.h",
  1151. "include/grpc/impl/codegen/propagation_bits.h",
  1152. "include/grpc/impl/codegen/slice.h",
  1153. "include/grpc/impl/codegen/slice_buffer.h",
  1154. "include/grpc/impl/codegen/status.h",
  1155. "include/grpc/impl/codegen/sync.h",
  1156. "include/grpc/impl/codegen/sync_generic.h",
  1157. "include/grpc/impl/codegen/sync_posix.h",
  1158. "include/grpc/impl/codegen/sync_win32.h",
  1159. "include/grpc/impl/codegen/time.h",
  1160. ],
  1161. includes = [
  1162. "include",
  1163. ".",
  1164. ],
  1165. deps = [
  1166. "//external:protobuf_compiler",
  1167. ],
  1168. )
  1169. cc_library(
  1170. name = "grpc_csharp_ext",
  1171. srcs = [
  1172. "src/csharp/ext/grpc_csharp_ext.c",
  1173. ],
  1174. hdrs = [
  1175. ],
  1176. includes = [
  1177. "include",
  1178. ".",
  1179. ],
  1180. deps = [
  1181. ":grpc",
  1182. ],
  1183. )
  1184. objc_library(
  1185. name = "grpc_objc",
  1186. srcs = [
  1187. "src/core/httpcli/httpcli_security_connector.c",
  1188. "src/core/security/base64.c",
  1189. "src/core/security/client_auth_filter.c",
  1190. "src/core/security/credentials.c",
  1191. "src/core/security/credentials_metadata.c",
  1192. "src/core/security/credentials_posix.c",
  1193. "src/core/security/credentials_win32.c",
  1194. "src/core/security/google_default_credentials.c",
  1195. "src/core/security/handshake.c",
  1196. "src/core/security/json_token.c",
  1197. "src/core/security/jwt_verifier.c",
  1198. "src/core/security/secure_endpoint.c",
  1199. "src/core/security/security_connector.c",
  1200. "src/core/security/security_context.c",
  1201. "src/core/security/server_auth_filter.c",
  1202. "src/core/security/server_secure_chttp2.c",
  1203. "src/core/surface/init_secure.c",
  1204. "src/core/surface/secure_channel_create.c",
  1205. "src/core/tsi/fake_transport_security.c",
  1206. "src/core/tsi/ssl_transport_security.c",
  1207. "src/core/tsi/transport_security.c",
  1208. "src/core/census/grpc_context.c",
  1209. "src/core/census/grpc_filter.c",
  1210. "src/core/channel/channel_args.c",
  1211. "src/core/channel/channel_stack.c",
  1212. "src/core/channel/client_channel.c",
  1213. "src/core/channel/client_uchannel.c",
  1214. "src/core/channel/compress_filter.c",
  1215. "src/core/channel/connected_channel.c",
  1216. "src/core/channel/http_client_filter.c",
  1217. "src/core/channel/http_server_filter.c",
  1218. "src/core/channel/subchannel_call_holder.c",
  1219. "src/core/client_config/client_config.c",
  1220. "src/core/client_config/connector.c",
  1221. "src/core/client_config/default_initial_connect_string.c",
  1222. "src/core/client_config/initial_connect_string.c",
  1223. "src/core/client_config/lb_policies/pick_first.c",
  1224. "src/core/client_config/lb_policies/round_robin.c",
  1225. "src/core/client_config/lb_policy.c",
  1226. "src/core/client_config/lb_policy_factory.c",
  1227. "src/core/client_config/lb_policy_registry.c",
  1228. "src/core/client_config/resolver.c",
  1229. "src/core/client_config/resolver_factory.c",
  1230. "src/core/client_config/resolver_registry.c",
  1231. "src/core/client_config/resolvers/dns_resolver.c",
  1232. "src/core/client_config/resolvers/sockaddr_resolver.c",
  1233. "src/core/client_config/subchannel.c",
  1234. "src/core/client_config/subchannel_factory.c",
  1235. "src/core/client_config/uri_parser.c",
  1236. "src/core/compression/algorithm.c",
  1237. "src/core/compression/message_compress.c",
  1238. "src/core/debug/trace.c",
  1239. "src/core/httpcli/format_request.c",
  1240. "src/core/httpcli/httpcli.c",
  1241. "src/core/httpcli/parser.c",
  1242. "src/core/iomgr/closure.c",
  1243. "src/core/iomgr/endpoint.c",
  1244. "src/core/iomgr/endpoint_pair_posix.c",
  1245. "src/core/iomgr/endpoint_pair_windows.c",
  1246. "src/core/iomgr/exec_ctx.c",
  1247. "src/core/iomgr/executor.c",
  1248. "src/core/iomgr/fd_posix.c",
  1249. "src/core/iomgr/iocp_windows.c",
  1250. "src/core/iomgr/iomgr.c",
  1251. "src/core/iomgr/iomgr_posix.c",
  1252. "src/core/iomgr/iomgr_windows.c",
  1253. "src/core/iomgr/pollset_multipoller_with_epoll.c",
  1254. "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
  1255. "src/core/iomgr/pollset_posix.c",
  1256. "src/core/iomgr/pollset_set_posix.c",
  1257. "src/core/iomgr/pollset_set_windows.c",
  1258. "src/core/iomgr/pollset_windows.c",
  1259. "src/core/iomgr/resolve_address_posix.c",
  1260. "src/core/iomgr/resolve_address_windows.c",
  1261. "src/core/iomgr/sockaddr_utils.c",
  1262. "src/core/iomgr/socket_utils_common_posix.c",
  1263. "src/core/iomgr/socket_utils_linux.c",
  1264. "src/core/iomgr/socket_utils_posix.c",
  1265. "src/core/iomgr/socket_windows.c",
  1266. "src/core/iomgr/tcp_client_posix.c",
  1267. "src/core/iomgr/tcp_client_windows.c",
  1268. "src/core/iomgr/tcp_posix.c",
  1269. "src/core/iomgr/tcp_server_posix.c",
  1270. "src/core/iomgr/tcp_server_windows.c",
  1271. "src/core/iomgr/tcp_windows.c",
  1272. "src/core/iomgr/time_averaged_stats.c",
  1273. "src/core/iomgr/timer.c",
  1274. "src/core/iomgr/timer_heap.c",
  1275. "src/core/iomgr/udp_server.c",
  1276. "src/core/iomgr/wakeup_fd_eventfd.c",
  1277. "src/core/iomgr/wakeup_fd_nospecial.c",
  1278. "src/core/iomgr/wakeup_fd_pipe.c",
  1279. "src/core/iomgr/wakeup_fd_posix.c",
  1280. "src/core/iomgr/workqueue_posix.c",
  1281. "src/core/iomgr/workqueue_windows.c",
  1282. "src/core/json/json.c",
  1283. "src/core/json/json_reader.c",
  1284. "src/core/json/json_string.c",
  1285. "src/core/json/json_writer.c",
  1286. "src/core/surface/alarm.c",
  1287. "src/core/surface/api_trace.c",
  1288. "src/core/surface/byte_buffer.c",
  1289. "src/core/surface/byte_buffer_reader.c",
  1290. "src/core/surface/call.c",
  1291. "src/core/surface/call_details.c",
  1292. "src/core/surface/call_log_batch.c",
  1293. "src/core/surface/channel.c",
  1294. "src/core/surface/channel_connectivity.c",
  1295. "src/core/surface/channel_create.c",
  1296. "src/core/surface/channel_ping.c",
  1297. "src/core/surface/completion_queue.c",
  1298. "src/core/surface/event_string.c",
  1299. "src/core/surface/init.c",
  1300. "src/core/surface/lame_client.c",
  1301. "src/core/surface/metadata_array.c",
  1302. "src/core/surface/server.c",
  1303. "src/core/surface/server_chttp2.c",
  1304. "src/core/surface/server_create.c",
  1305. "src/core/surface/validate_metadata.c",
  1306. "src/core/surface/version.c",
  1307. "src/core/transport/byte_stream.c",
  1308. "src/core/transport/chttp2/alpn.c",
  1309. "src/core/transport/chttp2/bin_encoder.c",
  1310. "src/core/transport/chttp2/frame_data.c",
  1311. "src/core/transport/chttp2/frame_goaway.c",
  1312. "src/core/transport/chttp2/frame_ping.c",
  1313. "src/core/transport/chttp2/frame_rst_stream.c",
  1314. "src/core/transport/chttp2/frame_settings.c",
  1315. "src/core/transport/chttp2/frame_window_update.c",
  1316. "src/core/transport/chttp2/hpack_encoder.c",
  1317. "src/core/transport/chttp2/hpack_parser.c",
  1318. "src/core/transport/chttp2/hpack_table.c",
  1319. "src/core/transport/chttp2/huffsyms.c",
  1320. "src/core/transport/chttp2/incoming_metadata.c",
  1321. "src/core/transport/chttp2/parsing.c",
  1322. "src/core/transport/chttp2/status_conversion.c",
  1323. "src/core/transport/chttp2/stream_lists.c",
  1324. "src/core/transport/chttp2/stream_map.c",
  1325. "src/core/transport/chttp2/timeout_encoding.c",
  1326. "src/core/transport/chttp2/varint.c",
  1327. "src/core/transport/chttp2/writing.c",
  1328. "src/core/transport/chttp2_transport.c",
  1329. "src/core/transport/connectivity_state.c",
  1330. "src/core/transport/metadata.c",
  1331. "src/core/transport/metadata_batch.c",
  1332. "src/core/transport/static_metadata.c",
  1333. "src/core/transport/transport.c",
  1334. "src/core/transport/transport_op_string.c",
  1335. "src/core/profiling/basic_timers.c",
  1336. "src/core/profiling/stap_timers.c",
  1337. "src/core/support/alloc.c",
  1338. "src/core/support/avl.c",
  1339. "src/core/support/cmdline.c",
  1340. "src/core/support/cpu_iphone.c",
  1341. "src/core/support/cpu_linux.c",
  1342. "src/core/support/cpu_posix.c",
  1343. "src/core/support/cpu_windows.c",
  1344. "src/core/support/env_linux.c",
  1345. "src/core/support/env_posix.c",
  1346. "src/core/support/env_win32.c",
  1347. "src/core/support/file.c",
  1348. "src/core/support/file_posix.c",
  1349. "src/core/support/file_win32.c",
  1350. "src/core/support/histogram.c",
  1351. "src/core/support/host_port.c",
  1352. "src/core/support/log.c",
  1353. "src/core/support/log_android.c",
  1354. "src/core/support/log_linux.c",
  1355. "src/core/support/log_posix.c",
  1356. "src/core/support/log_win32.c",
  1357. "src/core/support/murmur_hash.c",
  1358. "src/core/support/slice.c",
  1359. "src/core/support/slice_buffer.c",
  1360. "src/core/support/stack_lockfree.c",
  1361. "src/core/support/string.c",
  1362. "src/core/support/string_posix.c",
  1363. "src/core/support/string_win32.c",
  1364. "src/core/support/subprocess_posix.c",
  1365. "src/core/support/subprocess_windows.c",
  1366. "src/core/support/sync.c",
  1367. "src/core/support/sync_posix.c",
  1368. "src/core/support/sync_win32.c",
  1369. "src/core/support/thd.c",
  1370. "src/core/support/thd_posix.c",
  1371. "src/core/support/thd_win32.c",
  1372. "src/core/support/time.c",
  1373. "src/core/support/time_posix.c",
  1374. "src/core/support/time_precise.c",
  1375. "src/core/support/time_win32.c",
  1376. "src/core/support/tls_pthread.c",
  1377. "src/core/support/wrap_memcpy.c",
  1378. "src/core/census/context.c",
  1379. "src/core/census/initialize.c",
  1380. "src/core/census/operation.c",
  1381. "src/core/census/placeholders.c",
  1382. "src/core/census/tracing.c",
  1383. ],
  1384. hdrs = [
  1385. "include/grpc/grpc_security.h",
  1386. "include/grpc/byte_buffer.h",
  1387. "include/grpc/byte_buffer_reader.h",
  1388. "include/grpc/compression.h",
  1389. "include/grpc/grpc.h",
  1390. "include/grpc/status.h",
  1391. "include/grpc/support/alloc.h",
  1392. "include/grpc/support/atm.h",
  1393. "include/grpc/support/atm_gcc_atomic.h",
  1394. "include/grpc/support/atm_gcc_sync.h",
  1395. "include/grpc/support/atm_win32.h",
  1396. "include/grpc/support/avl.h",
  1397. "include/grpc/support/cmdline.h",
  1398. "include/grpc/support/cpu.h",
  1399. "include/grpc/support/histogram.h",
  1400. "include/grpc/support/host_port.h",
  1401. "include/grpc/support/log.h",
  1402. "include/grpc/support/log_win32.h",
  1403. "include/grpc/support/port_platform.h",
  1404. "include/grpc/support/slice.h",
  1405. "include/grpc/support/slice_buffer.h",
  1406. "include/grpc/support/string_util.h",
  1407. "include/grpc/support/subprocess.h",
  1408. "include/grpc/support/sync.h",
  1409. "include/grpc/support/sync_generic.h",
  1410. "include/grpc/support/sync_posix.h",
  1411. "include/grpc/support/sync_win32.h",
  1412. "include/grpc/support/thd.h",
  1413. "include/grpc/support/time.h",
  1414. "include/grpc/support/tls.h",
  1415. "include/grpc/support/tls_gcc.h",
  1416. "include/grpc/support/tls_msvc.h",
  1417. "include/grpc/support/tls_pthread.h",
  1418. "include/grpc/support/useful.h",
  1419. "include/grpc/impl/codegen/alloc.h",
  1420. "include/grpc/impl/codegen/atm.h",
  1421. "include/grpc/impl/codegen/atm_gcc_atomic.h",
  1422. "include/grpc/impl/codegen/atm_gcc_sync.h",
  1423. "include/grpc/impl/codegen/atm_win32.h",
  1424. "include/grpc/impl/codegen/byte_buffer.h",
  1425. "include/grpc/impl/codegen/compression_types.h",
  1426. "include/grpc/impl/codegen/connectivity_state.h",
  1427. "include/grpc/impl/codegen/grpc_types.h",
  1428. "include/grpc/impl/codegen/log.h",
  1429. "include/grpc/impl/codegen/port_platform.h",
  1430. "include/grpc/impl/codegen/propagation_bits.h",
  1431. "include/grpc/impl/codegen/slice.h",
  1432. "include/grpc/impl/codegen/slice_buffer.h",
  1433. "include/grpc/impl/codegen/status.h",
  1434. "include/grpc/impl/codegen/sync.h",
  1435. "include/grpc/impl/codegen/sync_generic.h",
  1436. "include/grpc/impl/codegen/sync_posix.h",
  1437. "include/grpc/impl/codegen/sync_win32.h",
  1438. "include/grpc/impl/codegen/time.h",
  1439. "include/grpc/census.h",
  1440. "src/core/security/auth_filters.h",
  1441. "src/core/security/base64.h",
  1442. "src/core/security/credentials.h",
  1443. "src/core/security/handshake.h",
  1444. "src/core/security/json_token.h",
  1445. "src/core/security/jwt_verifier.h",
  1446. "src/core/security/secure_endpoint.h",
  1447. "src/core/security/security_connector.h",
  1448. "src/core/security/security_context.h",
  1449. "src/core/tsi/fake_transport_security.h",
  1450. "src/core/tsi/ssl_transport_security.h",
  1451. "src/core/tsi/ssl_types.h",
  1452. "src/core/tsi/transport_security.h",
  1453. "src/core/tsi/transport_security_interface.h",
  1454. "src/core/census/grpc_filter.h",
  1455. "src/core/channel/channel_args.h",
  1456. "src/core/channel/channel_stack.h",
  1457. "src/core/channel/client_channel.h",
  1458. "src/core/channel/client_uchannel.h",
  1459. "src/core/channel/compress_filter.h",
  1460. "src/core/channel/connected_channel.h",
  1461. "src/core/channel/context.h",
  1462. "src/core/channel/http_client_filter.h",
  1463. "src/core/channel/http_server_filter.h",
  1464. "src/core/channel/subchannel_call_holder.h",
  1465. "src/core/client_config/client_config.h",
  1466. "src/core/client_config/connector.h",
  1467. "src/core/client_config/initial_connect_string.h",
  1468. "src/core/client_config/lb_policies/pick_first.h",
  1469. "src/core/client_config/lb_policies/round_robin.h",
  1470. "src/core/client_config/lb_policy.h",
  1471. "src/core/client_config/lb_policy_factory.h",
  1472. "src/core/client_config/lb_policy_registry.h",
  1473. "src/core/client_config/resolver.h",
  1474. "src/core/client_config/resolver_factory.h",
  1475. "src/core/client_config/resolver_registry.h",
  1476. "src/core/client_config/resolvers/dns_resolver.h",
  1477. "src/core/client_config/resolvers/sockaddr_resolver.h",
  1478. "src/core/client_config/subchannel.h",
  1479. "src/core/client_config/subchannel_factory.h",
  1480. "src/core/client_config/uri_parser.h",
  1481. "src/core/compression/algorithm_metadata.h",
  1482. "src/core/compression/message_compress.h",
  1483. "src/core/debug/trace.h",
  1484. "src/core/httpcli/format_request.h",
  1485. "src/core/httpcli/httpcli.h",
  1486. "src/core/httpcli/parser.h",
  1487. "src/core/iomgr/closure.h",
  1488. "src/core/iomgr/endpoint.h",
  1489. "src/core/iomgr/endpoint_pair.h",
  1490. "src/core/iomgr/exec_ctx.h",
  1491. "src/core/iomgr/executor.h",
  1492. "src/core/iomgr/fd_posix.h",
  1493. "src/core/iomgr/iocp_windows.h",
  1494. "src/core/iomgr/iomgr.h",
  1495. "src/core/iomgr/iomgr_internal.h",
  1496. "src/core/iomgr/iomgr_posix.h",
  1497. "src/core/iomgr/pollset.h",
  1498. "src/core/iomgr/pollset_posix.h",
  1499. "src/core/iomgr/pollset_set.h",
  1500. "src/core/iomgr/pollset_set_posix.h",
  1501. "src/core/iomgr/pollset_set_windows.h",
  1502. "src/core/iomgr/pollset_windows.h",
  1503. "src/core/iomgr/resolve_address.h",
  1504. "src/core/iomgr/sockaddr.h",
  1505. "src/core/iomgr/sockaddr_posix.h",
  1506. "src/core/iomgr/sockaddr_utils.h",
  1507. "src/core/iomgr/sockaddr_win32.h",
  1508. "src/core/iomgr/socket_utils_posix.h",
  1509. "src/core/iomgr/socket_windows.h",
  1510. "src/core/iomgr/tcp_client.h",
  1511. "src/core/iomgr/tcp_posix.h",
  1512. "src/core/iomgr/tcp_server.h",
  1513. "src/core/iomgr/tcp_windows.h",
  1514. "src/core/iomgr/time_averaged_stats.h",
  1515. "src/core/iomgr/timer.h",
  1516. "src/core/iomgr/timer_heap.h",
  1517. "src/core/iomgr/timer_internal.h",
  1518. "src/core/iomgr/udp_server.h",
  1519. "src/core/iomgr/wakeup_fd_pipe.h",
  1520. "src/core/iomgr/wakeup_fd_posix.h",
  1521. "src/core/iomgr/workqueue.h",
  1522. "src/core/iomgr/workqueue_posix.h",
  1523. "src/core/iomgr/workqueue_windows.h",
  1524. "src/core/json/json.h",
  1525. "src/core/json/json_common.h",
  1526. "src/core/json/json_reader.h",
  1527. "src/core/json/json_writer.h",
  1528. "src/core/statistics/census_interface.h",
  1529. "src/core/statistics/census_rpc_stats.h",
  1530. "src/core/surface/api_trace.h",
  1531. "src/core/surface/call.h",
  1532. "src/core/surface/call_test_only.h",
  1533. "src/core/surface/channel.h",
  1534. "src/core/surface/completion_queue.h",
  1535. "src/core/surface/event_string.h",
  1536. "src/core/surface/init.h",
  1537. "src/core/surface/server.h",
  1538. "src/core/surface/surface_trace.h",
  1539. "src/core/transport/byte_stream.h",
  1540. "src/core/transport/chttp2/alpn.h",
  1541. "src/core/transport/chttp2/bin_encoder.h",
  1542. "src/core/transport/chttp2/frame.h",
  1543. "src/core/transport/chttp2/frame_data.h",
  1544. "src/core/transport/chttp2/frame_goaway.h",
  1545. "src/core/transport/chttp2/frame_ping.h",
  1546. "src/core/transport/chttp2/frame_rst_stream.h",
  1547. "src/core/transport/chttp2/frame_settings.h",
  1548. "src/core/transport/chttp2/frame_window_update.h",
  1549. "src/core/transport/chttp2/hpack_encoder.h",
  1550. "src/core/transport/chttp2/hpack_parser.h",
  1551. "src/core/transport/chttp2/hpack_table.h",
  1552. "src/core/transport/chttp2/http2_errors.h",
  1553. "src/core/transport/chttp2/huffsyms.h",
  1554. "src/core/transport/chttp2/incoming_metadata.h",
  1555. "src/core/transport/chttp2/internal.h",
  1556. "src/core/transport/chttp2/status_conversion.h",
  1557. "src/core/transport/chttp2/stream_map.h",
  1558. "src/core/transport/chttp2/timeout_encoding.h",
  1559. "src/core/transport/chttp2/varint.h",
  1560. "src/core/transport/chttp2_transport.h",
  1561. "src/core/transport/connectivity_state.h",
  1562. "src/core/transport/metadata.h",
  1563. "src/core/transport/metadata_batch.h",
  1564. "src/core/transport/static_metadata.h",
  1565. "src/core/transport/transport.h",
  1566. "src/core/transport/transport_impl.h",
  1567. "src/core/profiling/timers.h",
  1568. "src/core/support/block_annotate.h",
  1569. "src/core/support/env.h",
  1570. "src/core/support/file.h",
  1571. "src/core/support/murmur_hash.h",
  1572. "src/core/support/stack_lockfree.h",
  1573. "src/core/support/string.h",
  1574. "src/core/support/string_win32.h",
  1575. "src/core/support/thd_internal.h",
  1576. "src/core/support/time_precise.h",
  1577. "src/core/census/aggregation.h",
  1578. "src/core/census/rpc_metric_id.h",
  1579. ],
  1580. includes = [
  1581. "include",
  1582. ".",
  1583. ],
  1584. deps = [
  1585. "//external:libssl_objc",
  1586. ],
  1587. sdk_dylibs = ["libz"],
  1588. )
  1589. cc_binary(
  1590. name = "grpc_cpp_plugin",
  1591. srcs = [
  1592. "src/compiler/cpp_plugin.cc",
  1593. ],
  1594. deps = [
  1595. "//external:protobuf_compiler",
  1596. ":grpc_plugin_support",
  1597. ],
  1598. )
  1599. cc_binary(
  1600. name = "grpc_csharp_plugin",
  1601. srcs = [
  1602. "src/compiler/csharp_plugin.cc",
  1603. ],
  1604. deps = [
  1605. "//external:protobuf_compiler",
  1606. ":grpc_plugin_support",
  1607. ],
  1608. )
  1609. cc_binary(
  1610. name = "grpc_objective_c_plugin",
  1611. srcs = [
  1612. "src/compiler/objective_c_plugin.cc",
  1613. ],
  1614. deps = [
  1615. "//external:protobuf_compiler",
  1616. ":grpc_plugin_support",
  1617. ],
  1618. )
  1619. cc_binary(
  1620. name = "grpc_python_plugin",
  1621. srcs = [
  1622. "src/compiler/python_plugin.cc",
  1623. ],
  1624. deps = [
  1625. "//external:protobuf_compiler",
  1626. ":grpc_plugin_support",
  1627. ],
  1628. )
  1629. cc_binary(
  1630. name = "grpc_ruby_plugin",
  1631. srcs = [
  1632. "src/compiler/ruby_plugin.cc",
  1633. ],
  1634. deps = [
  1635. "//external:protobuf_compiler",
  1636. ":grpc_plugin_support",
  1637. ],
  1638. )
  1639. objc_path = "src/objective-c"
  1640. rx_library_path = objc_path + "/RxLibrary"
  1641. objc_library(
  1642. name = "rx_library",
  1643. hdrs = glob([
  1644. rx_library_path + "/*.h",
  1645. rx_library_path + "/transformations/*.h",
  1646. ]),
  1647. srcs = glob([
  1648. rx_library_path + "/*.m",
  1649. rx_library_path + "/transformations/*.m",
  1650. ]),
  1651. includes = [objc_path],
  1652. deps = [
  1653. ":rx_library_private",
  1654. ],
  1655. )
  1656. objc_library(
  1657. name = "rx_library_private",
  1658. hdrs = glob([rx_library_path + "/private/*.h"]),
  1659. srcs = glob([rx_library_path + "/private/*.m"]),
  1660. visibility = ["//visibility:private"],
  1661. )
  1662. objc_client_path = objc_path + "/GRPCClient"
  1663. objc_library(
  1664. name = "grpc_client",
  1665. hdrs = glob([
  1666. objc_client_path + "/*.h",
  1667. objc_client_path + "/private/*.h",
  1668. ]),
  1669. srcs = glob([
  1670. objc_client_path + "/*.m",
  1671. objc_client_path + "/private/*.m",
  1672. ]),
  1673. includes = [objc_path],
  1674. bundles = [":gRPCCertificates"],
  1675. deps = [
  1676. ":grpc_objc",
  1677. ":rx_library",
  1678. ],
  1679. )
  1680. objc_bundle_library(
  1681. # The choice of name is signicant here, since it determines the bundle name.
  1682. name = "gRPCCertificates",
  1683. resources = ["etc/roots.pem"],
  1684. )
  1685. proto_objc_rpc_path = objc_path + "/ProtoRPC"
  1686. objc_library(
  1687. name = "proto_objc_rpc",
  1688. hdrs = glob([
  1689. proto_objc_rpc_path + "/*.h",
  1690. ]),
  1691. srcs = glob([
  1692. proto_objc_rpc_path + "/*.m",
  1693. ]),
  1694. includes = [objc_path],
  1695. deps = [
  1696. ":grpc_client",
  1697. ":rx_library",
  1698. "//external:protobuf_objc",
  1699. ],
  1700. )