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

Side by Side Diff: tools/gyp/configurations_xcode.gypi

Issue 1104323003: Enable frame pointers by default (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « tools/gyp/configurations_msvs.gypi ('k') | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 # The purpose of this file and others in this directory is to simulate 5 # The purpose of this file and others in this directory is to simulate
6 # the Chromium build enviroment. This file is included in all GYP 6 # the Chromium build enviroment. This file is included in all GYP
7 # files that are used by the Dart project. 7 # files that are used by the Dart project.
8 8
9 # READ BEFORE EDITING: 9 # READ BEFORE EDITING:
10 # Do not add Dart VM specific configuration to this file. Instead, 10 # Do not add Dart VM specific configuration to this file. Instead,
(...skipping 19 matching lines...) Expand all
30 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor 30 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor
31 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror 31 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
32 'WARNING_CFLAGS': [ 32 'WARNING_CFLAGS': [
33 '<@(common_gcc_warning_flags)', 33 '<@(common_gcc_warning_flags)',
34 '-Wtrigraphs', # Disable Xcode default. 34 '-Wtrigraphs', # Disable Xcode default.
35 '-Wreturn-type', 35 '-Wreturn-type',
36 '-Werror=return-type', 36 '-Werror=return-type',
37 # TODO(15922): Enable this flag by default. 37 # TODO(15922): Enable this flag by default.
38 # '-Wshorten-64-to-32', 38 # '-Wshorten-64-to-32',
39 ], 39 ],
40 'OTHER_CFLAGS': [
41 '-fno-omit-frame-pointer',
42 '-mno-omit-leaf-frame-pointer',
43 ],
40 44
41 # Generate PIC code as Chrome is switching to this. 45 # Generate PIC code as Chrome is switching to this.
42 'GCC_DYNAMIC_NO_PIC': 'NO', 46 'GCC_DYNAMIC_NO_PIC': 'NO',
43 47
44 # When searching for header files, do not search 48 # When searching for header files, do not search
45 # subdirectories. Without this option, vm/assert.h conflicts 49 # subdirectories. Without this option, vm/assert.h conflicts
46 # with the system header assert.h. Apple also recommend 50 # with the system header assert.h. Apple also recommend
47 # setting this to NO. 51 # setting this to NO.
48 'ALWAYS_SEARCH_USER_PATHS': 'NO', 52 'ALWAYS_SEARCH_USER_PATHS': 'NO',
49 53
50 # Attempt to remove compiler options that Xcode adds by default. 54 # Attempt to remove compiler options that Xcode adds by default.
51 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. 55 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks.
52 56
53 'GCC_ENABLE_PASCAL_STRINGS': 'NO', 57 'GCC_ENABLE_PASCAL_STRINGS': 'NO',
54 'GCC_ENABLE_TRIGRAPHS': 'NO', 58 'GCC_ENABLE_TRIGRAPHS': 'NO',
55 'COMBINE_HIDPI_IMAGES': 'YES', 59 'COMBINE_HIDPI_IMAGES': 'YES',
56 }, 60 },
57 'conditions': [ 61 'conditions': [
58 ['c_frame_pointers==1', { 62 ['c_frame_pointers==1', {
59 'xcode_settings': { 63 'xcode_settings': {
60 'OTHER_CFLAGS': [
61 '-fno-omit-frame-pointer',
62 '-mno-omit-leaf-frame-pointer',
63 ],
64 }, 64 },
65 'defines': [ 65 'defines': [
66 'PROFILE_NATIVE_CODE', 66 'PROFILE_NATIVE_CODE',
67 ], 67 ],
68 }], 68 }],
69 ], 69 ],
70 }, 70 },
71 'Dart_Macos_ia32_Base': { 71 'Dart_Macos_ia32_Base': {
72 'abstract': 1, 72 'abstract': 1,
73 }, 73 },
(...skipping 14 matching lines...) Expand all
88 }, 88 },
89 'Dart_Macos_Debug': { 89 'Dart_Macos_Debug': {
90 'abstract': 1, 90 'abstract': 1,
91 }, 91 },
92 'Dart_Macos_Release': { 92 'Dart_Macos_Release': {
93 'abstract': 1, 93 'abstract': 1,
94 }, 94 },
95 }, 95 },
96 }, 96 },
97 } 97 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations_msvs.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698