|
18 | 18 | # Use host-OS-specific config lines from bazelrc files. |
19 | 19 | build --enable_platform_specific_config=true |
20 | 20 |
|
| 21 | +build --features=external_include_paths |
| 22 | + |
| 23 | +build --per_file_copt=grpc+//@-Wno-private-header |
| 24 | +build --copt=-Wno-private-header |
| 25 | +build --cxxopt=-Wno-private-header |
| 26 | +build --host_copt=-Wno-private-header |
| 27 | +build --host_cxxopt=-Wno-private-header |
| 28 | + |
21 | 29 | # The project requires C++ >= 17. |
22 | 30 | build:linux --cxxopt=-std=c++17 |
23 | 31 | build:macos --cxxopt=-std=c++17 |
@@ -72,6 +80,8 @@ build:sanitizer --strip=never |
72 | 80 | build:sanitizer --copt=-Og |
73 | 81 | build:sanitizer --copt=-g |
74 | 82 | build:sanitizer --copt=-fno-omit-frame-pointer |
| 83 | +build:sanitizer --features=external_include_paths |
| 84 | + |
75 | 85 |
|
76 | 86 | # --config asan: Address Sanitizer |
77 | 87 | build:asan --config=sanitizer |
@@ -104,6 +114,8 @@ build:ubsan --copt=-DCURL_STRICTER |
104 | 114 | build:ubsan --linkopt=-fsanitize=undefined |
105 | 115 | build:ubsan --linkopt=-fsanitize-link-c++-runtime |
106 | 116 | build:ubsan --action_env=UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1 |
| 117 | +build:ubsan --features=external_include_paths |
| 118 | + |
107 | 119 |
|
108 | 120 | # --config xsan: Runs misc. sanitizers that aren't covered elsewhere. |
109 | 121 | build:xsan --config=sanitizer |
|
0 commit comments