Author: [email protected]
Date: Thu Apr 30 03:30:44 2009
New Revision: 1827
Modified:
branches/bleeding_edge/SConstruct
Log:
Fixed SCons build when not running from the V8 root directory.
[email protected]
Review URL: http://codereview.chromium.org/100201
Modified: branches/bleeding_edge/SConstruct
==============================================================================
--- branches/bleeding_edge/SConstruct (original)
+++ branches/bleeding_edge/SConstruct Thu Apr 30 03:30:44 2009
@@ -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
-~----------~----~----~----~------~----~------~--~---