OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 { | 7 { |
8 'target_name': 'pkg_packages', | 8 'target_name': 'pkg_packages', |
9 'type': 'none', | 9 'type': 'none', |
10 'actions': [ | 10 'actions': [ |
(...skipping 14 matching lines...) Expand all Loading... |
25 ], | 25 ], |
26 'action': [ | 26 'action': [ |
27 'python', '../tools/make_links.py', | 27 'python', '../tools/make_links.py', |
28 '--timestamp_file=<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 28 '--timestamp_file=<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
29 '<(PRODUCT_DIR)/packages', | 29 '<(PRODUCT_DIR)/packages', |
30 '<@(_inputs)', | 30 '<@(_inputs)', |
31 ], | 31 ], |
32 }, | 32 }, |
33 ], | 33 ], |
34 }, | 34 }, |
35 # Other targets depend on pkg files, but have to many inputs, which causes | |
36 # issues on some platforms. | |
37 # This target lists all the files in pkg and third_party/pkg, | |
38 # and creates a single pkg_files.stamp | |
39 { | |
40 'target_name': 'pkg_files_stamp', | |
41 'type': 'none', | |
42 'actions': [ | |
43 { | |
44 'action_name': 'make_pkg_files_stamp', | |
45 'inputs': [ | |
46 '../tools/create_timestamp_file.py', | |
47 '<!@(["python", "../tools/list_files.py", "", "."])', | |
48 '<!@(["python", "../tools/list_files.py", "",' | |
49 '"../third_party/pkg"])', | |
50 ], | |
51 'outputs': [ | |
52 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | |
53 ], | |
54 'action': [ | |
55 'python', '../tools/create_timestamp_file.py', | |
56 '<@(_outputs)', | |
57 ], | |
58 }, | |
59 ], | |
60 } | |
61 ], | 35 ], |
62 } | 36 } |
OLD | NEW |