• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'#1': This file describes the list of targets and dependencies.
2'#2': It is used among other things to generate all of our project files.
3'#3': Please refer to the templates directory for more information.
4settings:
5  '#01': The public version number of the library.
6  '#02': ===
7  '#03': Please update the 'g_stands_for' field periodically with a new g word
8  '#04': not listed in doc/g_stands_for.md - and update that document to list the
9  '#05': new word. When doing so, please also update BUILD.
10  '#06': ===
11  '#07': Master always has a "-dev" suffix
12  '#08': Use "-preN" suffixes to identify pre-release versions
13  '#09': Per-language overrides are possible with (eg) ruby_version tag here
14  '#10': See the expand_version.py for all the quirks here
15  core_version: 11.0.0
16  csharp_major_version: 2
17  g_stands_for: galore
18  version: 1.31.0
19targets:
20- name: check_epollexclusive
21  build: tool
22  language: c
23  src:
24  - test/build/check_epollexclusive.c
25  deps:
26  - grpc
27  - gpr
28- name: gen_hpack_tables
29  build: tool
30  language: c++
31  src:
32  - tools/codegen/core/gen_hpack_tables.cc
33  deps:
34  - grpc
35  - gpr
36  uses_polling: false
37- name: gen_legal_metadata_characters
38  build: tool
39  language: c++
40  src:
41  - tools/codegen/core/gen_legal_metadata_characters.cc
42  deps: []
43- name: gen_percent_encoding_tables
44  build: tool
45  language: c++
46  src:
47  - tools/codegen/core/gen_percent_encoding_tables.cc
48  deps: []
49  uses_polling: false
50vspackages:
51- linkage: static
52  name: grpc.dependencies.zlib
53  props: false
54  redist: true
55  version: 1.2.8.10
56- linkage: static
57  name: grpc.dependencies.openssl
58  props: true
59  redist: true
60  version: 1.0.204.1
61- name: gflags
62  props: false
63  redist: false
64  version: 2.1.2.1
65- name: gtest
66  props: false
67  redist: false
68  version: 1.7.0.1
69configs:
70  asan:
71    CC: clang
72    CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer
73      -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
74    CXX: clang++
75    LD: clang++
76    LDFLAGS: -fsanitize=address
77    LDXX: clang++
78    compile_the_world: true
79    test_environ:
80      ASAN_OPTIONS: detect_leaks=1:color=always
81      LSAN_OPTIONS: suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
82  asan-noleaks:
83    CC: clang
84    CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer
85      -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
86    CXX: clang++
87    LD: clang++
88    LDFLAGS: fsanitize=address
89    LDXX: clang++
90    compile_the_world: true
91    test_environ:
92      ASAN_OPTIONS: detect_leaks=0:color=always
93  asan-trace-cmp:
94    CC: clang
95    CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize-coverage=trace-cmp
96      -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument
97      -DGPR_NO_DIRECT_SYSCALLS
98    CXX: clang++
99    LD: clang++
100    LDFLAGS: -fsanitize=address
101    LDXX: clang++
102    compile_the_world: true
103    test_environ:
104      ASAN_OPTIONS: detect_leaks=1:color=always
105      LSAN_OPTIONS: suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
106  basicprof:
107    CPPFLAGS: -O2 -DGRPC_BASIC_PROFILER -DGRPC_TIMERS_RDTSC
108    DEFINES: NDEBUG
109  c++-compat:
110    CFLAGS: -Wc++-compat
111    CPPFLAGS: -O0
112    DEFINES: _DEBUG DEBUG
113  counters:
114    CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS
115    DEFINES: NDEBUG
116  counters_with_memory_counter:
117    CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS -DGPR_WRAP_MEMORY_COUNTER
118    DEFINES: NDEBUG
119    LDFLAGS: -Wl,--wrap=malloc -Wl,--wrap=calloc -Wl,--wrap=realloc -Wl,--wrap=free
120  dbg:
121    CPPFLAGS: -O0
122    DEFINES: _DEBUG DEBUG
123  gcov:
124    CC: gcc
125    CPPFLAGS: -O0 -fprofile-arcs -ftest-coverage -Wno-return-type
126    CXX: g++
127    DEFINES: _DEBUG DEBUG GPR_GCOV
128    LD: gcc
129    LDFLAGS: -fprofile-arcs -ftest-coverage -rdynamic -lstdc++
130    LDXX: g++
131  helgrind:
132    CPPFLAGS: -O0
133    DEFINES: _DEBUG DEBUG
134    LDFLAGS: -rdynamic
135    valgrind: --tool=helgrind
136  lto:
137    CPPFLAGS: -O2
138    DEFINES: NDEBUG
139  memcheck:
140    CPPFLAGS: -O0
141    DEFINES: _DEBUG DEBUG
142    LDFLAGS: -rdynamic
143    valgrind: --tool=memcheck --leak-check=full
144  msan:
145    CC: clang
146    CPPFLAGS: -O0 -stdlib=libc++ -fsanitize-coverage=edge,trace-pc-guard -fsanitize=memory
147      -fsanitize-memory-track-origins -fsanitize-memory-use-after-dtor -fno-omit-frame-pointer
148      -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument
149      -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS
150    CXX: clang++
151    DEFINES: NDEBUG
152    LD: clang++
153    LDFLAGS: -stdlib=libc++ -fsanitize=memory -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1
154      -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,)
155    LDXX: clang++
156    compile_the_world: true
157    test_environ:
158      MSAN_OPTIONS: poison_in_dtor=1
159  mutrace:
160    CPPFLAGS: -O3 -fno-omit-frame-pointer
161    DEFINES: NDEBUG
162    LDFLAGS: -rdynamic
163  noexcept:
164    CPPFLAGS: -O2 -Wframe-larger-than=16384
165    CXXFLAGS: -fno-exceptions
166    DEFINES: NDEBUG
167  opt:
168    CPPFLAGS: -O2 -Wframe-larger-than=16384
169    DEFINES: NDEBUG
170  stapprof:
171    CPPFLAGS: -O2 -DGRPC_STAP_PROFILER
172    DEFINES: NDEBUG
173  tsan:
174    CC: clang
175    CPPFLAGS: -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument
176      -DGPR_NO_DIRECT_SYSCALLS
177    CXX: clang++
178    DEFINES: GRPC_TSAN
179    LD: clang++
180    LDFLAGS: -fsanitize=thread
181    LDXX: clang++
182    compile_the_world: true
183    test_environ:
184      TSAN_OPTIONS: suppressions=test/core/util/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1
185  ubsan:
186    CC: clang
187    CPPFLAGS: -O0 -stdlib=libc++ -fsanitize-coverage=edge,trace-pc-guard -fsanitize=undefined
188      -fno-omit-frame-pointer -Wno-unused-command-line-argument -Wvarargs
189    CXX: clang++
190    DEFINES: NDEBUG GRPC_UBSAN
191    LD: clang++
192    LDFLAGS: -stdlib=libc++ -fsanitize=undefined,unsigned-integer-overflow
193    LDXX: clang++
194    compile_the_world: true
195    test_environ:
196      UBSAN_OPTIONS: halt_on_error=1:print_stacktrace=1:suppressions=test/core/util/ubsan_suppressions.txt
197defaults:
198  abseil:
199    CPPFLAGS: -g -maes -msse4 -Ithird_party/abseil-cpp
200  ares:
201    CFLAGS: -g
202    CPPFLAGS: -Ithird_party/cares -Ithird_party/cares/cares -fvisibility=hidden -D_GNU_SOURCE
203      $(if $(subst Darwin,,$(SYSTEM)),,-Ithird_party/cares/config_darwin) $(if $(subst
204      FreeBSD,,$(SYSTEM)),,-Ithird_party/cares/config_freebsd) $(if $(subst Linux,,$(SYSTEM)),,-Ithird_party/cares/config_linux)
205      $(if $(subst OpenBSD,,$(SYSTEM)),,-Ithird_party/cares/config_openbsd) -DWIN32_LEAN_AND_MEAN
206      -D_HAS_EXCEPTIONS=0 -DNOMINMAX $(if $(subst MINGW32,,$(SYSTEM)),-DHAVE_CONFIG_H,)
207  benchmark:
208    CPPFLAGS: -Ithird_party/benchmark/include -DHAVE_POSIX_REGEX
209  boringssl:
210    CFLAGS: -g
211    CPPFLAGS: -Ithird_party/boringssl-with-bazel/src/include -fvisibility=hidden -DOPENSSL_NO_ASM
212      -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX
213    CXXFLAGS: -fno-exceptions
214  global:
215    CFLAGS: -g
216    COREFLAGS: -fno-exceptions
217    CPPFLAGS: -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2
218      -Ithird_party/upb -Isrc/core/ext/upb-generated
219    LDFLAGS: -g
220  zlib:
221    CFLAGS: -fvisibility=hidden
222php_config_m4:
223  deps:
224  - grpc
225  - address_sorting
226  - boringssl
227  - re2
228  - z
229  headers:
230  - src/php/ext/grpc/byte_buffer.h
231  - src/php/ext/grpc/call.h
232  - src/php/ext/grpc/call_credentials.h
233  - src/php/ext/grpc/channel.h
234  - src/php/ext/grpc/channel_credentials.h
235  - src/php/ext/grpc/completion_queue.h
236  - src/php/ext/grpc/php7_wrapper.h
237  - src/php/ext/grpc/php_grpc.h
238  - src/php/ext/grpc/server.h
239  - src/php/ext/grpc/server_credentials.h
240  - src/php/ext/grpc/timeval.h
241  - src/php/ext/grpc/version.h
242  src:
243  - src/php/ext/grpc/byte_buffer.c
244  - src/php/ext/grpc/call.c
245  - src/php/ext/grpc/call_credentials.c
246  - src/php/ext/grpc/channel.c
247  - src/php/ext/grpc/channel_credentials.c
248  - src/php/ext/grpc/completion_queue.c
249  - src/php/ext/grpc/php_grpc.c
250  - src/php/ext/grpc/server.c
251  - src/php/ext/grpc/server_credentials.c
252  - src/php/ext/grpc/timeval.c
253python_dependencies:
254  deps:
255  - grpc
256  - address_sorting
257  - ares
258  - boringssl
259  - re2
260  - z
261ruby_gem:
262  deps:
263  - grpc
264  - address_sorting
265  - ares
266  - boringssl
267  - re2
268  - z
269