Chromium Code Reviews| 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': [ |
| 11 { | 11 { |
| 12 'action_name': 'make_pkg_packages', | 12 'action_name': 'make_pkg_packages', |
| 13 'inputs': [ | 13 'inputs': [ |
| 14 '../tools/make_links.py', | 14 '../tools/make_links.py', |
| 15 '<!@(["python", "../tools/list_pkg_directories.py", "."])', | 15 '<!@(["python", "../tools/list_pkg_directories.py", "."])', |
| 16 '<!@(["python", "../tools/list_pkg_directories.py", ' | 16 '<!@(["python", "../tools/list_pkg_directories.py", ' |
| 17 '"third_party"])', | 17 '"third_party"])', |
| 18 '<!@(["python", "../tools/list_pkg_directories.py", ' | 18 '<!@(["python", "../tools/list_pkg_directories.py", ' |
| 19 '"../third_party/pkg"])', | 19 '"../third_party/pkg"])', |
| 20 '<!@(["python", "../tools/list_pkg_directories.py", ' | 20 '<!@(["python", "../tools/list_pkg_directories.py", ' |
| 21 '"../pkg/polymer/example/"])', | 21 '"polymer/example/"])', |
| 22 ], | 22 ], |
| 23 'outputs': [ | 23 'outputs': [ |
| 24 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 24 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
| 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 }, | |
| 35 # Other targets depend on pkg files, but have to many inputs, which causes | |
|
Bill Hesse
2014/04/22 12:47:03
have too many inputs
| |
| 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)/pgk_files.stamp', | |
|
ricow1
2014/04/22 11:33:30
and here :-) thanks
| |
| 53 ], | |
| 54 'action': [ | |
| 55 'python', '../tools/create_timestamp_file.py', | |
| 56 '<@(_outputs)', | |
| 57 ], | |
| 58 }, | |
| 59 ], | |
| 34 } | 60 } |
| 35 ], | 61 ], |
| 36 } | 62 } |
| OLD | NEW |