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 '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 'dependencies': [ | |
15 'third_party_pkg_files_stamp', | |
ahe
2014/07/02 12:31:25
Remove this.
ricow1
2014/07/02 12:40:17
Done.
| |
16 ], | |
17 'actions': [ | |
18 { | |
19 'action_name': 'make_pkg_files_stamp', | |
20 'inputs': [ | |
21 '../tools/create_timestamp_file.py', | |
22 '<!@(["python", "../tools/list_files.py", "\\.dart$", "."])', | |
23 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', | |
24 ], | |
25 'outputs': [ | |
26 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | |
27 ], | |
28 'action': [ | |
29 'python', '../tools/create_timestamp_file.py', | |
30 '<@(_outputs)', | |
31 ], | |
32 }, | |
33 ], | |
34 }, | |
35 { | |
36 'target_name': 'third_party_pkg_files_stamp', | |
37 'type': 'none', | |
14 'actions': [ | 38 'actions': [ |
ahe
2014/07/02 12:31:25
No need to add a new target. You can have several
ricow1
2014/07/02 12:40:17
Done.
| |
15 { | 39 { |
16 'action_name': 'make_pkg_files_stamp', | 40 'action_name': 'make_pkg_files_stamp', |
17 'inputs': [ | 41 'inputs': [ |
18 '../tools/create_timestamp_file.py', | 42 '../tools/create_timestamp_file.py', |
19 '<!@(["python", "../tools/list_files.py", "\\.dart$", "."])', | |
20 '<!@(["python", "../tools/list_files.py", "\\.dart$",' | 43 '<!@(["python", "../tools/list_files.py", "\\.dart$",' |
21 '"../third_party/pkg"])', | 44 '"../third_party/pkg"])', |
22 ], | 45 ], |
23 'outputs': [ | 46 'outputs': [ |
24 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 47 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', |
25 ], | 48 ], |
26 'action': [ | 49 'action': [ |
27 'python', '../tools/create_timestamp_file.py', | 50 'python', '../tools/create_timestamp_file.py', |
28 '<@(_outputs)', | 51 '<@(_outputs)', |
29 ], | 52 ], |
30 }, | 53 }, |
31 ], | 54 ], |
32 } | 55 } |
33 ], | 56 ], |
34 } | 57 } |
OLD | NEW |