SConscript (6797:7bf0a839c237) SConscript (6876:a658c315512c)
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

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

67 fout.write(char)
68 else:
69 fout.write(char)
70 fout.write("\\n\"\n");
71 fout.write(";\n");
72 fin.close()
73 fout.close()
74
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

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

67 fout.write(char)
68 else:
69 fout.write(char)
70 fout.write("\\n\"\n");
71 fout.write(";\n");
72 fin.close()
73 fout.close()
74
75def EmbedText(target, source, param):
76 env.Command(target, [source, Value(param)], do_embed_text)
77
78EmbedText('default_param.hh', 'config/rubyconfig.defaults',
79 'global_default_param')
80EmbedText('tester_param.hh', 'config/tester.defaults',
81 'global_default_tester_param')
82
83#
84# Link includes
85#
86generated_dir = Dir('../protocol')
87
88def MakeIncludeAction(target, source, env):
89 f = file(str(target[0]), 'w')
90 for s in source:

--- 30 unchanged lines hidden ---
75#
76# Link includes
77#
78generated_dir = Dir('../protocol')
79
80def MakeIncludeAction(target, source, env):
81 f = file(str(target[0]), 'w')
82 for s in source:

--- 30 unchanged lines hidden ---