| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 # Other targets depend on pkg files, but have too many inputs, which causes | |
| 8 # issues on some platforms. | |
| 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 | |
| 11 # intermediate helper timestamps. | |
| 12 # We split third_party/pkg up into three groups, based on the first letter | |
| 13 # of the package name. | |
| 14 { | |
| 15 'target_name': 'pkg_files_stamp', | |
| 16 'type': 'none', | |
| 17 'actions': [ | |
| 18 { | |
| 19 'action_name': 'make_pkg_files_stamp', | |
| 20 'inputs': [ | |
| 21 '../tools/create_timestamp_file.py', | |
| 22 '<!@(["python", "../tools/list_dart_files.py", "relative", "."])', | |
| 23 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_a_k.stamp', | |
| 24 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_l_r.stamp', | |
| 25 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_s_z.stamp', | |
| 26 ], | |
| 27 'outputs': [ | |
| 28 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | |
| 29 ], | |
| 30 'action': [ | |
| 31 'python', '../tools/create_timestamp_file.py', | |
| 32 '<@(_outputs)', | |
| 33 ], | |
| 34 }, | |
| 35 { | |
| 36 'action_name': 'make_third_party_pkg_files_a_k_stamp', | |
| 37 'inputs': [ | |
| 38 '../tools/create_timestamp_file.py', | |
| 39 '<!@(["python", "../tools/list_dart_files.py", "relative", ' | |
| 40 '"../third_party/pkg", "[a-k].*"])', | |
| 41 ], | |
| 42 'outputs': [ | |
| 43 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_a_k.stamp', | |
| 44 ], | |
| 45 'action': [ | |
| 46 'python', '../tools/create_timestamp_file.py', | |
| 47 '<@(_outputs)', | |
| 48 ], | |
| 49 }, | |
| 50 { | |
| 51 'action_name': 'make_third_party_pkg_files_l_r_stamp', | |
| 52 'inputs': [ | |
| 53 '../tools/create_timestamp_file.py', | |
| 54 '<!@(["python", "../tools/list_dart_files.py", "relative", ' | |
| 55 '"../third_party/pkg", "[l-r].*"])', | |
| 56 ], | |
| 57 'outputs': [ | |
| 58 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_l_r.stamp', | |
| 59 ], | |
| 60 'action': [ | |
| 61 'python', '../tools/create_timestamp_file.py', | |
| 62 '<@(_outputs)', | |
| 63 ], | |
| 64 }, | |
| 65 { | |
| 66 'action_name': 'make_third_party_pkg_files_s_z_stamp', | |
| 67 'inputs': [ | |
| 68 '../tools/create_timestamp_file.py', | |
| 69 '<!@(["python", "../tools/list_dart_files.py", "relative", ' | |
| 70 '"../third_party/pkg", "[s-z].*"])', | |
| 71 ], | |
| 72 'outputs': [ | |
| 73 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_s_z.stamp', | |
| 74 ], | |
| 75 'action': [ | |
| 76 'python', '../tools/create_timestamp_file.py', | |
| 77 '<@(_outputs)', | |
| 78 ], | |
| 79 }, | |
| 80 ], | |
| 81 }, | |
| 82 ], | |
| 83 } | |
| OLD | NEW |