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

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

Issue 10916006: Revert "Update V8 to 3.12." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
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 | « dart/tools/gyp/common.gypi ('k') | deps/all.deps/DEPS » ('j') | 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) 2011, 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
14 { 5 {
6 'variables': {
7 'dart_debug_optimization_level%': '2',
8 },
15 'target_defaults': { 9 'target_defaults': {
16 'configurations': { 10 'configurations': {
17 'Dart_Base': { 11 'Dart_Base': {
18 'xcode_settings': { 12 'xcode_settings': {
19 # To switch to the LLVM based backend change the two lines below. 13 # To switch to the LLVM based backend change the two lines below.
20 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42', 14 #'GCC_VERSION': 'com.apple.compilers.llvmgcc42',
21 'GCC_VERSION': '4.2', 15 'GCC_VERSION': '4.2',
22 'GCC_C_LANGUAGE_STANDARD': 'ansi', 16 'GCC_C_LANGUAGE_STANDARD': 'ansi',
23 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions 17 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
24 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti 18 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
25 'GCC_DEBUGGING_SYMBOLS': 'default', # -g 19 'GCC_DEBUGGING_SYMBOLS': 'default', # -g
26 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols 20 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols
27 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden 21 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
28 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden 22 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden
29 'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor 23 '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
30 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror 26 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror
31 'WARNING_CFLAGS': [ 27 'WARNING_CFLAGS': [
32 '<@(common_gcc_warning_flags)', 28 '<@(common_gcc_warning_flags)',
33 '-Wtrigraphs', # Disable Xcode default. 29 '-Wtrigraphs', # Disable Xcode default.
34 '-Wreturn-type', 30 '-Wreturn-type',
35 '-Werror=return-type', 31 '-Werror=return-type',
36 ], 32 ],
37 33
38 # Generate PIC code as Chrome is switching to this. 34 # Generate PIC code as Chrome is switching to this.
39 'GCC_DYNAMIC_NO_PIC': 'NO', 35 'GCC_DYNAMIC_NO_PIC': 'NO',
40 36
41 # When searching for header files, do not search 37 # When searching for header files, do not search
42 # subdirectories. Without this option, vm/assert.h conflicts 38 # subdirectories. Without this option, vm/assert.h conflicts
43 # with the system header assert.h. Apple also recommend 39 # with the system header assert.h. Apple also recommend
44 # setting this to NO. 40 # setting this to NO.
45 'ALWAYS_SEARCH_USER_PATHS': 'NO', 41 'ALWAYS_SEARCH_USER_PATHS': 'NO',
46 42
47 # Attempt to remove compiler options that Xcode adds by default. 43 # Attempt to remove compiler options that Xcode adds by default.
48 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks. 44 'GCC_CW_ASM_SYNTAX': 'NO', # Remove -fasm-blocks.
49 45
50 'GCC_ENABLE_PASCAL_STRINGS': 'NO', 46 'GCC_ENABLE_PASCAL_STRINGS': 'NO',
51 'GCC_ENABLE_TRIGRAPHS': 'NO', 47 'GCC_ENABLE_TRIGRAPHS': 'NO',
52 'PREBINDING': 'NO', 48 'PREBINDING': 'NO',
53 }, 49 },
54 }, 50 },
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 },
55 }, 82 },
56 }, 83 },
57 } 84 }
OLDNEW
« no previous file with comments | « dart/tools/gyp/common.gypi ('k') | deps/all.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698