• 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: 16.0.0
16  csharp_major_version: 2
17  g_stands_for: guadalupe_river_park_conservancy
18  protobuf_version: 3.15.8
19  version: 1.38.0
20targets:
21- name: check_epollexclusive
22  build: tool
23  language: c
24  src:
25  - test/build/check_epollexclusive.c
26  deps:
27  - grpc
28  - gpr
29- name: gen_hpack_tables
30  build: tool
31  language: c++
32  src:
33  - tools/codegen/core/gen_hpack_tables.cc
34  deps:
35  - grpc
36  - gpr
37  uses_polling: false
38- name: gen_legal_metadata_characters
39  build: tool
40  language: c++
41  src:
42  - tools/codegen/core/gen_legal_metadata_characters.cc
43  deps: []
44- name: gen_percent_encoding_tables
45  build: tool
46  language: c++
47  src:
48  - tools/codegen/core/gen_percent_encoding_tables.cc
49  deps: []
50  uses_polling: false
51configs:
52  asan:
53    CC: clang
54    CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer
55      -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
56    CXX: clang++
57    LD: clang++
58    LDFLAGS: -fsanitize=address
59    LDXX: clang++
60    compile_the_world: true
61    test_environ:
62      ASAN_OPTIONS: detect_leaks=1:color=always
63      LSAN_OPTIONS: suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
64  asan-noleaks:
65    CC: clang
66    CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize=address -fno-omit-frame-pointer
67      -Wno-unused-command-line-argument -DGPR_NO_DIRECT_SYSCALLS
68    CXX: clang++
69    LD: clang++
70    LDFLAGS: fsanitize=address
71    LDXX: clang++
72    compile_the_world: true
73    test_environ:
74      ASAN_OPTIONS: detect_leaks=0:color=always
75  asan-trace-cmp:
76    CC: clang
77    CPPFLAGS: -O0 -fsanitize-coverage=edge,trace-pc-guard -fsanitize-coverage=trace-cmp
78      -fsanitize=address -fno-omit-frame-pointer -Wno-unused-command-line-argument
79      -DGPR_NO_DIRECT_SYSCALLS
80    CXX: clang++
81    LD: clang++
82    LDFLAGS: -fsanitize=address
83    LDXX: clang++
84    compile_the_world: true
85    test_environ:
86      ASAN_OPTIONS: detect_leaks=1:color=always
87      LSAN_OPTIONS: suppressions=test/core/util/lsan_suppressions.txt:report_objects=1
88  basicprof:
89    CPPFLAGS: -O2 -DGRPC_BASIC_PROFILER -DGRPC_TIMERS_RDTSC
90    DEFINES: NDEBUG
91  c++-compat:
92    CFLAGS: -Wc++-compat
93    CPPFLAGS: -O0
94    DEFINES: _DEBUG DEBUG
95  counters:
96    CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS
97    DEFINES: NDEBUG
98  counters_with_memory_counter:
99    CPPFLAGS: -O2 -DGPR_LOW_LEVEL_COUNTERS -DGPR_WRAP_MEMORY_COUNTER
100    DEFINES: NDEBUG
101    LDFLAGS: -Wl,--wrap=malloc -Wl,--wrap=calloc -Wl,--wrap=realloc -Wl,--wrap=free
102  dbg:
103    CPPFLAGS: -O0
104    DEFINES: _DEBUG DEBUG
105  gcov:
106    CC: gcc
107    CPPFLAGS: -O0 -fprofile-arcs -ftest-coverage -Wno-return-type
108    CXX: g++
109    DEFINES: _DEBUG DEBUG GPR_GCOV
110    LD: gcc
111    LDFLAGS: -fprofile-arcs -ftest-coverage -rdynamic -lstdc++
112    LDXX: g++
113  helgrind:
114    CPPFLAGS: -O0
115    DEFINES: _DEBUG DEBUG
116    LDFLAGS: -rdynamic
117    valgrind: --tool=helgrind
118  lto:
119    CPPFLAGS: -O2
120    DEFINES: NDEBUG
121  memcheck:
122    CPPFLAGS: -O0
123    DEFINES: _DEBUG DEBUG
124    LDFLAGS: -rdynamic
125    valgrind: --tool=memcheck --leak-check=full
126  msan:
127    CC: clang
128    CPPFLAGS: -O0 -stdlib=libc++ -fsanitize-coverage=edge,trace-pc-guard -fsanitize=memory
129      -fsanitize-memory-track-origins -fsanitize-memory-use-after-dtor -fno-omit-frame-pointer
130      -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -Wno-unused-command-line-argument
131      -fPIE -pie -DGPR_NO_DIRECT_SYSCALLS
132    CXX: clang++
133    DEFINES: NDEBUG
134    LD: clang++
135    LDFLAGS: -stdlib=libc++ -fsanitize=memory -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=1
136      -fPIE -pie $(if $(JENKINS_BUILD),-Wl$(comma)-Ttext-segment=0x7e0000000000,)
137    LDXX: clang++
138    compile_the_world: true
139    test_environ:
140      MSAN_OPTIONS: poison_in_dtor=1
141  mutrace:
142    CPPFLAGS: -O3 -fno-omit-frame-pointer
143    DEFINES: NDEBUG
144    LDFLAGS: -rdynamic
145  noexcept:
146    CPPFLAGS: -O2 -Wframe-larger-than=16384
147    CXXFLAGS: -fno-exceptions
148    DEFINES: NDEBUG
149  opt:
150    CPPFLAGS: -O2 -Wframe-larger-than=16384
151    DEFINES: NDEBUG
152  stapprof:
153    CPPFLAGS: -O2 -DGRPC_STAP_PROFILER
154    DEFINES: NDEBUG
155  tsan:
156    CC: clang
157    CPPFLAGS: -O0 -fsanitize=thread -fno-omit-frame-pointer -Wno-unused-command-line-argument
158      -DGPR_NO_DIRECT_SYSCALLS
159    CXX: clang++
160    DEFINES: GRPC_TSAN
161    LD: clang++
162    LDFLAGS: -fsanitize=thread
163    LDXX: clang++
164    compile_the_world: true
165    test_environ:
166      TSAN_OPTIONS: suppressions=test/core/util/tsan_suppressions.txt:halt_on_error=1:second_deadlock_stack=1
167  ubsan:
168    CC: clang
169    CPPFLAGS: -O0 -stdlib=libc++ -fsanitize-coverage=edge,trace-pc-guard -fsanitize=undefined
170      -fno-omit-frame-pointer -Wno-unused-command-line-argument -Wvarargs
171    CXX: clang++
172    DEFINES: NDEBUG GRPC_UBSAN
173    LD: clang++
174    LDFLAGS: -stdlib=libc++ -fsanitize=undefined,unsigned-integer-overflow
175    LDXX: clang++
176    compile_the_world: true
177    test_environ:
178      UBSAN_OPTIONS: halt_on_error=1:print_stacktrace=1:suppressions=test/core/util/ubsan_suppressions.txt
179defaults:
180  abseil:
181    CPPFLAGS: -g $(ABSL_RANDOM_HWAES_FLAGS) -Ithird_party/abseil-cpp
182  ares:
183    CFLAGS: -g
184    CPPFLAGS: -Ithird_party/cares -Ithird_party/cares/cares -fvisibility=hidden -D_GNU_SOURCE
185      $(if $(subst Darwin,,$(SYSTEM)),,-Ithird_party/cares/config_darwin) $(if $(subst
186      FreeBSD,,$(SYSTEM)),,-Ithird_party/cares/config_freebsd) $(if $(subst Linux,,$(SYSTEM)),,-Ithird_party/cares/config_linux)
187      $(if $(subst OpenBSD,,$(SYSTEM)),,-Ithird_party/cares/config_openbsd) -DWIN32_LEAN_AND_MEAN
188      -D_HAS_EXCEPTIONS=0 -DNOMINMAX $(if $(subst MINGW32,,$(SYSTEM)),-DHAVE_CONFIG_H,)
189  benchmark:
190    CPPFLAGS: -Ithird_party/benchmark/include -DHAVE_POSIX_REGEX
191  boringssl:
192    CFLAGS: -g
193    CPPFLAGS: -Ithird_party/boringssl-with-bazel/src/include -fvisibility=hidden -DOPENSSL_NO_ASM
194      -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN -D_HAS_EXCEPTIONS=0 -DNOMINMAX
195    CXXFLAGS: -fno-exceptions
196  global:
197    CFLAGS: -g
198    COREFLAGS: -fno-exceptions
199    CPPFLAGS: -g -Wall -Wextra -DOSATOMIC_USE_INLINED=1 -Ithird_party/abseil-cpp -Ithird_party/re2
200      -Ithird_party/upb -Isrc/core/ext/upb-generated -Isrc/core/ext/upbdefs-generated
201      -Ithird_party/xxhash
202    LDFLAGS: -g
203  zlib:
204    CFLAGS: -fvisibility=hidden
205    CPPFLAGS: -DHAVE_UNISTD_H
206php_config_m4:
207  deps:
208  - grpc
209  - address_sorting
210  - boringssl
211  - re2
212  - z
213  headers:
214  - src/php/ext/grpc/byte_buffer.h
215  - src/php/ext/grpc/call.h
216  - src/php/ext/grpc/call_credentials.h
217  - src/php/ext/grpc/channel.h
218  - src/php/ext/grpc/channel_credentials.h
219  - src/php/ext/grpc/completion_queue.h
220  - src/php/ext/grpc/php7_wrapper.h
221  - src/php/ext/grpc/php_grpc.h
222  - src/php/ext/grpc/server.h
223  - src/php/ext/grpc/server_credentials.h
224  - src/php/ext/grpc/timeval.h
225  - src/php/ext/grpc/version.h
226  src:
227  - src/php/ext/grpc/byte_buffer.c
228  - src/php/ext/grpc/call.c
229  - src/php/ext/grpc/call_credentials.c
230  - src/php/ext/grpc/channel.c
231  - src/php/ext/grpc/channel_credentials.c
232  - src/php/ext/grpc/completion_queue.c
233  - src/php/ext/grpc/php_grpc.c
234  - src/php/ext/grpc/server.c
235  - src/php/ext/grpc/server_credentials.c
236  - src/php/ext/grpc/timeval.c
237python_dependencies:
238  deps:
239  - grpc
240  - address_sorting
241  - ares
242  - boringssl
243  - re2
244  - z
245ruby_gem:
246  deps:
247  - grpc
248  - address_sorting
249  - ares
250  - boringssl
251  - re2
252  - z
253