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 # Exclude DDC's old location in case folks didn't remove it. | 16 # Exclude DDC's old location in case folks didn't remove it. |
17 '<!@(["python", "../tools/list_pkg_directories.py", ' | 17 '<!@(["python", "../tools/list_pkg_directories.py", ' |
18 '"../third_party/pkg", "--exclude=dev_compiler"])', | 18 '"../third_party/pkg", "--exclude=dev_compiler"])', |
19 '<!@(["python", "../tools/list_pkg_directories.py", ' | 19 '<!@(["python", "../tools/list_pkg_directories.py", ' |
20 '"../third_party/pkg_tested"])', | 20 '"../third_party/pkg_tested"])', |
21 '<!@(["python", "../tools/list_pkg_directories.py", ' | 21 '<!@(["python", "../tools/list_pkg_directories.py", ' |
22 '"../runtime"])', | 22 '"../runtime"])', |
23 '../sdk/lib/_internal/js_runtime/lib', | 23 '../sdk/lib/_internal/js_runtime/lib', |
24 '../sdk/lib/_internal/sdk_library_metadata/lib', | 24 '../sdk/lib/_internal/sdk_library_metadata/lib', |
25 '../third_party/observatory_pub_packages/packages/charted/lib', | 25 '../third_party/observatory_pub_packages/packages/charted/lib', |
26 ], | 26 ], |
27 'outputs': [ | 27 'outputs': [ |
28 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 28 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
| 29 '<(PRODUCT_DIR)/.packages', |
29 ], | 30 ], |
30 'action': [ | 31 'action': [ |
31 'python', '../tools/make_links.py', | 32 'python', '../tools/make_links.py', '--create-links', |
| 33 '--create-package-file', |
32 '--timestamp_file=<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 34 '--timestamp_file=<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
33 '<(PRODUCT_DIR)/packages', | 35 '<(PRODUCT_DIR)', |
34 '<@(_inputs)', | 36 '<@(_inputs)', |
35 # Pub imports dart2js as compiler_unsupported so it can work outside | 37 # Pub imports dart2js as compiler_unsupported so it can work outside |
36 # the SDK. Map that to the compiler package. | 38 # the SDK. Map that to the compiler package. |
37 'compiler/lib:compiler_unsupported' | 39 'compiler/lib:compiler_unsupported' |
38 ], | 40 ], |
39 }, | 41 }, |
40 ], | 42 ], |
41 } | 43 } |
42 ], | 44 ], |
43 } | 45 } |
OLD | NEW |