this change mainly updating project code 05/3805/3
authorhanyu <13366022056@163.com>
Thu, 22 Oct 2020 02:53:00 +0000 (10:53 +0800)
committerhanyu <13366022056@163.com>
Tue, 27 Oct 2020 11:23:36 +0000 (19:23 +0800)
this change mainly updating code from anbox
to robox.
Adding GPU support.

Signed-off-by: hanyu <13366022056@163.com>
Change-Id: Ife221571f22fc0f256c5697bc72e90428bcbcab2

src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/anbox.desktop [new file with mode: 0644]
src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/icon.png [new file with mode: 0644]
src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/src/anbox/build/config.h.in [new file with mode: 0644]

diff --git a/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/anbox.desktop b/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/anbox.desktop
new file mode 100644 (file)
index 0000000..74b42e7
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Anbox
+GenericName=Android in a box
+Version=1.0
+Type=Application
+Icon=${SNAP}/meta/gui/icon.png
+Exec=anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
+Terminal=false
diff --git a/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/icon.png b/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/icon.png
new file mode 100644 (file)
index 0000000..240a38c
Binary files /dev/null and b/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/snap/gui/icon.png differ
diff --git a/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/src/anbox/build/config.h.in b/src/type3_AndroidCloud/robox-release-phase2.3/robox-release-phase2.3/src/anbox/build/config.h.in
new file mode 100644 (file)
index 0000000..01b7e83
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2016 Canonical, Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authored by: Thomas Voß <thomas.voss@canonical.com>
+ *
+ */
+
+#ifndef ANBOX_CONFIG_H_
+#define ANBOX_CONFIG_H_
+
+#include <cstdint>
+#include <string>
+
+namespace anbox {
+namespace build {
+/// @brief version marks the version
+static constexpr const char *version{"@ANBOX_VERSION@"};
+
+// path for system configuration
+static constexpr const char *default_resource_path{"@ANBOX_RESOURCE_DIR_FULL@"};
+static constexpr const char *default_data_path{"@ANBOX_STATEDIR_FULL@"};
+}  // namespace build
+}  // namespace anbox
+
+#endif  // ANBOX_CONFIG_H_