Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
import java
import app
import aware
import java
import app
import aware
+
+redef fun bound_platform do return "Android"
# The running `App`
fun app: App do return once new App
# The running `App`
fun app: App do return once new App
+# Platform bound at compilation (by importation or -m)
+#
+# This value should not be used to decide the behavior of the software.
+# Class refinement provide a safer and a static solution to apply variations.
+# However, this value can be used in log files and communications with servers.
+fun bound_platform: String do return "none"
+
+
+redef fun bound_platform do return "GNU/Linux"