xref: /aosp_15_r20/external/bazelbuild-rules_rust/examples/android/.bazelrc (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan# Required on windows
2*d4726bddSHONG Yifancommon --enable_platform_specific_config
3*d4726bddSHONG Yifanstartup --windows_enable_symlinks
4*d4726bddSHONG Yifanbuild:windows --enable_runfiles
5*d4726bddSHONG Yifan
6*d4726bddSHONG Yifanbuild --fat_apk_cpu=arm64-v8a --android_crosstool_top=@androidndk//:toolchain
7*d4726bddSHONG Yifan
8*d4726bddSHONG Yifan# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
9*d4726bddSHONG Yifan# https://github.com/bazelbuild/rules_rust/issues/2181
10*d4726bddSHONG Yifancommon --noenable_bzlmod
11*d4726bddSHONG Yifan
12*d4726bddSHONG Yifan# This isn't currently the defaut in Bazel, but we enable it to test we'll be ready if/when it flips.
13*d4726bddSHONG Yifanbuild --incompatible_disallow_empty_glob
14