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

Side by Side Diff: dart.gyp

Issue 10823209: Add support for building the Dart VM for Android OS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Directory::CreateTemp("") to work on Android. Also fix platform_test.dart to know about Android… Created 8 years, 4 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 | « no previous file | runtime/bin/bin.gypi » ('j') | runtime/bin/bin.gypi » ('J')
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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'compiler', 8 'target_name': 'compiler',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
11 'compiler/dart-compiler.gyp:dart_analyzer', 11 'compiler/dart-compiler.gyp:dart_analyzer',
12 ], 12 ],
13 'actions': [] 13 'actions': []
14 }, 14 },
15 { 15 {
16 'target_name': 'runtime', 16 'target_name': 'runtime',
17 'type': 'none', 17 'type': 'none',
18 'dependencies': [ 18 'dependencies': [
19 'runtime/dart-runtime.gyp:dart', 19 'runtime/dart-runtime.gyp:dart',
20 'runtime/dart-runtime.gyp:run_vm_tests', 20 'runtime/dart-runtime.gyp:run_vm_tests',
21 'runtime/dart-runtime.gyp:process_test', 21 'runtime/dart-runtime.gyp:process_test',
22 'runtime/dart-runtime.gyp:test_extension', 22 'runtime/dart-runtime.gyp:test_extension',
23 ], 23 ],
24 'conditions': [
25 ['dart_want_separate_host_toolset==1', {
ahe 2012/08/08 19:09:58 Looks like this is being added everywhere. I'd lik
jackpal 2012/08/09 01:09:48 This is left over from an attempt to get the full
26 'toolsets': ['host'],
27 }, {
28 'toolsets': ['target'],
29 }],
30 ]
24 }, 31 },
25 { 32 {
26 # Build the SDK. This target is separate from upload_sdk as the 33 # Build the SDK. This target is separate from upload_sdk as the
27 # editor needs to build the SDK without uploading it. 34 # editor needs to build the SDK without uploading it.
28 'target_name': 'create_sdk', 35 'target_name': 'create_sdk',
29 'type': 'none', 36 'type': 'none',
30 'dependencies': [ 37 'dependencies': [
31 'runtime/dart-runtime.gyp:dart', 38 'runtime/dart-runtime.gyp:dart',
32 'dart2js', 39 'dart2js',
33 ], 40 ],
(...skipping 25 matching lines...) Expand all
59 }], 66 }],
60 ], 67 ],
61 }, 68 },
62 ], 69 ],
63 'conditions' : [ 70 'conditions' : [
64 ['(OS=="linux" or OS=="mac") ', { 71 ['(OS=="linux" or OS=="mac") ', {
65 'dependencies': [ 72 'dependencies': [
66 'compiler', 73 'compiler',
67 ], 74 ],
68 }], 75 }],
76 ['dart_want_separate_host_toolset==1', {
77 'toolsets': ['host'],
78 }, {
79 'toolsets': ['target'],
80 }],
69 ], 81 ],
70 }, 82 },
71 { 83 {
72 # Upload the SDK. This target is separate from create_sdk as the 84 # Upload the SDK. This target is separate from create_sdk as the
73 # editor needs to build the SDK without uploading it. 85 # editor needs to build the SDK without uploading it.
74 'target_name': 'upload_sdk', 86 'target_name': 'upload_sdk',
75 'type': 'none', 87 'type': 'none',
76 'dependencies': [ 88 'dependencies': [
77 'create_sdk', 89 'create_sdk',
78 ], 90 ],
79 'actions': [ 91 'actions': [
80 { 92 {
81 'action_name': 'upload_sdk_py', 93 'action_name': 'upload_sdk_py',
82 'inputs': [ 94 'inputs': [
83 '<(PRODUCT_DIR)/dart-sdk/create.stamp', 95 '<(PRODUCT_DIR)/dart-sdk/create.stamp',
84 'tools/upload_sdk.py', 96 'tools/upload_sdk.py',
85 ], 97 ],
86 'outputs': [ 98 'outputs': [
87 '<(PRODUCT_DIR)/dart-sdk/upload.stamp', 99 '<(PRODUCT_DIR)/dart-sdk/upload.stamp',
88 ], 100 ],
89 'action': [ 101 'action': [
90 'python', 102 'python',
91 'tools/upload_sdk.py', 103 'tools/upload_sdk.py',
92 '<(PRODUCT_DIR)/dart-sdk' 104 '<(PRODUCT_DIR)/dart-sdk'
93 ], 105 ],
94 }, 106 },
95 ], 107 ],
108 'conditions': [
109 ['dart_want_separate_host_toolset==1', {
110 'toolsets': ['host'],
111 }, {
112 'toolsets': ['target'],
113 }],
114 ],
96 }, 115 },
97 { 116 {
98 'target_name': 'dart2js', 117 'target_name': 'dart2js',
99 'type': 'none', 118 'type': 'none',
100 'dependencies': [ 119 'dependencies': [
101 'utils/compiler/compiler.gyp:dart2js', 120 'utils/compiler/compiler.gyp:dart2js',
102 ], 121 ],
122 'conditions': [
123 ['dart_want_separate_host_toolset==1', {
124 'toolsets': ['host'],
125 }, {
126 'toolsets': ['target'],
127 }],
128 ],
103 }, 129 },
104 { 130 {
105 'target_name': 'api_docs', 131 'target_name': 'api_docs',
106 'type': 'none', 132 'type': 'none',
107 'dependencies': [ 133 'dependencies': [
108 'utils/apidoc/apidoc.gyp:api_docs', 134 'utils/apidoc/apidoc.gyp:api_docs',
109 ], 135 ],
136 'conditions': [
137 ['dart_want_separate_host_toolset==1', {
138 'toolsets': ['host'],
139 }, {
140 'toolsets': ['target'],
141 }]
142 ],
110 } 143 }
111 ], 144 ],
112 } 145 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/bin.gypi » ('j') | runtime/bin/bin.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698