OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | |
8 }, | |
9 'targets': [ | |
10 { | |
11 'target_name': 'build_observatory', | |
12 'type': 'none', | |
13 'dependencies': [ | |
14 'dart_bootstrap#host', | |
15 ], | |
16 'toolsets': ['host'], | |
17 'includes': [ | |
18 'observatory_sources.gypi', | |
19 ], | |
20 'actions': [ | |
21 { | |
22 'action_name': 'pub_build_observatory', | |
23 'inputs': [ | |
24 '../../tools/observatory_tool.py', | |
25 '<@(_sources)', | |
26 ], | |
27 'outputs': [ | |
28 '<(PRODUCT_DIR)/observatory/build/web/index.html', | |
29 ], | |
30 'action': [ | |
31 'python', | |
32 '../tools/observatory_tool.py', | |
33 '--sdk=True', | |
34 '--dart-executable', | |
35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | |
36 '--directory', 'observatory', | |
37 '--command', 'build', | |
38 '<(PRODUCT_DIR)/observatory/build' | |
39 ], | |
40 }, | |
41 { | |
42 'action_name': 'deploy_observatory', | |
43 'inputs': [ | |
44 '../../tools/observatory_tool.py', | |
45 '<(PRODUCT_DIR)/observatory/build/web/index.html', | |
46 ], | |
47 'outputs': [ | |
48 '<(PRODUCT_DIR)/observatory/deployed/web/index.html', | |
49 ], | |
50 'action': [ | |
51 'python', | |
52 '../tools/observatory_tool.py', | |
53 '--sdk=True', | |
54 '--dart-executable', | |
55 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | |
56 '--directory', '<(PRODUCT_DIR)/observatory/', | |
57 '--command', 'deploy', | |
58 ], | |
59 } | |
60 ], | |
61 }, | |
62 ], | |
63 } | |
OLD | NEW |