Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Side by Side Diff: webkit/SConscript.javascriptcore_pcre

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/SConscript ('k') | webkit/SConscript.port » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Import('env') 5 Import('env')
6 6
7 env = env.Clone( 7 env = env.Clone(
8 PCRE_DIR = '$WEBKIT_DIR/port/JavaScriptCore/pcre', 8 PCRE_DIR = '$WEBKIT_DIR/port/JavaScriptCore/pcre',
9 ) 9 )
10 10
11 env.Prepend( 11 env.Prepend(
12 CPPPATH = [ 12 CPPPATH = [
13 '$WEBKIT_DIR/port/JavaScriptCore', 13 '$WEBKIT_DIR/port/JavaScriptCore',
14 '$WEBKIT_DIR/port/JavaScriptCore/pcre', 14 '$WEBKIT_DIR/port/JavaScriptCore/pcre',
15 '$WEBKIT_DIR/build/JSConfig/WebCore/v8', 15 '$WEBKIT_DIR/build/JSConfig/WebCore/v8',
16 ]) 16 ])
17 17
18 if env['PLATFORM'] == 'win32': 18 if env.Bit('windows'):
19 env.Prepend( 19 env.Prepend(
20 CCFLAGS = [ 20 CCFLAGS = [
21 '/TP', 21 '/TP',
22 '/wd4127', 22 '/wd4127',
23 '/wd4355', 23 '/wd4355',
24 '/wd4510', 24 '/wd4510',
25 '/wd4512', 25 '/wd4512',
26 '/wd4610', 26 '/wd4610',
27 '/wd4706', 27 '/wd4706',
28 '/wd4800', 28 '/wd4800',
(...skipping 15 matching lines...) Expand all
44 input_files = [ 44 input_files = [
45 '$PCRE_DIR/pcre_compile.cpp', 45 '$PCRE_DIR/pcre_compile.cpp',
46 '$PCRE_DIR/pcre_xclass.cpp', 46 '$PCRE_DIR/pcre_xclass.cpp',
47 '$PCRE_DIR/pcre_ucp_searchfuncs.cpp', 47 '$PCRE_DIR/pcre_ucp_searchfuncs.cpp',
48 '$PCRE_DIR/pcre_tables.cpp', 48 '$PCRE_DIR/pcre_tables.cpp',
49 '$PCRE_DIR/pcre_exec.cpp', 49 '$PCRE_DIR/pcre_exec.cpp',
50 ] 50 ]
51 51
52 env.ChromeStaticLibrary('JavaScriptCore_pcre', input_files) 52 env.ChromeStaticLibrary('JavaScriptCore_pcre', input_files)
53 53
OLDNEW
« no previous file with comments | « webkit/SConscript ('k') | webkit/SConscript.port » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698