2013-07-10 02:45:36 +02:00
|
|
|
# Copyright 2010 Google Inc.
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Author: thaloun@google.com (Tim Haloun)
|
|
|
|
|
|
|
|
"""Noop tool that defines builder functions for non-default platforms to
|
|
|
|
avoid errors when scanning sconsscripts."""
|
|
|
|
|
|
|
|
import SCons.Builder
|
|
|
|
|
|
|
|
|
|
|
|
def generate(env):
|
|
|
|
"""SCons method."""
|
|
|
|
if not env.Bit('windows'):
|
|
|
|
builder = SCons.Builder.Builder(
|
|
|
|
action=''
|
|
|
|
)
|
|
|
|
env.Append(BUILDERS={'RES': builder, 'Grit': builder})
|
|
|
|
|
2013-07-25 18:43:30 +02:00
|
|
|
def exists(dummy):
|
2013-07-10 02:45:36 +02:00
|
|
|
return 1
|