OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'pkg_packages', | |
9 'type': 'none', | |
10 'actions': [ | |
11 { | |
12 'action_name': 'make_pkg_packages', | |
13 'inputs': [ | |
14 '../tools/make_links.py', | |
15 '<!@(["python", "../tools/list_pkg_directories.py", "."])', | |
16 # Exclude DDC's old location in case folks didn't remove it. | |
17 '<!@(["python", "../tools/list_pkg_directories.py", ' | |
18 '"../third_party/pkg", "--exclude=dev_compiler"])', | |
19 '<!@(["python", "../tools/list_pkg_directories.py", ' | |
20 '"../third_party/pkg_tested"])', | |
21 '<!@(["python", "../tools/list_pkg_directories.py", ' | |
22 '"../runtime"])', | |
23 '../sdk/lib/_internal/js_runtime/lib', | |
24 '../sdk/lib/_internal/sdk_library_metadata/lib', | |
25 '../third_party/observatory_pub_packages/packages/charted/lib', | |
26 ], | |
27 'outputs': [ | |
28 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | |
29 '<(PRODUCT_DIR)/.packages', | |
30 ], | |
31 'action': [ | |
32 'python', '../tools/make_links.py', '--create-links', | |
33 '--create-package-file', | |
34 '--timestamp_file=<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | |
35 '<(PRODUCT_DIR)', | |
36 '<@(_inputs)', | |
37 # Pub imports dart2js as compiler_unsupported so it can work outside | |
38 # the SDK. Map that to the compiler package. | |
39 'compiler/lib:compiler_unsupported' | |
40 ], | |
41 }, | |
42 ], | |
43 } | |
44 ], | |
45 } | |
OLD | NEW |