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

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

Issue 1270033002: Stop unnecessary Observatory rebuilds (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 {
(...skipping 25 matching lines...) Expand all
36 '--directory', 'observatory', 36 '--directory', 'observatory',
37 '--command', 'get', 37 '--command', 'get',
38 ], 38 ],
39 } 39 }
40 ], 40 ],
41 }, 41 },
42 { 42 {
43 'target_name': 'build_observatory', 43 'target_name': 'build_observatory',
44 'type': 'none', 44 'type': 'none',
45 'dependencies': [ 45 'dependencies': [
46 'dart_bootstrap#host',
47 'fetch_observatory_deps#host', 46 'fetch_observatory_deps#host',
48 # We use packages for building
49 '../pkg/pkg.gyp:pkg_packages#target',
50 ], 47 ],
51 'toolsets': ['host'], 48 'toolsets': ['host'],
52 'includes': [ 49 'includes': [
53 'observatory_sources.gypi', 50 'observatory_sources.gypi',
54 ], 51 ],
55 'actions': [ 52 'actions': [
56 { 53 {
57 'action_name': 'pub_build_observatory', 54 'action_name': 'pub_build_observatory',
58 'inputs': [ 55 'inputs': [
59 '../../tools/observatory_tool.py', 56 '../../tools/observatory_tool.py',
60 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
61 'pubspec.lock', 57 'pubspec.lock',
62 '<@(_sources)', 58 '<@(_sources)',
63 ], 59 ],
64 'outputs': [ 60 'outputs': [
65 '<(PRODUCT_DIR)/observatory/build/web/index.html', 61 '<(PRODUCT_DIR)/observatory/build/web/index.html',
66 '<(PRODUCT_DIR)/observatory/build/web/index.html.polymer.bootstrap.d art.js',
67 ], 62 ],
68 'action': [ 63 'action': [
69 'python', 64 'python',
70 '../tools/observatory_tool.py', 65 '../tools/observatory_tool.py',
71 '--package-root', '<(PRODUCT_DIR)/packages', 66 '--package-root', '<(PRODUCT_DIR)/packages',
72 '--dart-executable', 67 '--dart-executable',
73 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)', 68 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)',
74 '--directory', 'observatory', 69 '--directory', 'observatory',
75 '--command', 'build', 70 '--command', 'build',
76 '<(PRODUCT_DIR)/observatory/build' 71 '<(PRODUCT_DIR)/observatory/build'
77 ], 72 ],
78 }, 73 },
79 { 74 {
80 'action_name': 'deploy_observatory', 75 'action_name': 'deploy_observatory',
81 'inputs': [ 76 'inputs': [
82 '../../tools/observatory_tool.py', 77 '../../tools/observatory_tool.py',
83 '<(PRODUCT_DIR)/observatory/build/web/index.html', 78 '<(PRODUCT_DIR)/observatory/build/web/index.html',
84 '<(PRODUCT_DIR)/observatory/build/web/index.html.polymer.bootstrap.d art.js',
85 ], 79 ],
86 'outputs': [ 80 'outputs': [
87 '<(PRODUCT_DIR)/observatory/deployed/web/index.html', 81 '<(PRODUCT_DIR)/observatory/deployed/web/index.html',
88 '<(PRODUCT_DIR)/observatory/deployed/web/index.html.polymer.bootstra p.dart.js',
89 ], 82 ],
90 'action': [ 83 'action': [
91 'python', 84 'python',
92 '../tools/observatory_tool.py', 85 '../tools/observatory_tool.py',
93 '--package-root', '<(PRODUCT_DIR)/packages', 86 '--package-root', '<(PRODUCT_DIR)/packages',
94 '--dart-executable', 87 '--dart-executable',
95 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)', 88 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)',
96 '--directory', '<(PRODUCT_DIR)/observatory/', 89 '--directory', '<(PRODUCT_DIR)/observatory/',
97 '--command', 'deploy', 90 '--command', 'deploy',
98 ], 91 ],
99 } 92 }
100 ], 93 ],
101 }, 94 },
102 ], 95 ],
103 } 96 }
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