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 { |
(...skipping 11 matching lines...) Expand all Loading... |
22 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 22 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
23 'pubspec.yaml', | 23 'pubspec.yaml', |
24 ], | 24 ], |
25 'outputs': [ | 25 'outputs': [ |
26 '<(gen_source_dir)/observatory_packages.stamp' | 26 '<(gen_source_dir)/observatory_packages.stamp' |
27 ], | 27 ], |
28 'action': [ | 28 'action': [ |
29 'python', | 29 'python', |
30 '../tools/observatory_tool.py', | 30 '../tools/observatory_tool.py', |
31 '--sdk=True', | 31 '--sdk=True', |
32 '--package-root', '<(PRODUCT_DIR)/packages', | |
33 '--stamp', | 32 '--stamp', |
34 '<(gen_source_dir)/observatory_packages.stamp', | 33 '<(gen_source_dir)/observatory_packages.stamp', |
35 '--dart-executable', | 34 '--dart-executable', |
36 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | 35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', |
37 '--directory', 'observatory', | 36 '--directory', 'observatory', |
38 '--command', 'get', | 37 '--command', 'get', |
39 ], | 38 ], |
40 } | 39 } |
41 ], | 40 ], |
42 }, | 41 }, |
(...skipping 16 matching lines...) Expand all Loading... |
59 '<(gen_source_dir)/observatory_packages.stamp', | 58 '<(gen_source_dir)/observatory_packages.stamp', |
60 '<@(_sources)', | 59 '<@(_sources)', |
61 ], | 60 ], |
62 'outputs': [ | 61 'outputs': [ |
63 '<(PRODUCT_DIR)/observatory/build/web/index.html', | 62 '<(PRODUCT_DIR)/observatory/build/web/index.html', |
64 ], | 63 ], |
65 'action': [ | 64 'action': [ |
66 'python', | 65 'python', |
67 '../tools/observatory_tool.py', | 66 '../tools/observatory_tool.py', |
68 '--sdk=True', | 67 '--sdk=True', |
69 '--package-root', '<(PRODUCT_DIR)/packages', | |
70 '--dart-executable', | 68 '--dart-executable', |
71 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | 69 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', |
72 '--directory', 'observatory', | 70 '--directory', 'observatory', |
73 '--command', 'build', | 71 '--command', 'build', |
74 '<(PRODUCT_DIR)/observatory/build' | 72 '<(PRODUCT_DIR)/observatory/build' |
75 ], | 73 ], |
76 }, | 74 }, |
77 { | 75 { |
78 'action_name': 'deploy_observatory', | 76 'action_name': 'deploy_observatory', |
79 'inputs': [ | 77 'inputs': [ |
80 '../../tools/observatory_tool.py', | 78 '../../tools/observatory_tool.py', |
81 '<(PRODUCT_DIR)/observatory/build/web/index.html', | 79 '<(PRODUCT_DIR)/observatory/build/web/index.html', |
82 ], | 80 ], |
83 'outputs': [ | 81 'outputs': [ |
84 '<(PRODUCT_DIR)/observatory/deployed/web/index.html', | 82 '<(PRODUCT_DIR)/observatory/deployed/web/index.html', |
85 ], | 83 ], |
86 'action': [ | 84 'action': [ |
87 'python', | 85 'python', |
88 '../tools/observatory_tool.py', | 86 '../tools/observatory_tool.py', |
89 '--sdk=True', | 87 '--sdk=True', |
90 '--package-root', '<(PRODUCT_DIR)/packages', | |
91 '--dart-executable', | 88 '--dart-executable', |
92 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', | 89 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', |
93 '--directory', '<(PRODUCT_DIR)/observatory/', | 90 '--directory', '<(PRODUCT_DIR)/observatory/', |
94 '--command', 'deploy', | 91 '--command', 'deploy', |
95 ], | 92 ], |
96 } | 93 } |
97 ], | 94 ], |
98 }, | 95 }, |
99 ], | 96 ], |
100 } | 97 } |
OLD | NEW |