SConscript (8454:fad37c6670a6) SConscript (8492:1ad244a20877)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 24 unchanged lines hidden (view full) ---

33import sys
34
35from os.path import isdir, isfile, join as joinpath
36
37from SCons.Scanner import Classic
38
39Import('*')
40
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 24 unchanged lines hidden (view full) ---

33import sys
34
35from os.path import isdir, isfile, join as joinpath
36
37from SCons.Scanner import Classic
38
39Import('*')
40
41if not env['RUBY']:
41if env['PROTOCOL'] == 'None':
42 Return()
43
44protocol_dir = Dir('.')
45html_dir = Dir('html')
46slicc_dir = Dir('../slicc')
47
48sys.path[1:1] = [ Dir('..').srcnode().abspath ]
49from slicc.parser import SLICC

--- 55 unchanged lines hidden ---
42 Return()
43
44protocol_dir = Dir('.')
45html_dir = Dir('html')
46slicc_dir = Dir('../slicc')
47
48sys.path[1:1] = [ Dir('..').srcnode().abspath ]
49from slicc.parser import SLICC

--- 55 unchanged lines hidden ---