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

Side by Side Diff: dart/frog/dart-frog.gyp

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) 2011, 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 { 5 {
6 'variables': {
7 # These variables are used in the creation of the .vcproj file on
8 # Windows.
9 'cygwin_dir': '../third_party/cygwin',
10 },
11 'targets': [ 6 'targets': [
12 { 7 {
13 'target_name': 'frog', 8 'target_name': 'frog',
14 'conditions': [ 9 'conditions': [
15 ['OS=="linux"', { 10 ['OS=="linux"', {
16 'dependencies': [ 11 'dependencies': [
17 '../runtime/dart-runtime.gyp:dart', 12 '../runtime/dart-runtime.gyp:dart',
18 '../third_party/v8/src/d8.gyp:d8', 13 '../third_party/v8/src/d8.gyp:d8',
19 ], 14 ],
20 }], 15 }],
21 ['OS=="mac"', { 16 ['OS=="mac"', {
22 'dependencies': [ 17 'dependencies': [
23 '../runtime/dart-runtime.gyp:dart', 18 '../runtime/dart-runtime.gyp:dart',
24 '../third_party/v8/src/d8.gyp:d8', 19 '../third_party/v8/src/d8.gyp:d8',
25 ], 20 ],
26 }], 21 }],
27 ['OS=="win"', { 22 ['OS=="win"', {
28 'dependencies': [ 23 'dependencies': [
29 # TODO(efortuna): Currently the Windows build only runs using the 24 # TODO(efortuna): Currently the Windows build only runs using the
30 # dart VM, so we don't depend on d8 because of v8 build issues. Fix 25 # dart VM, so we don't depend on d8 because of v8 build issues. Fix
31 # this so that Windows can also run with node.js and d8. 26 # this so that Windows can also run with node.js and d8.
32 '../runtime/dart-runtime.gyp:dart', 27 '../runtime/dart-runtime.gyp:dart',
33 ], 28 ],
34 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
35 }]], 29 }]],
36 'type': 'none', 30 'type': 'none',
37 'actions': [ 31 'actions': [
38 { 32 {
39 'action_name': 'generate_frog', 33 'action_name': 'generate_frog',
40 'inputs': [ 34 'inputs': [
41 '<!@(["python", "scripts/list_frog_files.py"])', 35 '<!@(["python", "scripts/list_frog_files.py"])',
42 'scripts/bootstrap/frog_bootstrap_wrapper.py', 36 'scripts/bootstrap/frog_bootstrap_wrapper.py',
43 'scripts/bootstrap/frog_wrapper.py', 37 'scripts/bootstrap/frog_wrapper.py',
44 'frog.py', 38 'frog.py',
(...skipping 26 matching lines...) Expand all
71 '../third_party/v8/src/d8.gyp:d8', 65 '../third_party/v8/src/d8.gyp:d8',
72 ], 66 ],
73 }], 67 }],
74 ['OS=="win"', { 68 ['OS=="win"', {
75 'dependencies': [ 69 'dependencies': [
76 # TODO(efortuna): Currently the Windows build only runs using the 70 # TODO(efortuna): Currently the Windows build only runs using the
77 # dart VM, so we don't depend on d8 because of v8 build issues. Fix 71 # dart VM, so we don't depend on d8 because of v8 build issues. Fix
78 # this so that Windows can also run with node.js and d8. 72 # this so that Windows can also run with node.js and d8.
79 '../runtime/dart-runtime.gyp:dart', 73 '../runtime/dart-runtime.gyp:dart',
80 ], 74 ],
81 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
82 }]], 75 }]],
83 'type': 'none', 76 'type': 'none',
84 'actions': [ 77 'actions': [
85 { 78 {
86 'action_name': 'generate_frogsh', 79 'action_name': 'generate_frogsh',
87 'inputs': [ 80 'inputs': [
88 '<!@(["python", "scripts/list_frog_files.py"])', 81 '<!@(["python", "scripts/list_frog_files.py"])',
89 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', 82 'scripts/bootstrap/frogsh_bootstrap_wrapper.py',
90 'minfrog.dart', 83 'minfrog.dart',
91 '<(PRODUCT_DIR)/dart', 84 '<(PRODUCT_DIR)/dart',
92 ], 85 ],
93 'outputs': [ 86 'outputs': [
94 '<(PRODUCT_DIR)/frog/bin/frogsh', 87 '<(PRODUCT_DIR)/frog/bin/frogsh',
95 ], 88 ],
96 'action': [ 89 'action': [
97 'python', 90 'python',
98 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', 91 'scripts/bootstrap/frogsh_bootstrap_wrapper.py',
99 '<(PRODUCT_DIR)', 92 '<(PRODUCT_DIR)',
100 ], 93 ],
101 'message': 'Generating frogsh file' 94 'message': 'Generating frogsh file'
102 }, 95 },
103 ], 96 ],
104 }, 97 },
105 ], 98 ],
106 } 99 }
OLDNEW
« dart/dart.gyp ('K') | « dart/dart.gyp ('k') | dart/runtime/bin/bin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698