summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmelle Laine <armellel@google.com>2022-11-05 02:16:28 +0000
committerArmelle Laine <armellel@google.com>2022-12-02 00:09:17 +0000
commit4adffffb4901c519932d26ac5d9ec0910ff62d33 (patch)
treea8213578ae885b33b81745b31428179a0494f3b6
parentd39a097ad84e28f901601a53e62d74b41c6b9b5b (diff)
downloadmanifest-4adffffb4901c519932d26ac5d9ec0910ff62d33.tar.gz
Symlink WORKSPACE and .bazelrc to the repo root
Bazel requires these files to live at the root of the repo, so they need to be symlinked there from their actual location among the Trusty Bazel rules. Bug: 213374369 Change-Id: Icb706c3f2a6ab3d49e4452caebc6712f2b1ef691
-rw-r--r--default.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/default.xml b/default.xml
index 27b46b1..3c68da2 100644
--- a/default.xml
+++ b/default.xml
@@ -26,7 +26,10 @@
<project path="external/trusty/musl" name="trusty/external/musl" groups="trusty" />
<project path="trusty/user/base" name="trusty/lib" groups="trusty" />
<project path="trusty/kernel" name="trusty/lk/trusty" groups="trusty" />
- <project path="trusty/host/common" name="trusty/host/common" groups="trusty" />
+ <project path="trusty/host/common" name="trusty/host/common" groups="trusty">
+ <linkfile src="bazel/WORKSPACE.bazel" dest="WORKSPACE.bazel" />
+ <linkfile src="bazel/bazelrc" dest=".bazelrc" />
+ </project>
<project path="trusty/interfaces" name="trusty/interfaces" groups="trusty" />
<!-- END trusty core projects -->