Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: build/android.gypi

Issue 440663002: Enable C++11. Synch toolchains with Chrome. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Disabled test on VisualStudio for now. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Makefile.android ('k') | build/standalone.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 'V8_ANDROID_LOG_STDOUT', 68 'V8_ANDROID_LOG_STDOUT',
69 ], 69 ],
70 'configurations': { 70 'configurations': {
71 'Release': { 71 'Release': {
72 'cflags': [ 72 'cflags': [
73 '-fomit-frame-pointer', 73 '-fomit-frame-pointer',
74 ], 74 ],
75 }, # Release 75 }, # Release
76 }, # configurations 76 }, # configurations
77 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter', 77 'cflags': [ '-Wno-abi', '-Wall', '-W', '-Wno-unused-parameter',
78 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions', ], 78 '-Wnon-virtual-dtor', '-fno-rtti', '-fno-exceptions',
79 # Note: Using -std=c++0x will define __STRICT_ANSI__, which in
80 # turn will leave out some template stuff for 'long long'. What
81 # we want is -std=c++11, but this is not supported by GCC 4.6 or
82 # Xcode 4.2
83 '-std=gnu++0x' ],
79 'target_conditions': [ 84 'target_conditions': [
80 ['_toolset=="target"', { 85 ['_toolset=="target"', {
81 'cflags!': [ 86 'cflags!': [
82 '-pthread', # Not supported by Android toolchain. 87 '-pthread', # Not supported by Android toolchain.
83 ], 88 ],
84 'cflags': [ 89 'cflags': [
85 '-U__linux__', # Don't allow toolchain to claim -D__linux__ 90 '-U__linux__', # Don't allow toolchain to claim -D__linux__
86 '-ffunction-sections', 91 '-ffunction-sections',
87 '-funwind-tables', 92 '-funwind-tables',
88 '-fstack-protector', 93 '-fstack-protector',
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 'ldflags!': [ 270 'ldflags!': [
266 '-Wl,-z,noexecstack', 271 '-Wl,-z,noexecstack',
267 '-Wl,--gc-sections', 272 '-Wl,--gc-sections',
268 '-Wl,-O1', 273 '-Wl,-O1',
269 '-Wl,--as-needed', 274 '-Wl,--as-needed',
270 ], 275 ],
271 }], 276 }],
272 ], # target_conditions 277 ], # target_conditions
273 }, # target_defaults 278 }, # target_defaults
274 } 279 }
OLDNEW
« no previous file with comments | « Makefile.android ('k') | build/standalone.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698