OLD | NEW |
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 '../../pkg/pkg.gyp:pkg_packages', | 12 '../../pkg/pkg.gyp:pkg_packages', |
13 ], | 13 ], |
14 'actions': [ | 14 'actions': [ |
15 { | 15 { |
16 'action_name': 'generate_dartanalyzer_snapshot', | 16 'action_name': 'generate_dartanalyzer_snapshot', |
17 'inputs': [ | 17 'inputs': [ |
18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
19 '../../sdk/lib/_internal/libraries.dart', | 19 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', |
20 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 20 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../thir
d_party/pkg/analyzer_cli"])', | 21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../thir
d_party/pkg/analyzer_cli"])', |
22 ], | 22 ], |
23 'outputs': [ | 23 'outputs': [ |
24 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', | 24 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', |
25 ], | 25 ], |
26 'action': [ | 26 'action': [ |
27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', | 28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', |
29 '--package-root=<(PRODUCT_DIR)/packages/', | 29 '--package-root=<(PRODUCT_DIR)/packages/', |
30 '../../third_party/pkg/analyzer_cli/bin/analyzer.dart', | 30 '../../third_party/pkg/analyzer_cli/bin/analyzer.dart', |
31 ], | 31 ], |
32 }, | 32 }, |
33 ], | 33 ], |
34 }, | 34 }, |
35 ], | 35 ], |
36 } | 36 } |
OLD | NEW |