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

Side by Side Diff: pkg/pkg_files.gyp

Issue 1459893002: Exclude any *_test.dart and */test/*dart when creating stamp files for pkg and third_party/pkg (Closed) Base URL: https://github.com/dart-lang/sdk.git@_temporary_fletch_patches
Patch Set: Created 5 years, 1 month 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 to many inputs, which causes 7 # Other targets depend on pkg files, but have to 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 a single pkg_files.stamp 10 # and creates a single pkg_files.stamp
11 { 11 {
12 'target_name': 'pkg_files_stamp', 12 'target_name': 'pkg_files_stamp',
13 'type': 'none', 13 'type': 'none',
14 'actions': [ 14 'actions': [
15 { 15 {
16 'action_name': 'make_pkg_files_stamp', 16 'action_name': 'make_pkg_files_stamp',
17 'inputs': [ 17 'inputs': [
18 '../tools/create_timestamp_file.py', 18 '../tools/create_timestamp_file.py',
19 '<!@(["python", "../tools/list_files.py", "\\.dart$", "."])', 19 '<!@(["python", "../tools/list_files.py",'
20 '"^(?!.*/test/).*(?<!_test)[.]dart$",'
21 '"."])',
20 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', 22 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp',
21 ], 23 ],
22 'outputs': [ 24 'outputs': [
23 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', 25 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp',
24 ], 26 ],
25 'action': [ 27 'action': [
26 'python', '../tools/create_timestamp_file.py', 28 'python', '../tools/create_timestamp_file.py',
27 '<@(_outputs)', 29 '<@(_outputs)',
28 ], 30 ],
29 }, 31 },
30 { 32 {
31 'action_name': 'make_third_party_pkg_files_stamp', 33 'action_name': 'make_third_party_pkg_files_stamp',
32 'inputs': [ 34 'inputs': [
33 '../tools/create_timestamp_file.py', 35 '../tools/create_timestamp_file.py',
34 '<!@(["python", "../tools/list_files.py",' 36 '<!@(["python", "../tools/list_files.py",'
35 '"^(?!.*_test.dart).*dart$",' 37 '"^(?!.*/test/).*(?<!_test)[.]dart$",'
36 '"../third_party/pkg"])', 38 '"../third_party/pkg"])',
37 ], 39 ],
38 'outputs': [ 40 'outputs': [
39 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', 41 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp',
40 ], 42 ],
41 'action': [ 43 'action': [
42 'python', '../tools/create_timestamp_file.py', 44 'python', '../tools/create_timestamp_file.py',
43 '<@(_outputs)', 45 '<@(_outputs)',
44 ], 46 ],
45 }, 47 },
46 ], 48 ],
47 }, 49 },
48 ], 50 ],
49 } 51 }
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