Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc2711d4 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Check if the JS_ENGINE key exists as an environment variable before reading it.

Change-Id: I274b23ea53ec0129ea3b52ff66322f7069338f53
parent 409578fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ def main(options, args):
  # JS_ENGINE environment  variable, which is used by the build system in
  # external/webkit/Android.mk.
  js_engine = options.js_engine
  if not js_engine:
  if not js_engine and os.environ.has_key('JS_ENGINE'):
    js_engine = os.environ['JS_ENGINE']
  if js_engine:
    run_layout_test_cmd_postfix += " -e jsengine " + js_engine