Skip to content

Commit

Permalink
tools: not warning about deprecated declarations (envoyproxy#19468)
Browse files Browse the repository at this point in the history
Also removing a couple of unnecessary validate.proto files.
This removes several thousands of lines worth of warnings from our build logs.

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
  • Loading branch information
alyssawilk authored Jan 13, 2022
1 parent d7870d4 commit 4f58f01
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ common --experimental_allow_tags_propagation
# Enable position independent code (this is the default on macOS and Windows)
# (Workaround for https://github.com/bazelbuild/rules_foreign_cc/issues/421)
build:linux --copt=-fPIC
build:linux --copt=-Wno-deprecated-declarations
build:linux --cxxopt=-std=c++17
build:linux --conlyopt=-fexceptions
build:linux --fission=dbg,opt
Expand Down
2 changes: 0 additions & 2 deletions test/integration/filters/add_body_filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package test.integration.filters;

import "validate/validate.proto";

message AddBodyFilterConfig {
enum FilterCallback {
DEFAULT = 0;
Expand Down
2 changes: 0 additions & 2 deletions test/integration/filters/crash_filter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package test.integration.filters;

import "validate/validate.proto";

message CrashFilterConfig {
bool crash_in_encode_headers = 1;
bool crash_in_encode_data = 2;
Expand Down
2 changes: 0 additions & 2 deletions test/integration/filters/set_is_terminal_filter_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package test.integration.filters;

import "validate/validate.proto";

message SetIsTerminalFilterConfig {
bool is_terminal_filter = 1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package test.integration.filters;

import "validate/validate.proto";

message StopAndContinueConfig {
// Whether the filter should add tracked object itself to the dispatcher when
// created.
Expand Down

0 comments on commit 4f58f01

Please sign in to comment.