Chromium Code Reviews| 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', | |
| 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': [ |
| 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 } |
| 56 | |
|
Bill Hesse
2014/07/02 11:07:29
Stray line?
ricow1
2014/07/02 11:09:55
Done.
| |
| 33 ], | 57 ], |
| 34 } | 58 } |
| OLD | NEW |