SConscript (6163:92318648212f) | SConscript (6168:ba6fe02228db) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32import sys 33 34from os.path import basename, isdir, join as joinpath 35 36import SCons 37 38Import('*') 39 | 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 --- 23 unchanged lines hidden (view full) --- 32import sys 33 34from os.path import basename, isdir, join as joinpath 35 36import SCons 37 38Import('*') 39 |
40if not env['RUBY']: 41 Return() 42 |
|
40Source('init.cc') 41 42def do_embed_text(target, source, env): 43 """convert a text file into a file that can be embedded in C 44 using an #include statement, that defines a \"const char *\" pointing 45 to the same text. 46 47 This is useful to embed scripts and configuration files in object files. --- 68 unchanged lines hidden --- | 43Source('init.cc') 44 45def do_embed_text(target, source, env): 46 """convert a text file into a file that can be embedded in C 47 using an #include statement, that defines a \"const char *\" pointing 48 to the same text. 49 50 This is useful to embed scripts and configuration files in object files. --- 68 unchanged lines hidden --- |