Scons: Drop RUBY as compile time option.

This patch drops RUBY as a compile time option. Instead the PROTOCOL option
is used to figure out whether or not to build Ruby. If the specified protocol
is 'None', then Ruby is not compiled.
This commit is contained in:
Nilay Vaish
2011-08-02 00:10:08 -05:00
parent 206c2e9a0e
commit 1b49c56679
9 changed files with 11 additions and 32 deletions

View File

@@ -289,16 +289,6 @@ else:
'inorder-timing', 'rubytest']
if env['RUBY']:
# With Ruby, A protocol must be specified in the environment
assert(env['PROTOCOL'])
#
# Is there a way to determine what is Protocol EnumVariable
# default and eliminate the need to hard code the default protocol below?
#
# If the binary includes the default ruby protocol, run both ruby and
# non-ruby versions of the tests. Otherwise just run the ruby versions.
#
if env['PROTOCOL'] == 'MI_example':
configs += [c + "-ruby" for c in configs]
else: