Commit d7de2745 authored by Herve Jourdain's avatar Herve Jourdain Committed by Rick Bell

TERM must be set in the environment for gradle.

Otherwise, Android build fails complaining TERM is not set.

Change-Id: Ibf92b2eca73c71c249d313614ab0ae611ea4f524
Signed-off-by: default avatarHerve Jourdain <>
parent e0ea4b7d
......@@ -43,6 +43,8 @@ Import('env')
if os.environ.get('TERM') is not None:
env['ENV']['TERM'] = os.environ['TERM']
env['ENV']['TERM'] = 'xterm'
# Load extra options
......@@ -235,7 +235,8 @@ jdk_env = None
if target_os in ['android']:
# Gradle needs some settings in the environment:
jdk_env = env.Clone(ENV={'JAVA_HOME':env['JAVA_HOME'],
jdk_env = env.Clone()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment