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

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

Issue 10917007: Update V8 to version 3.12. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/common.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) 2011, 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
6 # the Chromium build enviroment. This file is included in all GYP
7 # files that are used by the Dart project. This includes V8's GYP
8 # files.
9
10 # READ BEFORE EDITING:
11 # Do not add Dart VM specific configuration to this file. Instead,
12 # modify runtime/tools/gyp/runtime-configurations.gypi.
13
5 { 14 {
6 'variables': {
7 'dart_debug_optimization_level%': '2',
8 },
9 'target_defaults': { 15 'target_defaults': {
10 'configurations': { 16 'configurations': {
11 'Dart_Base': { 17 'Dart_Base': {
12 'xcode_settings': { 18 'xcode_settings': {
13 # To switch to the LLVM based backend change the two lines below. 19 # To switch to the LLVM based backend change the two lines below.
14 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42', 20 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42',
15 'GCC_VERSION': '4.2', 21 'GCC_VERSION': '4.2',
16 'GCC_C_LANGUAGE_STANDARD': 'ansi', 22 'GCC_C_LANGUAGE_STANDARD': 'ansi',
17 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions 23 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
18 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti 24 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
19 'GCC_DEBUGGING_SYMBOLS': 'default', # -g 25 'GCC_DEBUGGING_SYMBOLS': 'default', # -g
20 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols 26 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols
21 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden 27 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
22 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden 28 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden
23 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor 29 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor
24 # TODO(v8-team): Fix V8 build.
25 #'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual
26 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror 30 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
27 'WARNING_CFLAGS': [ 31 'WARNING_CFLAGS': [
28 '<@(common_gcc_warning_flags)', 32 '<@(common_gcc_warning_flags)',
29 '-Wtrigraphs', # Disable Xcode default. 33 '-Wtrigraphs', # Disable Xcode default.
30 '-Wreturn-type', 34 '-Wreturn-type',
31 '-Werror=return-type', 35 '-Werror=return-type',
32 ], 36 ],
33 37
34 # Generate PIC code as Chrome is switching to this. 38 # Generate PIC code as Chrome is switching to this.
35 'GCC_DYNAMIC_NO_PIC': 'NO', 39 'GCC_DYNAMIC_NO_PIC': 'NO',
36 40
37 # When searching for header files, do not search 41 # When searching for header files, do not search
38 # subdirectories. Without this option, vm/assert.h conflicts 42 # subdirectories. Without this option, vm/assert.h conflicts
39 # with the system header assert.h. Apple also recommend 43 # with the system header assert.h. Apple also recommend
40 # setting this to NO. 44 # setting this to NO.
41 'ALWAYS_SEARCH_USER_PATHS': 'NO', 45 'ALWAYS_SEARCH_USER_PATHS': 'NO',
42 46
43 # Attempt to remove compiler options that Xcode adds by default. 47 # Attempt to remove compiler options that Xcode adds by default.
44 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. 48 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks.
45 49
46 'GCC_ENABLE_PASCAL_STRINGS': 'NO', 50 'GCC_ENABLE_PASCAL_STRINGS': 'NO',
47 'GCC_ENABLE_TRIGRAPHS': 'NO', 51 'GCC_ENABLE_TRIGRAPHS': 'NO',
48 'PREBINDING': 'NO', 52 'PREBINDING': 'NO',
49 }, 53 },
50 }, 54 },
51
52 'Dart_ia32_Base': {
53 'xcode_settings': {
54 'ARCHS': [ 'i386' ],
55 },
56 },
57
58 'Dart_x64_Base': {
59 'xcode_settings': {
60 'ARCHS': [ 'x86_64' ],
61 },
62 },
63
64 'Dart_simarm_Base': {
65 'xcode_settings': {
66 'ARCHS': [ 'i386' ],
67 'GCC_OPTIMIZATION_LEVEL': '3',
68 },
69 },
70
71 'Dart_Debug': {
72 'xcode_settings': {
73 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
74 },
75 },
76
77 'Dart_Release': {
78 'xcode_settings': {
79 'GCC_OPTIMIZATION_LEVEL': '3',
80 },
81 },
82 }, 55 },
83 }, 56 },
84 } 57 }
OLDNEW
« no previous file with comments | « tools/gyp/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698