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

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

Issue 8989020: Fix build to create Windows SDK. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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.gyp ('k') | frog/frogc.bat » ('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) 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 'msvs_cygwin_dirs': ['<(cygwin_dir)'],
11 },
6 'targets': [ 12 'targets': [
7 { 13 {
8 'target_name': 'frog', 14 'target_name': 'frog',
9 'dependencies': [ 15 'conditions': [
10 '../runtime/dart-runtime.gyp:dart', 16 ['OS=="linux"', {
11 '../third_party/v8/src/d8.gyp:d8', 17 'dependencies': [
12 ], 18 '../runtime/dart-runtime.gyp:dart',
19 '../third_party/v8/src/d8.gyp:d8',
20 ],
21 }],
22 ['OS=="mac"', {
23 'dependencies': [
24 '../runtime/dart-runtime.gyp:dart',
25 '../third_party/v8/src/d8.gyp:d8',
26 ],
27 }],
28 ['OS=="win"', {
29 'dependencies': [
30 # TODO(efortuna): Currently the Windows build only runs using the
31 # dart VM, so we don't depend on d8 because of v8 build issues. Fix
32 # this so that Windows can also run with node.js and d8.
33 '../runtime/dart-runtime.gyp:dart',
34 ],
35 }]],
13 'type': 'none', 36 'type': 'none',
14 'actions': [ 37 'actions': [
15 { 38 {
16 'action_name': 'generate_frog', 39 'action_name': 'generate_frog',
17 'inputs': [ 40 'inputs': [
18 '<!@(["python", "scripts/list_frog_files.py"])', 41 '<!@(["python", "scripts/list_frog_files.py"])',
19 'scripts/bootstrap/frog_bootstrap_wrapper.py', 42 'scripts/bootstrap/frog_bootstrap_wrapper.py',
20 'scripts/bootstrap/frog_wrapper.py', 43 'scripts/bootstrap/frog_wrapper.py',
21 'frog.py', 44 'frog.py',
22 ], 45 ],
23 'outputs': [ 46 'outputs': [
24 '<(PRODUCT_DIR)/frog/bin/frog', 47 '<(PRODUCT_DIR)/frog/bin/frog',
25 ], 48 ],
26 'action': [ 49 'action': [
27 'python', 50 'python',
28 'scripts/bootstrap/frog_bootstrap_wrapper.py', 51 'scripts/bootstrap/frog_bootstrap_wrapper.py',
29 '<(PRODUCT_DIR)', 52 '<(PRODUCT_DIR)',
30 ], 53 ],
31 'message': 'Generating frog file' 54 'message': 'Generating frog file'
32 }, 55 },
33 ], 56 ],
34 }, 57 },
35 { 58 {
36 'target_name': 'frogsh', 59 'target_name': 'frogsh',
37 'dependencies': [ 60 'conditions': [
38 '../runtime/dart-runtime.gyp:dart', 61 ['OS=="linux"', {
39 '../third_party/v8/src/d8.gyp:d8', 62 'dependencies': [
40 ], 63 '../runtime/dart-runtime.gyp:dart',
64 '../third_party/v8/src/d8.gyp:d8',
65 ],
66 }],
67 ['OS=="mac"', {
68 'dependencies': [
69 '../runtime/dart-runtime.gyp:dart',
70 '../third_party/v8/src/d8.gyp:d8',
71 ],
72 }],
73 ['OS=="win"', {
74 'dependencies': [
75 # TODO(efortuna): Currently the Windows build only runs using the
76 # dart VM, so we don't depend on d8 because of v8 build issues. Fix
77 # this so that Windows can also run with node.js and d8.
78 '../runtime/dart-runtime.gyp:dart',
79 ],
80 }]],
41 'type': 'none', 81 'type': 'none',
42 'actions': [ 82 'actions': [
43 { 83 {
44 'action_name': 'generate_frogsh', 84 'action_name': 'generate_frogsh',
45 'inputs': [ 85 'inputs': [
46 '<!@(["python", "scripts/list_frog_files.py"])', 86 '<!@(["python", "scripts/list_frog_files.py"])',
47 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', 87 'scripts/bootstrap/frogsh_bootstrap_wrapper.py',
48 'frog.py', 88 'frog.py',
49 ], 89 ],
50 'outputs': [ 90 'outputs': [
51 '<(PRODUCT_DIR)/frog/bin/frogsh', 91 '<(PRODUCT_DIR)/frog/bin/frogsh',
52 ], 92 ],
53 'action': [ 93 'action': [
54 'python', 94 'python',
55 'scripts/bootstrap/frogsh_bootstrap_wrapper.py', 95 'scripts/bootstrap/frogsh_bootstrap_wrapper.py',
56 '<(PRODUCT_DIR)', 96 '<(PRODUCT_DIR)',
57 ], 97 ],
58 'message': 'Generating frogsh file' 98 'message': 'Generating frogsh file'
59 }, 99 },
60 ], 100 ],
61 }, 101 },
62 ], 102 ],
63 } 103 }
OLDNEW
« no previous file with comments | « dart.gyp ('k') | frog/frogc.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698