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 'variables': { | 6 'variables': { |
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'build_observatory', | 11 'target_name': 'build_observatory', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 'dart_bootstrap#host', | 14 'dart_bootstrap#host', |
15 ], | 15 ], |
16 'toolsets': ['host'], | 16 'toolsets': ['host'], |
17 'includes': [ | 17 'includes': [ |
18 'observatory_sources.gypi', | 18 'observatory_sources.gypi', |
19 ], | 19 ], |
20 'actions': [ | 20 'actions': [ |
21 { | 21 { |
22 'action_name': 'pub_build_observatory', | 22 'action_name': 'pub_build_observatory', |
23 'inputs': [ | 23 'inputs': [ |
24 '../../tools/observatory_tool.py', | 24 '../../tools/observatory_tool.py', |
25 '<(gen_source_dir)/observatory_packages.stamp', | |
26 '<@(_sources)', | 25 '<@(_sources)', |
27 ], | 26 ], |
28 'outputs': [ | 27 'outputs': [ |
29 '<(PRODUCT_DIR)/observatory/build/web/index.html', | 28 '<(PRODUCT_DIR)/observatory/build/web/index.html', |
30 ], | 29 ], |
31 'action': [ | 30 'action': [ |
32 'python', | 31 'python', |
33 '../tools/observatory_tool.py', | 32 '../tools/observatory_tool.py', |
34 '--sdk=True', | 33 '--sdk=True', |
35 '--dart-executable', | 34 '--dart-executable', |
(...skipping 19 matching lines...) Expand all Loading... |
55 '--dart-executable', | 54 '--dart-executable', |
56 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | 55 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', |
57 '--directory', '<(PRODUCT_DIR)/observatory/', | 56 '--directory', '<(PRODUCT_DIR)/observatory/', |
58 '--command', 'deploy', | 57 '--command', 'deploy', |
59 ], | 58 ], |
60 } | 59 } |
61 ], | 60 ], |
62 }, | 61 }, |
63 ], | 62 ], |
64 } | 63 } |
OLD | NEW |