OLD | NEW |
1 # Copyright 2010 Google Inc. All Rights Reserved. | 1 # Copyright 2010 Google Inc. All Rights Reserved. |
2 | 2 |
3 { | 3 { |
4 # Needed for compilation with g++ 4.5. | |
5 'conditions': [ | |
6 [ 'OS=="linux"', { 'variables' : { | |
7 'common_gcc_warning_flags': [ '-Wno-conversion-null', ], }, } ], | |
8 [ 'OS=="mac"', { 'variables' : { | |
9 'common_gcc_warning_flags': [ '-w', ], }, } ], | |
10 ], | |
11 'includes': [ | |
12 '../../../tools/gyp/xcode.gypi', | |
13 '../../../tools/gyp/configurations.gypi', | |
14 '../../../tools/gyp/source_filter.gypi', | |
15 ], | |
16 'targets': [ | 4 'targets': [ |
17 { | 5 { |
18 'target_name': 'libjscre', | 6 'target_name': 'libjscre', |
19 'type': 'static_library', | 7 'type': 'static_library', |
20 'dependencies': [ | 8 'dependencies': [ |
21 ], | 9 ], |
22 'include_dirs': [ | 10 'include_dirs': [ |
23 '.', | 11 '.', |
24 ], | 12 ], |
25 'defines': [ | 13 'defines': [ |
26 'SUPPORT_UTF8', | 14 'SUPPORT_UTF8', |
27 'SUPPORT_UCP', | 15 'SUPPORT_UCP', |
28 'NO_RECURSE', | 16 'NO_RECURSE', |
29 ], | 17 ], |
30 'sources': [ | 18 'sources': [ |
31 'ASCIICType.h', | 19 'ASCIICType.h', |
32 'config.h', | 20 'config.h', |
33 'pcre.h', | 21 'pcre.h', |
34 'pcre_internal.h', | 22 'pcre_internal.h', |
35 'ucpinternal.h', | 23 'ucpinternal.h', |
36 'pcre_compile.cpp', | 24 'pcre_compile.cpp', |
37 'pcre_exec.cpp', | 25 'pcre_exec.cpp', |
38 'pcre_tables.cpp', | 26 'pcre_tables.cpp', |
39 'pcre_ucp_searchfuncs.cpp', | 27 'pcre_ucp_searchfuncs.cpp', |
40 'pcre_xclass.cpp', | 28 'pcre_xclass.cpp', |
41 ], | 29 ], |
42 }, | 30 }, |
43 ], | 31 ], |
44 } | 32 } |
OLD | NEW |