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

Side by Side Diff: dart.gyp

Issue 10578048: Revert "Enables building dart_analyzer on windows and packaging it in the SDK" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | tools/create_sdk.py » ('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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'compiler', 8 'target_name': 'compiler',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
(...skipping 12 matching lines...) Expand all
23 ], 23 ],
24 }, 24 },
25 { 25 {
26 # Build the SDK. This target is separate from upload_sdk as the 26 # Build the SDK. This target is separate from upload_sdk as the
27 # editor needs to build the SDK without uploading it. 27 # editor needs to build the SDK without uploading it.
28 'target_name': 'create_sdk', 28 'target_name': 'create_sdk',
29 'type': 'none', 29 'type': 'none',
30 'dependencies': [ 30 'dependencies': [
31 'runtime/dart-runtime.gyp:dart', 31 'runtime/dart-runtime.gyp:dart',
32 'dart2js', 32 'dart2js',
33 'compiler',
34 ], 33 ],
35 'actions': [ 34 'actions': [
36 { 35 {
37 'action_name': 'create_sdk_py', 36 'action_name': 'create_sdk_py',
38 'inputs': [ 37 'inputs': [
39 '<!@(["python", "tools/list_files.py", "\\.dart$", "lib"])', 38 '<!@(["python", "tools/list_files.py", "\\.dart$", "lib"])',
40 '<!@(["python", "tools/list_files.py", "import_.*\\.config$", "lib/c onfig"])', 39 '<!@(["python", "tools/list_files.py", "import_.*\\.config$", "lib/c onfig"])',
41 'tools/create_sdk.py', 40 'tools/create_sdk.py',
42 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 41 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
43 '<(PRODUCT_DIR)/dart2js', 42 '<(PRODUCT_DIR)/dart2js',
44 '<(PRODUCT_DIR)/dart2js.bat', 43 '<(PRODUCT_DIR)/dart2js.bat',
45 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer'
46 ], 44 ],
47 'outputs': [ 45 'outputs': [
48 '<(PRODUCT_DIR)/dart-sdk/create.stamp', 46 '<(PRODUCT_DIR)/dart-sdk/create.stamp',
49 ], 47 ],
50 'action': [ 48 'action': [
51 'python', 49 'python',
52 'tools/create_sdk.py', 50 'tools/create_sdk.py',
53 '<(PRODUCT_DIR)/dart-sdk', 51 '<(PRODUCT_DIR)/dart-sdk',
54 ], 52 ],
55 'message': 'Creating SDK.', 53 'message': 'Creating SDK.',
54 'conditions' : [
55 ['(OS=="linux" or OS=="mac") ', {
56 'inputs' : [
57 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer'
58 ],
59 }],
60 ],
56 }, 61 },
57 ], 62 ],
63 'conditions' : [
64 ['(OS=="linux" or OS=="mac") ', {
65 'dependencies': [
66 'compiler',
67 ],
68 }],
69 ],
58 }, 70 },
59 { 71 {
60 # Upload the SDK. This target is separate from create_sdk as the 72 # Upload the SDK. This target is separate from create_sdk as the
61 # editor needs to build the SDK without uploading it. 73 # editor needs to build the SDK without uploading it.
62 'target_name': 'upload_sdk', 74 'target_name': 'upload_sdk',
63 'type': 'none', 75 'type': 'none',
64 'dependencies': [ 76 'dependencies': [
65 'create_sdk', 77 'create_sdk',
66 ], 78 ],
67 'actions': [ 79 'actions': [
(...skipping 23 matching lines...) Expand all
91 }, 103 },
92 { 104 {
93 'target_name': 'api_docs', 105 'target_name': 'api_docs',
94 'type': 'none', 106 'type': 'none',
95 'dependencies': [ 107 'dependencies': [
96 'utils/apidoc/apidoc.gyp:api_docs', 108 'utils/apidoc/apidoc.gyp:api_docs',
97 ], 109 ],
98 } 110 }
99 ], 111 ],
100 } 112 }
OLDNEW
« no previous file with comments | « no previous file | tools/create_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698