OLD | NEW |
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 Loading... |
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 |
OLD | NEW |