Reviewers: Mads Ager, Description: Fixed SCons build when not running from the V8 root directory.
[email protected] Committed: http://code.google.com/p/v8/source/detail?r=1827 Please review this at http://codereview.chromium.org/100201 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M SConstruct Index: SConstruct =================================================================== --- SConstruct (revision 1826) +++ SConstruct (working copy) @@ -613,7 +613,7 @@ BUILD_NUMBER_PATTERN, PATCH_LEVEL_PATTERN] - source = open(join('src', 'version.cc')).read() + source = open(join(root_dir, 'src', 'version.cc')).read() version_components = [] for pattern in patterns: match = pattern.search(source) @@ -636,7 +636,7 @@ def GetSpecificSONAME(): SONAME_PATTERN = re.compile(r"#define\s+SONAME\s+\"(.*)\"") - source = open(join('src', 'version.cc')).read() + source = open(join(root_dir, 'src', 'version.cc')).read() match = SONAME_PATTERN.search(source) if match: --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
