Home | History | Annotate | Download | only in site_tools
      1 # Copyright 2010 Google Inc.
      2 # All Rights Reserved.
      3 # Author: thaloun (at] google.com (Tim Haloun)
      4 
      5 """Noop tool that defines builder functions for non-default platforms to
      6    avoid errors when scanning sconsscripts."""
      7 
      8 import SCons.Builder
      9 
     10 
     11 def generate(env):
     12   """SCons method."""
     13   if not env.Bit('windows'):
     14     builder = SCons.Builder.Builder(
     15       action=''
     16     )
     17     env.Append(BUILDERS={'RES': builder, 'Grit': builder})
     18 
     19 def exists(env):
     20   return 1
     21