| OLD | NEW |
| 1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2013, 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': 'pub', | 8 'target_name': 'pub', |
| 9 'type': 'none', | 9 'type': 'none', |
| 10 'dependencies': [ | 10 'dependencies': [ |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 ], | 30 ], |
| 31 'action': [ | 31 'action': [ |
| 32 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 32 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 33 '--package-root=<(PRODUCT_DIR)/packages/', | 33 '--package-root=<(PRODUCT_DIR)/packages/', |
| 34 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 34 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
| 35 '../../sdk/lib/_internal/pub/bin/pub.dart', | 35 '../../sdk/lib/_internal/pub/bin/pub.dart', |
| 36 ] | 36 ] |
| 37 }, | 37 }, |
| 38 ], | 38 ], |
| 39 }, | 39 }, |
| 40 { | |
| 41 'target_name': 'core_stubs', | |
| 42 'type': 'none', | |
| 43 'dependencies': [ | |
| 44 '../../runtime/dart-runtime.gyp:dart', | |
| 45 '../../pkg/pkg.gyp:pkg_packages', | |
| 46 '../../pkg/pkg_files.gyp:pkg_files_stamp' | |
| 47 ], | |
| 48 'actions': [ | |
| 49 { | |
| 50 'action_name': 'generate_core_stubs', | |
| 51 'inputs': [ | |
| 52 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
| 53 '../../sdk/lib/_internal/libraries.dart', | |
| 54 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | |
| 55 ], | |
| 56 'outputs': [ | |
| 57 '<(SHARED_INTERMEDIATE_DIR)/core_stubs/dart_io.dart', | |
| 58 ], | |
| 59 'action': [ | |
| 60 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
| 61 '--package-root=<(PRODUCT_DIR)/packages/', | |
| 62 '../../pkg/stub_core_library/bin/stub_core_library.dart', | |
| 63 '<(SHARED_INTERMEDIATE_DIR)/core_stubs', | |
| 64 ], | |
| 65 } | |
| 66 ] | |
| 67 }, | |
| 68 # Other targets depend on pub files, but have to many inputs, which causes | 40 # Other targets depend on pub files, but have to many inputs, which causes |
| 69 # issues on some platforms. | 41 # issues on some platforms. |
| 70 # This target lists all the files in sdk/lib/_internal/pub, | 42 # This target lists all the files in sdk/lib/_internal/pub, |
| 71 # and creates a single pub_files.stamp | 43 # and creates a single pub_files.stamp |
| 72 { | 44 { |
| 73 'target_name': 'pub_files_stamp', | 45 'target_name': 'pub_files_stamp', |
| 74 'type': 'none', | 46 'type': 'none', |
| 75 'actions': [ | 47 'actions': [ |
| 76 { | 48 { |
| 77 'action_name': 'make_pub_files_stamp', | 49 'action_name': 'make_pub_files_stamp', |
| 78 'inputs': [ | 50 'inputs': [ |
| 79 '../../tools/create_timestamp_file.py', | 51 '../../tools/create_timestamp_file.py', |
| 80 '<!@(["python", "../../tools/list_files.py", "\\.dart$",' | 52 '<!@(["python", "../../tools/list_files.py", "\\.dart$",' |
| 81 ' "../../sdk/lib/_internal/pub"])', | 53 ' "../../sdk/lib/_internal/pub"])', |
| 82 ], | 54 ], |
| 83 'outputs': [ | 55 'outputs': [ |
| 84 '<(SHARED_INTERMEDIATE_DIR)/pub_files.stamp', | 56 '<(SHARED_INTERMEDIATE_DIR)/pub_files.stamp', |
| 85 ], | 57 ], |
| 86 'action': [ | 58 'action': [ |
| 87 'python', '../../tools/create_timestamp_file.py', | 59 'python', '../../tools/create_timestamp_file.py', |
| 88 '<@(_outputs)', | 60 '<@(_outputs)', |
| 89 ], | 61 ], |
| 90 }, | 62 }, |
| 91 ], | 63 ], |
| 92 } | 64 } |
| 93 | 65 |
| 94 | 66 |
| 95 ], | 67 ], |
| 96 } | 68 } |
| OLD | NEW |