| 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 '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", "\\.dart$", "."])', |
| 20 '<!@(["python", "../tools/list_files.py", "\\.dart$",' | 20 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', |
| 21 '"../third_party/pkg"])', | |
| 22 ], | 21 ], |
| 23 'outputs': [ | 22 'outputs': [ |
| 24 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 23 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
| 25 ], | 24 ], |
| 26 'action': [ | 25 'action': [ |
| 27 'python', '../tools/create_timestamp_file.py', | 26 'python', '../tools/create_timestamp_file.py', |
| 27 '<@(_outputs)', |
| 28 ], |
| 29 }, |
| 30 { |
| 31 'action_name': 'make_third_party_pkg_files_stamp', |
| 32 'inputs': [ |
| 33 '../tools/create_timestamp_file.py', |
| 34 '<!@(["python", "../tools/list_files.py", "\\.dart$",' |
| 35 '"../third_party/pkg"])', |
| 36 ], |
| 37 'outputs': [ |
| 38 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', |
| 39 ], |
| 40 'action': [ |
| 41 'python', '../tools/create_timestamp_file.py', |
| 28 '<@(_outputs)', | 42 '<@(_outputs)', |
| 29 ], | 43 ], |
| 30 }, | 44 }, |
| 31 ], | 45 ], |
| 32 } | 46 } |
| 33 ], | 47 ], |
| 34 } | 48 } |
| OLD | NEW |