OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # TODO(mark): Upstream this file to v8. | 5 # TODO(mark): Upstream this file to v8. |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'chromium_code': 1, | 8 'chromium_code': 1, |
9 'base_source_files': [ | 9 'base_source_files': [ |
10 '../../v8/src/third_party/dtoa/dtoa.c', | 10 '../../v8/src/third_party/dtoa/dtoa.c', |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 }, | 260 }, |
261 }, | 261 }, |
262 }, | 262 }, |
263 'Release': { | 263 'Release': { |
264 'conditions': [ | 264 'conditions': [ |
265 ['OS=="linux"', { | 265 ['OS=="linux"', { |
266 'cflags!': [ | 266 'cflags!': [ |
267 '-O2', | 267 '-O2', |
268 ], | 268 ], |
269 'cflags': [ | 269 'cflags': [ |
270 '-fno-rtti', | |
271 '-fdata-sections', | |
272 '-ffunction-sections', | |
273 '-fomit-frame-pointer', | 270 '-fomit-frame-pointer', |
274 '-O3', | 271 '-O3', |
275 ], | 272 ], |
| 273 'cflags_cc': [ |
| 274 '-fno-rtti', |
| 275 ], |
276 }], | 276 }], |
277 ['OS=="win"', { | 277 ['OS=="win"', { |
278 'msvs_settings': { | 278 'msvs_settings': { |
279 'VCCLCompilerTool': { | 279 'VCCLCompilerTool': { |
280 'RuntimeLibrary': '0', | 280 'RuntimeLibrary': '0', |
281 'Optimizations': '2', | 281 'Optimizations': '2', |
282 'InlineFunctionExpansion': '2', | 282 'InlineFunctionExpansion': '2', |
283 'EnableIntrinsicFunctions': 'true', | 283 'EnableIntrinsicFunctions': 'true', |
284 'FavorSizeOrSpeed': '0', | 284 'FavorSizeOrSpeed': '0', |
285 'OmitFramePointers': 'true', | 285 'OmitFramePointers': 'true', |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 ], | 666 ], |
667 'msvs_settings': { | 667 'msvs_settings': { |
668 'VCLinkerTool': { | 668 'VCLinkerTool': { |
669 'AdditionalOptions': '/IGNORE:4221 /NXCOMPAT', | 669 'AdditionalOptions': '/IGNORE:4221 /NXCOMPAT', |
670 }, | 670 }, |
671 }, | 671 }, |
672 }, | 672 }, |
673 }], | 673 }], |
674 ], | 674 ], |
675 } | 675 } |
OLD | NEW |