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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 ], | 241 ], |
242 'target_defaults': { | 242 'target_defaults': { |
243 'configurations': { | 243 'configurations': { |
244 'Debug': { | 244 'Debug': { |
245 'defines': [ | 245 'defines': [ |
246 'DEBUG', | 246 'DEBUG', |
247 'ENABLE_DISASSEMBLER', | 247 'ENABLE_DISASSEMBLER', |
248 'ENABLE_LOGGING_AND_PROFILING', | 248 'ENABLE_LOGGING_AND_PROFILING', |
249 ], | 249 ], |
250 }, | 250 }, |
| 251 'Release': { |
| 252 'defines': [ |
| 253 'ENABLE_LOGGING_AND_PROFILING', |
| 254 ], |
| 255 'conditions': [ |
| 256 ['OS=="linux"', { |
| 257 'cflags!': [ |
| 258 '-O2', |
| 259 ], |
| 260 'cflags': [ |
| 261 '-fno-rtti', |
| 262 '-fdata-sections', |
| 263 '-ffunction-sections', |
| 264 '-fomit-frame-pointer', |
| 265 '-O3', |
| 266 ], |
| 267 }], |
| 268 ], |
| 269 }, |
251 }, | 270 }, |
252 'xcode_settings': { | 271 'xcode_settings': { |
253 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', | 272 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', |
254 'GCC_ENABLE_CPP_RTTI': 'NO', | 273 'GCC_ENABLE_CPP_RTTI': 'NO', |
255 }, | 274 }, |
256 }, | 275 }, |
257 'targets': [ | 276 'targets': [ |
258 # Targets that apply to any architecture. | 277 # Targets that apply to any architecture. |
259 { | 278 { |
260 'target_name': 'js2c', | 279 'target_name': 'js2c', |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 ]}, | 621 ]}, |
603 }], | 622 }], |
604 [ 'OS=="win"', { | 623 [ 'OS=="win"', { |
605 'sources!': [ '../../v8/src/d8-readline.cc', '../../v8/src/d8-posix.cc
' ], | 624 'sources!': [ '../../v8/src/d8-readline.cc', '../../v8/src/d8-posix.cc
' ], |
606 }], | 625 }], |
607 ], | 626 ], |
608 }, | 627 }, |
609 ]}], # OS != "linux" (temporary, TODO(sgk)) | 628 ]}], # OS != "linux" (temporary, TODO(sgk)) |
610 ], | 629 ], |
611 } | 630 } |
OLD | NEW |