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

Side by Side Diff: create_sdk.gyp

Issue 1295073003: create dartdoc snapshot, add to dart-sdk. Also add resources needed to run dartdoc from the sdk. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: update dartdoc in DEPS Created 5 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
« no previous file with comments | « DEPS ('k') | sdk/bin/dartdoc » ('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) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, 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': 'create_sdk_internal', 8 'target_name': 'create_sdk_internal',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
11 'runtime/dart-runtime.gyp:dart', 11 'runtime/dart-runtime.gyp:dart',
12 'utils/compiler/compiler.gyp:dart2js', 12 'utils/compiler/compiler.gyp:dart2js',
13 'utils/pub/pub.gyp:pub', 13 'utils/pub/pub.gyp:pub',
14 'utils/dartfmt/dartfmt.gyp:dartfmt', 14 'utils/dartfmt/dartfmt.gyp:dartfmt',
15 'utils/dartdoc/dartdoc.gyp:dartdoc',
15 'utils/analysis_server/analysis_server.gyp:analysis_server', 16 'utils/analysis_server/analysis_server.gyp:analysis_server',
16 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', 17 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer',
17 ], 18 ],
18 'actions': [ 19 'actions': [
19 { 20 {
20 'action_name': 'create_sdk_py', 21 'action_name': 'create_sdk_py',
21 'inputs': [ 22 'inputs': [
22 # This is neccessary because we have all the pub test files inside 23 # This is neccessary because we have all the pub test files inside
23 # the pub directory instead of in tests/pub. Xcode can only handle 24 # the pub directory instead of in tests/pub. Xcode can only handle
24 # a certain amount of files in one list (also depending on the 25 # a certain amount of files in one list (also depending on the
25 # length of the path from where you run). This regexp excludes 26 # length of the path from where you run). This regexp excludes
26 # pub/test 27 # pub/test
27 '<!@(["python", "tools/list_files.py",' 28 '<!@(["python", "tools/list_files.py",'
28 '"^(?!.*pub/test).*dart$",' 29 '"^(?!.*pub/test).*dart$",'
29 '"sdk/lib"])', 30 '"sdk/lib"])',
30 '<!@(["python", "tools/list_files.py", "", ' 31 '<!@(["python", "tools/list_files.py", "", '
31 '"sdk/lib/_internal/js_runtime/lib/preambles"])', 32 '"sdk/lib/_internal/js_runtime/lib/preambles"])',
32 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', 33 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])',
33 'tools/create_sdk.py', 34 'tools/create_sdk.py',
34 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
35 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', 36 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
36 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', 37 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
37 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', 38 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
38 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', 39 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot',
39 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', 40 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot',
40 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', 41 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot',
42 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot',
41 'tools/VERSION' 43 'tools/VERSION'
42 ], 44 ],
43 'outputs': [ 45 'outputs': [
44 '<(PRODUCT_DIR)/dart-sdk/README', 46 '<(PRODUCT_DIR)/dart-sdk/README',
45 ], 47 ],
46 'action': [ 48 'action': [
47 'python', 49 'python',
48 'tools/create_sdk.py', 50 'tools/create_sdk.py',
49 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', 51 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk',
50 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' 52 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/'
51 ], 53 ],
52 'message': 'Creating SDK.', 54 'message': 'Creating SDK.',
53 }, 55 },
54 ], 56 ],
55 }, 57 },
56 ], 58 ],
57 } 59 }
OLDNEW
« no previous file with comments | « DEPS ('k') | sdk/bin/dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698