xref: /aosp_15_r20/external/cronet/third_party/re2/src/.bazelrc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2022 The RE2 Authors.  All Rights Reserved.
2# Use of this source code is governed by a BSD-style
3# license that can be found in the LICENSE file.
4
5# Enable layering check features. Useful on Clang only.
6build --features=layering_check
7# Enable parse headers features. Enforcing that headers are self-contained.
8build --features=parse_headers
9
10# Abseil requires C++14 at minimum.
11build --enable_platform_specific_config
12build:linux --cxxopt=-std=c++14
13build:macos --cxxopt=-std=c++14
14build:windows --cxxopt=/std:c++14
15
16# Print test logs for failed tests.
17test --test_output=errors
18
19# https://bazel.build/configure/best-practices#bazelrc-file
20try-import %workspace%/user.bazelrc
21