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

Side by Side Diff: dart/runtime/bin/bin.gypi

Issue 9877003: Move cygwin_dir to common.gypi. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Include all.gypi as well Created 8 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
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 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
10 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', 10 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
11 'builtin_in_cc_file': 'builtin_in.cc', 11 'builtin_in_cc_file': 'builtin_in.cc',
12 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', 12 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc',
13 'snapshot_in_cc_file': 'snapshot_in.cc', 13 'snapshot_in_cc_file': 'snapshot_in.cc',
14 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', 14 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin',
15 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', 15 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc',
16 'cygwin_dir': '../../third_party/cygwin',
17 }, 16 },
18 'targets': [ 17 'targets': [
19 { 18 {
20 'target_name': 'generate_builtin_cc_file', 19 'target_name': 'generate_builtin_cc_file',
21 'type': 'none', 20 'type': 'none',
22 'conditions': [
23 ['OS=="win"', {
24 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
25 }],
26 ],
27 'includes': [ 21 'includes': [
28 'builtin_sources.gypi', 22 'builtin_sources.gypi',
29 ], 23 ],
30 'actions': [ 24 'actions': [
31 { 25 {
32 'action_name': 'generate_builtin_cc', 26 'action_name': 'generate_builtin_cc',
33 'inputs': [ 27 'inputs': [
34 '../tools/create_string_literal.py', 28 '../tools/create_string_literal.py',
35 '<(builtin_in_cc_file)', 29 '<(builtin_in_cc_file)',
36 '<@(_sources)', 30 '<@(_sources)',
(...skipping 10 matching lines...) Expand all
47 '--var_name', 'Builtin::builtin_source_', 41 '--var_name', 'Builtin::builtin_source_',
48 '<@(_sources)', 42 '<@(_sources)',
49 ], 43 ],
50 'message': 'Generating ''<(builtin_cc_file)'' file.' 44 'message': 'Generating ''<(builtin_cc_file)'' file.'
51 }, 45 },
52 ] 46 ]
53 }, 47 },
54 { 48 {
55 'target_name': 'generate_io_cc_file', 49 'target_name': 'generate_io_cc_file',
56 'type': 'none', 50 'type': 'none',
57 'conditions': [
58 ['OS=="win"', {
59 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
60 }],
61 ],
62 'includes': [ 51 'includes': [
63 'io_sources.gypi', 52 'io_sources.gypi',
64 ], 53 ],
65 'actions': [ 54 'actions': [
66 { 55 {
67 'action_name': 'generate_io_cc', 56 'action_name': 'generate_io_cc',
68 'inputs': [ 57 'inputs': [
69 '../tools/create_string_literal.py', 58 '../tools/create_string_literal.py',
70 '<(builtin_in_cc_file)', 59 '<(builtin_in_cc_file)',
71 '<@(_sources)', 60 '<@(_sources)',
(...skipping 10 matching lines...) Expand all
82 '--var_name', 'Builtin::io_source_', 71 '--var_name', 'Builtin::io_source_',
83 '<@(_sources)', 72 '<@(_sources)',
84 ], 73 ],
85 'message': 'Generating ''<(io_cc_file)'' file.' 74 'message': 'Generating ''<(io_cc_file)'' file.'
86 }, 75 },
87 ] 76 ]
88 }, 77 },
89 { 78 {
90 'target_name': 'generate_json_cc_file', 79 'target_name': 'generate_json_cc_file',
91 'type': 'none', 80 'type': 'none',
92 'conditions': [
93 ['OS=="win"', {
94 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
95 }],
96 ],
97 'includes': [ 81 'includes': [
98 'json_sources.gypi', 82 'json_sources.gypi',
99 ], 83 ],
100 'actions': [ 84 'actions': [
101 { 85 {
102 'action_name': 'generate_json_cc', 86 'action_name': 'generate_json_cc',
103 'inputs': [ 87 'inputs': [
104 '../tools/create_string_literal.py', 88 '../tools/create_string_literal.py',
105 '<(builtin_in_cc_file)', 89 '<(builtin_in_cc_file)',
106 '<@(_sources)', 90 '<@(_sources)',
(...skipping 10 matching lines...) Expand all
117 '--var_name', 'Builtin::json_source_', 101 '--var_name', 'Builtin::json_source_',
118 '<@(_sources)', 102 '<@(_sources)',
119 ], 103 ],
120 'message': 'Generating ''<(json_cc_file)'' file.' 104 'message': 'Generating ''<(json_cc_file)'' file.'
121 }, 105 },
122 ] 106 ]
123 }, 107 },
124 { 108 {
125 'target_name': 'generate_uri_cc_file', 109 'target_name': 'generate_uri_cc_file',
126 'type': 'none', 110 'type': 'none',
127 'conditions': [
128 ['OS=="win"', {
129 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
130 }],
131 ],
132 'includes': [ 111 'includes': [
133 'uri_sources.gypi', 112 'uri_sources.gypi',
134 ], 113 ],
135 'actions': [ 114 'actions': [
136 { 115 {
137 'action_name': 'generate_uri_cc', 116 'action_name': 'generate_uri_cc',
138 'inputs': [ 117 'inputs': [
139 '../tools/create_string_literal.py', 118 '../tools/create_string_literal.py',
140 '<(builtin_in_cc_file)', 119 '<(builtin_in_cc_file)',
141 '<@(_sources)', 120 '<@(_sources)',
(...skipping 10 matching lines...) Expand all
152 '--var_name', 'Builtin::uri_source_', 131 '--var_name', 'Builtin::uri_source_',
153 '<@(_sources)', 132 '<@(_sources)',
154 ], 133 ],
155 'message': 'Generating ''<(uri_cc_file)'' file.' 134 'message': 'Generating ''<(uri_cc_file)'' file.'
156 }, 135 },
157 ] 136 ]
158 }, 137 },
159 { 138 {
160 'target_name': 'generate_utf_cc_file', 139 'target_name': 'generate_utf_cc_file',
161 'type': 'none', 140 'type': 'none',
162 'conditions': [
163 ['OS=="win"', {
164 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
165 }],
166 ],
167 'includes': [ 141 'includes': [
168 'utf_sources.gypi', 142 'utf_sources.gypi',
169 ], 143 ],
170 'actions': [ 144 'actions': [
171 { 145 {
172 'action_name': 'generate_utf_cc', 146 'action_name': 'generate_utf_cc',
173 'inputs': [ 147 'inputs': [
174 '../tools/create_string_literal.py', 148 '../tools/create_string_literal.py',
175 '<(builtin_in_cc_file)', 149 '<(builtin_in_cc_file)',
176 '<@(_sources)', 150 '<@(_sources)',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ['OS=="win"', { 260 ['OS=="win"', {
287 'link_settings': { 261 'link_settings': {
288 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], 262 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ],
289 }, 263 },
290 }]], 264 }]],
291 }, 265 },
292 { 266 {
293 # Generate snapshot file. 267 # Generate snapshot file.
294 'target_name': 'generate_snapshot_file', 268 'target_name': 'generate_snapshot_file',
295 'type': 'none', 269 'type': 'none',
296 'conditions': [
297 ['OS=="win"', {
298 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
299 }],
300 ],
301 'dependencies': [ 270 'dependencies': [
302 'gen_snapshot', 271 'gen_snapshot',
303 ], 272 ],
304 'actions': [ 273 'actions': [
305 { 274 {
306 'action_name': 'generate_snapshot_file', 275 'action_name': 'generate_snapshot_file',
307 'inputs': [ 276 'inputs': [
308 '../tools/create_snapshot_file.py', 277 '../tools/create_snapshot_file.py',
309 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', 278 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
310 '<(snapshot_in_cc_file)', 279 '<(snapshot_in_cc_file)',
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 ['OS=="mac"', { 426 ['OS=="mac"', {
458 'xcode_settings': { 427 'xcode_settings': {
459 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 428 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
460 }, 429 },
461 }], 430 }],
462 ], 431 ],
463 }, 432 },
464 ], 433 ],
465 } 434 }
466 435
OLDNEW
« dart/dart.gyp ('K') | « dart/frog/dart-frog.gyp ('k') | dart/runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698