# the Wno-stringop-overflow and -Wno-array-parameter flags are to handle warnings in the boringSSL library which is a gRPC dependency.
build --cxxopt "-std=c++17"
build:linux --copt="-Wno-stringop-overflow" --copt="-Wno-array-parameter" --copt="-Wno-unused-function" --copt="-Wno-deprecated-declarations"
build:mac --copt=-DABSL_FORCE_THREAD_IDENTITY_MODE=0
# We have to instrument_test_targets, but then ignore test directories for C++ templates to work.
coverage --combined_report=lcov --coverage_report_generator="@bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:Main" --instrument_test_targets # --instrumentation_filter="-/*/test[/:]"

build:debug -c dbg
build:debug --javacopt="-g"
build:debug --copt="-g"
build:debug --strip="never"
