LEFT | RIGHT |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'visibility%': 'hidden', | 3 'visibility%': 'hidden', |
4 'library%': 'static_library', | 4 'library%': 'static_library', |
5 'component%': '', | 5 'component%': '', |
6 'want_separate_host_toolset': 0, | 6 'want_separate_host_toolset': 0, |
7 'v8_optimized_debug': 0, | 7 'v8_optimized_debug': 0, |
8 'v8_enable_i18n_support': 0, | 8 'v8_enable_i18n_support': 0, |
9 }, | 9 }, |
10 | 10 |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 12 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
13 or OS=="netbsd" or OS=="android"', { | 13 or OS=="netbsd" or OS=="android"', { |
14 'target_defaults': { | 14 'target_defaults': { |
15 # remove the -fpermissive when a newer v8 is used | 15 # V8 headers cause a build error on recent gcc. |
16 # unless it is still required. | 16 # Adding -fpermissive to solve this. |
| 17 # See https://issues.adblockplus.org/ticket/4950 |
| 18 # We might be able to do without after upgrading V8. |
17 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', | 19 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', |
18 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 20 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
19 '-pedantic', '-std=c++0x', '-fexceptions', '-fpermissive' ], | 21 '-pedantic', '-std=c++0x', '-fexceptions', '-fpermissive' ], |
20 'cflags!': [ '-Werror', ], | 22 'cflags!': [ '-Werror', ], |
21 'ldflags': [ '-pthread', ], | 23 'ldflags': [ '-pthread', ], |
22 }, | 24 }, |
23 }], | 25 }], |
24 ['OS=="mac"', { | 26 ['OS=="mac"', { |
25 'xcode_settings': { | 27 'xcode_settings': { |
26 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', | 28 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', |
(...skipping 17 matching lines...) Expand all Loading... |
44 'msvs_cygwin_shell': 0, | 46 'msvs_cygwin_shell': 0, |
45 'target_conditions': [[ | 47 'target_conditions': [[ |
46 'OS=="mac" and _type=="executable"', { | 48 'OS=="mac" and _type=="executable"', { |
47 'xcode_settings': { | 49 'xcode_settings': { |
48 'OTHER_LDFLAGS': ['-stdlib=libc++'], | 50 'OTHER_LDFLAGS': ['-stdlib=libc++'], |
49 }, | 51 }, |
50 } | 52 } |
51 ]], | 53 ]], |
52 } | 54 } |
53 } | 55 } |
LEFT | RIGHT |