-
Notifications
You must be signed in to change notification settings - Fork 398
/
.bazelrc
55 lines (41 loc) · 2.02 KB
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
###############################
# Filesystem interactions #
###############################
# Disable watchfs as it causes tests to be flaky on Windows
# https://github.com/angular/angular/issues/29541
build --nowatchfs
# Turn off legacy external runfiles
build --nolegacy_external_runfiles
# Turn on --incompatible_strict_action_env which was on by default
# in Bazel 0.21.0 but turned off again in 0.22.0. Follow
# https://github.com/bazelbuild/bazel/issues/7026 for more details.
# This flag is needed to so that the bazel cache is not invalidated
# when running bazel via `yarn bazel`.
# See https://github.com/angular/angular/issues/27514.
build --incompatible_strict_action_env
# Enable remote caching of build/action tree
build --experimental_remote_merkle_tree_cache
# Ensure that tags applied in BUILDs propagate to actions
common --experimental_allow_tags_propagation
# Don't check if output files have been modified
build --noexperimental_check_output_files
# Ensure sandboxing is enabled even for exclusive tests
test --incompatible_exclusive_test_sandboxed
# Fixes use of npm paths with spaces such as some within the puppeteer module
build --experimental_inprocess_symlink_creation
# Warn if test timeout is much longer than execution time
test --test_verbose_timeout_warnings
# Prevent large amounbt of `dependency checking of directories is unsound` warnings
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
# Disable bazel modules for now
common --noenable_bzlmod
####################################################
# User bazel configuration
# NOTE: This needs to be the *last* entry in the config.
####################################################
# Load any settings which are specific to the current user. Needs to be *last* statement
# in this config, as the user configuration should be able to overwrite flags from this file.
try-import .bazelrc.user
# Enable runfiles even on Windows.
# Architect resolves output files from data files, and this isn't possible without runfile support.
build --enable_runfiles