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

Side by Side Diff: utils/dartanalyzer/dartanalyzer.gyp

Issue 2372573002: Add explicit package spec to snapshot build steps (Closed)
Patch Set: Created 4 years, 2 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 | « utils/compiler/compiler.gyp ('k') | utils/dartdevc/dartdevc.gyp » ('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': 'dartanalyzer', 8 'target_name': 'dartanalyzer',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
11 '../../runtime/dart-runtime.gyp:dart', 11 '../../runtime/dart-runtime.gyp:dart',
12 ], 12 ],
13 'actions': [ 13 'actions': [
14 { 14 {
15 'action_name': 'generate_dartanalyzer_snapshot', 15 'action_name': 'generate_dartanalyzer_snapshot',
16 'inputs': [ 16 'inputs': [
17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
18 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', 18 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart',
19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer_cli"])', 19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer_cli"])',
20 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer"])', 20 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer"])',
21 ], 21 ],
22 'outputs': [ 22 'outputs': [
23 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', 23 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot',
24 ], 24 ],
25 'action': [ 25 'action': [
26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
27 '--packages=../../.packages',
27 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', 28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot',
28 '../../pkg/analyzer_cli/bin/analyzer.dart', 29 '../../pkg/analyzer_cli/bin/analyzer.dart',
29 ], 30 ],
30 }, 31 },
31 { 32 {
32 'action_name': 'generate_summary_spec', 33 'action_name': 'generate_summary_spec',
33 'inputs': [ 34 'inputs': [
34 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
35 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib"])', 36 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib"])',
36 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer"])', 37 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer"])',
37 ], 38 ],
38 'outputs': [ 39 'outputs': [
39 '<(SHARED_INTERMEDIATE_DIR)/spec.sum', 40 '<(SHARED_INTERMEDIATE_DIR)/spec.sum',
40 ], 41 ],
41 'action': [ 42 'action': [
42 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 43 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
44 '--packages=../../.packages',
43 '../../pkg/analyzer/tool/summary/build_sdk_summaries.dart', 45 '../../pkg/analyzer/tool/summary/build_sdk_summaries.dart',
44 'build-spec', 46 'build-spec',
45 '<(SHARED_INTERMEDIATE_DIR)/spec.sum', 47 '<(SHARED_INTERMEDIATE_DIR)/spec.sum',
46 ], 48 ],
47 }, 49 },
48 { 50 {
49 'action_name': 'generate_summary_strong', 51 'action_name': 'generate_summary_strong',
50 'inputs': [ 52 'inputs': [
51 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 53 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
52 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib"])', 54 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib"])',
53 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer"])', 55 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/ analyzer"])',
54 ], 56 ],
55 'outputs': [ 57 'outputs': [
56 '<(SHARED_INTERMEDIATE_DIR)/strong.sum', 58 '<(SHARED_INTERMEDIATE_DIR)/strong.sum',
57 ], 59 ],
58 'action': [ 60 'action': [
59 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 61 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
62 '--packages=../../.packages',
60 '../../pkg/analyzer/tool/summary/build_sdk_summaries.dart', 63 '../../pkg/analyzer/tool/summary/build_sdk_summaries.dart',
61 'build-strong', 64 'build-strong',
62 '<(SHARED_INTERMEDIATE_DIR)/strong.sum', 65 '<(SHARED_INTERMEDIATE_DIR)/strong.sum',
63 ], 66 ],
64 }, 67 },
65 ], 68 ],
66 }, 69 },
67 ], 70 ],
68 } 71 }
OLDNEW
« no previous file with comments | « utils/compiler/compiler.gyp ('k') | utils/dartdevc/dartdevc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698