aboutsummaryrefslogtreecommitdiff
path: root/.bazelrc
diff options
context:
space:
mode:
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
new file mode 100644
index 0000000..6a06745
--- /dev/null
+++ b/.bazelrc
@@ -0,0 +1,6 @@
+# Set up to use C++17 and Clang. This isn't a full CC toolchain configuration,
+# but getting it to build somehow is a good first step, since the plan
+# is not to primarily use Bazel externally (planning to use Gradle, which
+# is favored by AOSP).
+build --repo_env=CC=clang
+build --cxxopt='-std=c++17' \ No newline at end of file