]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
Initial commit
authorErfan Abdi <erfangplus@gmail.com>
Fri, 16 Apr 2021 02:37:27 +0000 (07:07 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Fri, 16 Apr 2021 02:37:27 +0000 (07:07 +0430)
README.md [new file with mode: 0644]
anbox.xml [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..509e787
--- /dev/null
+++ b/README.md
@@ -0,0 +1,37 @@
+Anbox-halium
+===========
+
+Getting started
+---------------
+
+To get started with Android/LineageOS, you'll need to get
+familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).
+
+To initialize your local repository using the LineageOS trees, use a command like this:
+```
+repo init -u git://github.com/LineageOS/android.git -b lineage-17.1
+```
+Add anbox manifest:
+```
+wget https://raw.githubusercontent.com/Anbox-halium/anbox-halium/lineage-17.1/anbox.xml -P .repo/local_manifests/
+```
+Then to sync up:
+```
+repo sync
+```
+Then to apply sana patches:
+```
+anbox-patches/apply-patches.sh --mb
+```
+
+How to build
+---------------
+Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building environment setup.
+
+To build anbox:
+```
+. build/envsetup.sh
+lunch lineage_anbox_arm64-userdebug
+make systemimage -j$(nproc --all)
+make vendorimage -j$(nproc --all)
+```
diff --git a/anbox.xml b/anbox.xml
new file mode 100644 (file)
index 0000000..d496748
--- /dev/null
+++ b/anbox.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest>
+  <!-- Remove replaced Projects -->
+  <remove-project name="platform/system/libhidl" />
+  <remove-project name="platform/system/libhwbinder" />
+  
+  <!-- Anbox Projects -->
+  <project path="system/libhidl" name="Anbox-halium/android_system_libhidl" />
+  <project path="system/libhwbinder" name="Anbox-halium/android_system_libhwbinder" />
+  <project path="anbox-patches" name="Anbox-halium/anbox-patches" />
+
+</manifest>