Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / v8 / tools / testrunner / local / utils.py
index 61ee7da..508709f 100644 (file)
@@ -78,6 +78,13 @@ def GuessOS():
     return None
 
 
+def UseSimulator(arch):
+  machine = platform.machine()
+  return (machine and
+      (arch == "mipsel" or arch == "arm") and
+      not arch.startswith(machine))
+
+
 # This will default to building the 32 bit VM even on machines that are
 # capable of running the 64 bit VM.
 def DefaultArch():