summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 21:33:01 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 21:33:01 +0000
commit97d201b98019051b05093a2457edd079b4a2d9ac (patch)
tree47bc3331cc7e3d9f64ed402780d778fae7421922 /build/SConscript.main
parent79867b59fa6bbfb55fcd9a6b6ba6b7d55a68539e (diff)
downloadchromium_src-97d201b98019051b05093a2457edd079b4a2d9ac.zip
chromium_src-97d201b98019051b05093a2457edd079b4a2d9ac.tar.gz
chromium_src-97d201b98019051b05093a2457edd079b4a2d9ac.tar.bz2
Start porting port. Also move perl declarations into the correct place
for posix systems. Also remove stray qualifiers in C++ files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1190 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index d45e4c7..0bef1f4 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -348,6 +348,14 @@ elif env['PLATFORM'] == 'posix':
LINKFLAGS = ['-m32'],
# We need pthread for threading, and rt for clock_gettime.
LIBS = ['pthread', 'rt'],
+
+ PERL = '/usr/bin/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)}'),
)
# Build with support for gcov when COVERAGE=1.
if ARGUMENTS.get('COVERAGE') == '1':