summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2019-12-20 12:44:49 +0000
committerDavid Brazdil <dbrazdil@google.com>2019-12-23 14:02:51 +0000
commit46eddd476b34adebad224f7eb782225c1195fe7d (patch)
treecb646fa6b2863dbab1e982f396d1741b11e93d4f
parentd7e9163c7728bc8f75255d6e1969f28b67d3e964 (diff)
downloadmanifest-46eddd476b34adebad224f7eb782225c1195fe7d.tar.gz
Check out Hafnium without submodules
Checks out individual Hafnium repositories as Repo projects instead of being Git submodules. The root project is checked out under `core/` and its subfolders and important files symlinked into the root. This way it is possible to clone and build Hafnium only with small modifications (scripts must not do `realpath` due to symlinks). It is meant as a first step towards migrating to Repo. Change-Id: I5284e48f3180fb9077892b01578ac7eb0768c234
-rw-r--r--default.xml37
1 files changed, 33 insertions, 4 deletions
diff --git a/default.xml b/default.xml
index e068538..3937000 100644
--- a/default.xml
+++ b/default.xml
@@ -1,9 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote
- name="hafnium"
+ name="origin"
fetch="https://hafnium.googlesource.com/"
- review="sso://hafnium.googlesource.com/"
- revision="master" />
- <project path="." name="hafnium" sync-s="true" remote="hafnium" />
+ review="sso://hafnium.googlesource.com/" />
+ <default remote="origin" revision="master" />
+
+ <project path="core" name="hafnium">
+ <!-- Required in the root by the build system -->
+ <linkfile src=".clang-format" dest=".clang-format" />
+ <linkfile src=".clang-tidy" dest=".clang-tidy" />
+ <linkfile src=".gn" dest=".gn" />
+ <linkfile src="BUILD.gn" dest="BUILD.gn" />
+ <linkfile src="Makefile" dest="Makefile" />
+
+ <!-- TODO: Do we want these in the root or change paths? -->
+ <linkfile src="build" dest="build" />
+ <linkfile src="kokoro" dest="kokoro" />
+ <linkfile src="inc" dest="inc" />
+ <linkfile src="src" dest="src" />
+ <linkfile src="test" dest="test" />
+ <linkfile src="vmlib" dest="vmlib" />
+
+ <!-- TODO: Move these inside the respective folders -->
+ <linkfile src="driver/BUILD.gn" dest="driver/BUILD.gn" />
+ <linkfile src="third_party/BUILD.gn" dest="third_party/BUILD.gn" />
+ </project>
+
+ <!-- Shallow clones of third-party code. -->
+ <project path="prebuilts" name="hafnium/prebuilts" clone-depth="1" />
+ <project path="third_party/googletest" name="hafnium/third_party/googletest" clone-depth="1" />
+ <project path="third_party/linux" name="hafnium/third_party/linux" clone-depth="1" />
+
+ <project path="driver/linux" name="hafnium/driver/linux" />
+ <project path="project/reference" name="hafnium/project/reference" />
+
</manifest>