summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-01 18:10:25 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-01 18:10:25 +0000
commit5c385cfa57878fa2e822316563dd9b805bf0f691 (patch)
treeaf0d6333eb982f46452a1186e057825ac3f696ac /build/SConscript.main
parentedfa0bd262d303da7ffe91783e0d3852100de9c5 (diff)
downloadchromium_src-5c385cfa57878fa2e822316563dd9b805bf0f691.zip
chromium_src-5c385cfa57878fa2e822316563dd9b805bf0f691.tar.gz
chromium_src-5c385cfa57878fa2e822316563dd9b805bf0f691.tar.bz2
Move Perl construction variables into the base construction
environment to generate bindings on all platforms. Review URL: http://codereview.chromium.org/5619 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main14
1 files changed, 8 insertions, 6 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index 8e42e9c..e596917 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -79,6 +79,14 @@ env = Environment(
PYTHON=sys.executable,
LIBPATH = ['$LIBS_DIR'],
+
+ PERL = 'perl',
+ PERL_INCLUDE_FLAG = '-I ',
+ PERL_INCLUDE_SUFFIX = '',
+ _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, '
+ 'PERL_INCLUDE_PATH, '
+ 'PERL_INCLUDE_SUFFIX,'
+ '__env__, RDirs, TARGET, SOURCE)}'),
)
def AddPdbToTarget(args):
@@ -159,12 +167,6 @@ if env['PLATFORM'] == 'win32':
CYGWIN_BIN_DIR = '$CYGWIN_DIR/bin',
PERL = '$CYGWIN_BIN_DIR/perl.exe',
- PERL_INCLUDE_FLAG = '-I ',
- PERL_INCLUDE_SUFFIX = '',
- _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, '
- 'PERL_INCLUDE_PATH, '
- 'PERL_INCLUDE_SUFFIX,'
- '__env__, RDirs, TARGET, SOURCE)}'),
MSVS_ENV = msvs_env,