| 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 'variables': { | 6 'variables': { |
| 7 'dart_dir': '../..', | 7 'dart_dir': '../..', |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 '../../tools/VERSION', | 28 '../../tools/VERSION', |
| 29 ], | 29 ], |
| 30 'outputs': [ | 30 'outputs': [ |
| 31 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 31 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
| 32 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | 32 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', |
| 33 ], | 33 ], |
| 34 'action': [ | 34 'action': [ |
| 35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 36 'create_snapshot.dart', | 36 'create_snapshot.dart', |
| 37 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', | 37 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', |
| 38 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da
rt', | 38 '--dart2js_main=pkg/compiler/lib/src/dart2js.dart', |
| 39 '--docgen_main=pkg/docgen/bin/docgen.dart', | 39 '--docgen_main=pkg/docgen/bin/docgen.dart', |
| 40 '--package_root=<(PRODUCT_DIR)/packages/', | 40 '--package_root=<(PRODUCT_DIR)/packages/', |
| 41 ], | 41 ], |
| 42 }, | 42 }, |
| 43 ], | 43 ], |
| 44 }, | 44 }, |
| 45 # Other targets depend on dart2js files, but have to many inputs, | 45 # Other targets depend on dart2js files, but have to many inputs, |
| 46 # which causes issues on some platforms. | 46 # which causes issues on some platforms. |
| 47 # This target lists all the files in sdk/lib/_internal/compiler, | 47 # This target lists all the files in pkg/compiler, |
| 48 # and creates a single dart2js_files.stamp | 48 # and creates a single dart2js_files.stamp |
| 49 { | 49 { |
| 50 'target_name': 'dart2js_files_stamp', | 50 'target_name': 'dart2js_files_stamp', |
| 51 'type': 'none', | 51 'type': 'none', |
| 52 'actions': [ | 52 'actions': [ |
| 53 { | 53 { |
| 54 'action_name': 'make_dart2js_files_stamp', | 54 'action_name': 'make_dart2js_files_stamp', |
| 55 'inputs': [ | 55 'inputs': [ |
| 56 '../../tools/create_timestamp_file.py', | 56 '../../tools/create_timestamp_file.py', |
| 57 '<!@(["python", "../../tools/list_files.py", "\\.dart$",' | 57 '<!@(["python", "../../tools/list_files.py", "\\.dart$",' |
| 58 ' "../../sdk/lib/_internal/compiler"])', | 58 ' "../../pkg/compiler/lib"])', |
| 59 ], | 59 ], |
| 60 'outputs': [ | 60 'outputs': [ |
| 61 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', | 61 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', |
| 62 ], | 62 ], |
| 63 'action': [ | 63 'action': [ |
| 64 'python', '../../tools/create_timestamp_file.py', | 64 'python', '../../tools/create_timestamp_file.py', |
| 65 '<@(_outputs)', | 65 '<@(_outputs)', |
| 66 ], | 66 ], |
| 67 }, | 67 }, |
| 68 ], | 68 ], |
| 69 } | 69 } |
| 70 ], | 70 ], |
| 71 } | 71 } |
| OLD | NEW |