SConscript (7800:318eca813e2b) SConscript (7811:a8fc35183c10)
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
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

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

830// Array of strings for SimpleEnumParam
831extern const char *flagStrings[];
832extern const int numFlagStrings;
833
834// Array of arraay pointers: for each compound flag, gives the list of
835// base flags to set. Inidividual flag arrays are terminated by -1.
836extern const Flags *compoundFlags[];
837
1# -*- mode:python -*-
2
3# Copyright (c) 2004-2005 The Regents of The University of Michigan
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

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

830// Array of strings for SimpleEnumParam
831extern const char *flagStrings[];
832extern const int numFlagStrings;
833
834// Array of arraay pointers: for each compound flag, gives the list of
835// base flags to set. Inidividual flag arrays are terminated by -1.
836extern const Flags *compoundFlags[];
837
838/* namespace Trace */ }
838} // namespace Trace
839
840#endif // __BASE_TRACE_FLAGS_HH__
841''')
842
843 code.write(str(target[0]))
844
845flags = map(Value, trace_flags.values())
846env.Command('base/traceflags.py', flags,

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

897EmbeddedPython embedded_${sym}(
898 ${{c_str(pysource.arcname)}},
899 ${{c_str(pysource.abspath)}},
900 ${{c_str(pysource.modpath)}},
901 data_${sym},
902 ${{len(data)}},
903 ${{len(marshalled)}});
904
839
840#endif // __BASE_TRACE_FLAGS_HH__
841''')
842
843 code.write(str(target[0]))
844
845flags = map(Value, trace_flags.values())
846env.Command('base/traceflags.py', flags,

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

897EmbeddedPython embedded_${sym}(
898 ${{c_str(pysource.arcname)}},
899 ${{c_str(pysource.abspath)}},
900 ${{c_str(pysource.modpath)}},
901 data_${sym},
902 ${{len(data)}},
903 ${{len(marshalled)}});
904
905/* namespace */ }
905} // anonymous namespace
906''')
907 code.write(str(target[0]))
908
909for source in PySource.all:
910 env.Command(source.cpp, source.tnode,
911 MakeAction(embedPyFile, " [EMBED PY] $STRIP_TARGET"))
912 Source(source.cpp)
913

--- 139 unchanged lines hidden ---
906''')
907 code.write(str(target[0]))
908
909for source in PySource.all:
910 env.Command(source.cpp, source.tnode,
911 MakeAction(embedPyFile, " [EMBED PY] $STRIP_TARGET"))
912 Source(source.cpp)
913

--- 139 unchanged lines hidden ---