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

Side by Side Diff: build/temp_gyp/v8.gyp

Issue 63064: V8-specific release-specific flags in the gyp build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698