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

Unified Diff: common.gypi

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Patch Set: fix including of <memory> Created Aug. 7, 2015, 6:07 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.md ('k') | include/AdblockPlus/DefaultFileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common.gypi
diff --git a/common.gypi b/common.gypi
index 984d7715e3570a358886c68288beb17e32ff44d7..d56dbee0279f0ba4a32761cb1f9918cb42d5f9c3 100644
--- a/common.gypi
+++ b/common.gypi
@@ -21,9 +21,9 @@
}],
['OS=="mac"', {
'xcode_settings': {
- 'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x',
- 'CLANG_CXX_LIBRARY': 'libstdc++',
- 'OTHER_CPLUSPLUSFLAGS' : ['-std=c++0x', '-stdlib=libstdc++'],
+ 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',
+ 'CLANG_CXX_LIBRARY': 'libc++',
+ 'OTHER_CPLUSPLUSFLAGS' : ['-std=c++11', '-stdlib=libc++'],
},
}],
['OS=="android"', {
@@ -40,5 +40,12 @@
'target_defaults': {
'msvs_cygwin_shell': 0,
+ 'target_conditions': [[
+ 'OS=="mac" and _type=="executable"', {
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': ['-stdlib=libc++'],
+ },
+ }
+ ]],
}
}
« no previous file with comments | « README.md ('k') | include/AdblockPlus/DefaultFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld