| 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 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 Loading... |
| 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 } |
| OLD | NEW |