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

Side by Side Diff: pkg/pkg_files.gyp

Issue 1903733004: Exclude any *_test.dart and */test/*dart when creating stamp files for pkg and third_party/pkg. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 'targets': [ 6 'targets': [
7 # Other targets depend on pkg files, but have too many inputs, which causes 7 # Other targets depend on pkg files, but have too many inputs, which causes
8 # issues on some platforms. 8 # issues on some platforms.
9 # This target lists all the files in pkg and third_party/pkg, 9 # This target lists all the files in pkg and third_party/pkg,
10 # and creates the timestamp pkg_files.stamp, which depends on some 10 # and creates the timestamp pkg_files.stamp, which depends on some
11 # intermediate helper timestamps. 11 # intermediate helper timestamps.
12 # We split third_party/pkg up into three groups, based on the last 12 # We split third_party/pkg up into three groups, based on the last
13 # character before .dart at the end of the filename. 13 # character before .dart at the end of the filename.
14 { 14 {
15 'target_name': 'pkg_files_stamp', 15 'target_name': 'pkg_files_stamp',
16 'type': 'none', 16 'type': 'none',
17 'actions': [ 17 'actions': [
18 { 18 {
19 'action_name': 'make_pkg_files_stamp', 19 'action_name': 'make_pkg_files_stamp',
20 'inputs': [ 20 'inputs': [
21 '../tools/create_timestamp_file.py', 21 '../tools/create_timestamp_file.py',
22 '<!@(["python", "../tools/list_files.py", "\\.dart$", "."])', 22 '<!@(["python", "../tools/list_files.py",'
23 '"^(?!.*/test/).*(?<!_test)[.]dart$",'
24 '"."])',
23 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_1.stamp', 25 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_1.stamp',
24 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_2.stamp', 26 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_2.stamp',
25 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_3.stamp', 27 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_3.stamp',
26 ], 28 ],
27 'outputs': [ 29 'outputs': [
28 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', 30 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp',
29 ], 31 ],
30 'action': [ 32 'action': [
31 'python', '../tools/create_timestamp_file.py', 33 'python', '../tools/create_timestamp_file.py',
32 '<@(_outputs)', 34 '<@(_outputs)',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 ], 79 ],
78 'action': [ 80 'action': [
79 'python', '../tools/create_timestamp_file.py', 81 'python', '../tools/create_timestamp_file.py',
80 '<@(_outputs)', 82 '<@(_outputs)',
81 ], 83 ],
82 }, 84 },
83 ], 85 ],
84 }, 86 },
85 ], 87 ],
86 } 88 }
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