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

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

Issue 11859034: Add mips and simmips build targets. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/build.py ('k') | tools/gyp/configurations_make.gypi » ('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) 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 { 5 {
6 'variables': { 6 'variables': {
7 'common_gcc_warning_flags': [ 7 'common_gcc_warning_flags': [
8 '-Wall', 8 '-Wall',
9 '-Wextra', # Also known as -W. 9 '-Wextra', # Also known as -W.
10 '-Wno-unused-parameter', 10 '-Wno-unused-parameter',
11 # TODO(v8-team): Fix V8 build. 11 # TODO(v8-team): Fix V8 build.
12 #'-Wold-style-cast', 12 #'-Wold-style-cast',
13 ], 13 ],
14 14
15 # Default value. This may be overridden in a containing project gyp. 15 # Default value. This may be overridden in a containing project gyp.
16 'target_arch%': 'ia32', 16 'target_arch%': 'ia32',
17 17
18 # Don't use separate host toolset for compiling V8. 18 # Don't use separate host toolset for compiling V8.
19 'want_separate_host_toolset': 0, 19 'want_separate_host_toolset': 0,
20 20
21 'conditions': [ 21 'conditions': [
22 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], 22 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }],
23 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], 23 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }],
24 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], 24 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }],
25 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], 25 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }],
26 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }],
27 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }],
26 ], 28 ],
27 }, 29 },
28 'conditions': [ 30 'conditions': [
29 [ 'OS=="android"', { 'includes': [ 'configurations_android.gypi', ], } ], 31 [ 'OS=="android"', { 'includes': [ 'configurations_android.gypi', ], } ],
30 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ], 32 [ 'OS=="linux"', { 'includes': [ 'configurations_make.gypi', ], } ],
31 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ], 33 [ 'OS=="mac"', { 'includes': [ 'configurations_xcode.gypi', ], } ],
32 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ], 34 [ 'OS=="win"', { 'includes': [ 'configurations_msvs.gypi', ], } ],
33 ], 35 ],
34 'target_defaults': { 36 'target_defaults': {
35 'default_configuration': 'DebugIA32', 37 'default_configuration': 'DebugIA32',
(...skipping 17 matching lines...) Expand all
53 ] 55 ]
54 }, 56 },
55 57
56 'Dart_arm_Base': { 58 'Dart_arm_Base': {
57 'abstract': 1, 59 'abstract': 1,
58 'defines': [ 60 'defines': [
59 'TARGET_ARCH_ARM', 61 'TARGET_ARCH_ARM',
60 ], 62 ],
61 }, 63 },
62 64
65 'Dart_simmips_Base': {
66 'abstract': 1,
67 'defines': [
68 'TARGET_ARCH_MIPS',
69 ]
70 },
71
72 'Dart_mips_Base': {
73 'abstract': 1,
74 'defines': [
75 'TARGET_ARCH_MIPS',
76 ],
77 },
78
63 'Dart_Debug': { 79 'Dart_Debug': {
64 'abstract': 1, 80 'abstract': 1,
65 }, 81 },
66 82
67 'Dart_Release': { 83 'Dart_Release': {
68 'abstract': 1, 84 'abstract': 1,
69 'defines': [ 85 'defines': [
70 'NDEBUG', 86 'NDEBUG',
71 ], 87 ],
72 }, 88 },
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 }, 122 },
107 123
108 'DebugARM': { 124 'DebugARM': {
109 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Debug'], 125 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Debug'],
110 }, 126 },
111 127
112 'ReleaseARM': { 128 'ReleaseARM': {
113 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'], 129 'inherit_from': ['Dart_Base', 'Dart_arm_Base', 'Dart_Release'],
114 }, 130 },
115 131
132 'DebugSIMMIPS': {
133 # Should not inherit from Dart_Debug because Dart_simmips_Base defines
134 # the optimization level to be -O3, as the simulator runs too slow
135 # otherwise.
136 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'],
137 'defines': [
138 'DEBUG',
139 ],
140 },
141
142 'ReleaseSIMMIPS': {
143 # Should not inherit from Dart_Release (see DebugSIMMIPS).
144 'inherit_from': ['Dart_Base', 'Dart_simmips_Base'],
145 'defines': [
146 'NDEBUG',
147 ],
148 },
149
150 'DebugMIPS': {
151 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Debug'],
152 },
153
154 'ReleaseMIPS': {
155 'inherit_from': ['Dart_Base', 'Dart_mips_Base', 'Dart_Release'],
156 },
157
116 # These targets assume that target_arch is passed in explicitly 158 # These targets assume that target_arch is passed in explicitly
117 # by the containing project (e.g., chromium). 159 # by the containing project (e.g., chromium).
118 'Debug': { 160 'Debug': {
119 'inherit_from': ['Debug<(dart_target_arch)'] 161 'inherit_from': ['Debug<(dart_target_arch)']
120 }, 162 },
121 163
122 'Release': { 164 'Release': {
123 'inherit_from': ['Release<(dart_target_arch)'] 165 'inherit_from': ['Release<(dart_target_arch)']
124 }, 166 },
125 }, 167 },
126 }, 168 },
127 } 169 }
OLDNEW
« no previous file with comments | « tools/build.py ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698