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

Side by Side Diff: runtime/observatory/observatory.gypi

Issue 2370773002: Remove pub get from GYP observatory build. (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 | « no previous file | no next file » | 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 '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': 'fetch_observatory_deps', 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 'actions': [
18 {
19 'action_name': 'get_obsevatory_dependencies',
20 'inputs': [
21 '../../tools/observatory_tool.py',
22 'pubspec.yaml',
23 ],
24 'outputs': [
25 '<(gen_source_dir)/observatory_packages.stamp'
26 ],
27 'action': [
28 'python',
29 '../tools/observatory_tool.py',
30 '--sdk=True',
31 '--stamp',
32 '<(gen_source_dir)/observatory_packages.stamp',
33 '--dart-executable',
34 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)',
35 '--directory', 'observatory',
36 '--command', 'get',
37 ],
38 }
39 ],
40 },
41 {
42 'target_name': 'build_observatory',
43 'type': 'none',
44 'dependencies': [
45 'dart_bootstrap#host',
46 'fetch_observatory_deps#host',
47 ],
48 'toolsets': ['host'],
49 'includes': [ 17 'includes': [
50 'observatory_sources.gypi', 18 'observatory_sources.gypi',
51 ], 19 ],
52 'actions': [ 20 'actions': [
53 { 21 {
54 'action_name': 'pub_build_observatory', 22 'action_name': 'pub_build_observatory',
55 'inputs': [ 23 'inputs': [
56 '../../tools/observatory_tool.py', 24 '../../tools/observatory_tool.py',
57 '<(gen_source_dir)/observatory_packages.stamp', 25 '<(gen_source_dir)/observatory_packages.stamp',
58 '<@(_sources)', 26 '<@(_sources)',
(...skipping 28 matching lines...) Expand all
87 '--dart-executable', 55 '--dart-executable',
88 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)', 56 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)',
89 '--directory', '<(PRODUCT_DIR)/observatory/', 57 '--directory', '<(PRODUCT_DIR)/observatory/',
90 '--command', 'deploy', 58 '--command', 'deploy',
91 ], 59 ],
92 } 60 }
93 ], 61 ],
94 }, 62 },
95 ], 63 ],
96 } 64 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698