old_contents: #!/usr/bin/env python
  # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  # Use of this source code is governed by a BSD-style license that can be
  # found in the LICENSE file.
  
  """ Compile step for Android """
  
  from build_step import BuildStep
  from utils import shell_utils
  import os
  import sys
  
  
  ENV_VAR = 'ANDROID_SDK_ROOT'
  
  
  class AndroidCompile(BuildStep):
    def _Run(self):
      os.environ['PATH'] += os.pathsep + os.path.abspath(os.path.join(
          os.pardir, os.pardir, os.pardir, os.pardir, 'third_party', 'gsutil'))
      os.environ[ENV_VAR] = self._args['android_sdk_root']
      cmd = [os.path.join(os.pardir, 'android', 'bin', 'android_make'),
             self._args['target'],
             '-d', self._args['device'],
             'BUILDTYPE=%s' % self._configuration,
             ]
      cmd.extend(self._default_make_flags)
      if os.name != 'nt':
        try:
          ccache = shell_utils.Bash(['which', 'ccache'], echo=False)
          if ccache:
            cmd.append('--use-ccache')
        except Exception:
          pass
      cmd.extend(self._make_flags)
      shell_utils.Bash(cmd)
  
  
  if '__main__' == __name__:
    sys.exit(BuildStep.RunBuildStep(AndroidCompile))
  
new_contents: #!/usr/bin/env python
  # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  # Use of this source code is governed by a BSD-style license that can be
  # found in the LICENSE file.
  
  """ Compile step for Android """
  
  from build_step import BuildStep
  from utils import shell_utils
  import os
  import sys
  
  
  ENV_VAR = 'ANDROID_SDK_ROOT'
  
  
  class AndroidCompile(BuildStep):
    def _Run(self):
      os.environ['PATH'] += os.pathsep + os.path.abspath(os.path.join(
          os.pardir, os.pardir, os.pardir, os.pardir, 'third_party', 'gsutil'))
      os.environ['BOTO_CONFIG'] = os.path.abspath(os.path.join(
          os.pardir, os.pardir, os.pardir, os.pardir, 'site_config', '.boto'))
      os.environ[ENV_VAR] = self._args['android_sdk_root']
      cmd = [os.path.join(os.pardir, 'android', 'bin', 'android_make'),
             self._args['target'],
             '-d', self._args['device'],
             'BUILDTYPE=%s' % self._configuration,
             ]
      cmd.extend(self._default_make_flags)
      if os.name != 'nt':
        try:
          ccache = shell_utils.Bash(['which', 'ccache'], echo=False)
          if ccache:
            cmd.append('--use-ccache')
        except Exception:
          pass
      cmd.extend(self._make_flags)
      shell_utils.Bash(cmd)
  
  
  if '__main__' == __name__:
    sys.exit(BuildStep.RunBuildStep(AndroidCompile))
  
subject: Add BOTO_CONFIG to android_compile.py