Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: common.gypi

Issue 5198903443980288: Issue 321 - libadblockplus build fails on OS X (tr1/memory.h not found) (Closed)
Patch Set: Created April 14, 2014, 11:26 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | libadblockplus.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }, 7 },
8 8
9 'conditions': [ 9 'conditions': [
10 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 10 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
11 or OS=="netbsd" or OS=="android"', { 11 or OS=="netbsd" or OS=="android"', {
12 'target_defaults': { 12 'target_defaults': {
13 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', 13 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter',
14 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', 14 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti',
15 '-pedantic', '-std=c++0x', '-fexceptions', ], 15 '-pedantic', '-std=c++0x', '-fexceptions', ],
16 'ldflags': [ '-pthread', ], 16 'ldflags': [ '-pthread', ],
17 }, 17 },
18 }], 18 }],
19 ['OS=="mac"', {
20 'xcode_settings': {
21 'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
22 'CLANG_CXX_LIBRARY': 'libstdc++',
23 'OTHER_CPLUSPLUSFLAGS' : ['-std=c++0x', '-stdlib=libstdc++'],
24 },
25 }],
19 ['OS=="android"', { 26 ['OS=="android"', {
20 'target_defaults': { 27 'target_defaults': {
21 'cflags!': [ 28 'cflags!': [
22 '-pthread', # Not supported by Android toolchain. 29 '-pthread', # Not supported by Android toolchain.
23 ], 30 ],
24 'ldflags!': [ 31 'ldflags!': [
25 '-pthread', # Not supported by Android toolchain. 32 '-pthread', # Not supported by Android toolchain.
26 ], 33 ],
27 }, 34 },
28 }], 35 }],
29 ], 36 ],
30 37
31 'target_defaults': { 38 'target_defaults': {
32 'msvs_cygwin_shell': 0, 39 'msvs_cygwin_shell': 0,
33 } 40 }
34 } 41 }
OLDNEW
« no previous file with comments | « no previous file | libadblockplus.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld