Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: utils/compiler/compiler.gyp

Issue 1746743002: Use checked-in .package file for building and testing (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Status fixes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « utils/analysis_server/analysis_server.gyp ('k') | utils/compiler/create_snapshot.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 {
11 'target_name': 'dart2js', 11 'target_name': 'dart2js',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 '../../runtime/dart-runtime.gyp:dart', 14 '../../runtime/dart-runtime.gyp:dart',
15 '../../pkg/pkg.gyp:pkg_packages',
16 'dart2js_files_stamp', 15 'dart2js_files_stamp',
17 ], 16 ],
18 'actions': [ 17 'actions': [
19 { 18 {
20 'action_name': 'generate_snapshots', 19 'action_name': 'generate_snapshots',
21 'inputs': [ 20 'inputs': [
22 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
23 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', 22 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart',
24 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../runt ime/lib", "../../sdk/lib/_internal/dartdoc"])', 23 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../runt ime/lib", "../../sdk/lib/_internal/dartdoc"])',
25 'create_snapshot.dart', 24 'create_snapshot.dart',
26 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', 25 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp',
27 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', 26 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
28 '../../tools/VERSION', 27 '../../tools/VERSION',
29 ], 28 ],
30 'outputs': [ 29 'outputs': [
31 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', 30 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
32 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', 31 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
33 ], 32 ],
34 'action': [ 33 'action': [
35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 34 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
36 'create_snapshot.dart', 35 'create_snapshot.dart',
37 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', 36 '--output_dir=<(SHARED_INTERMEDIATE_DIR)',
38 '--dart2js_main=pkg/compiler/lib/src/dart2js.dart', 37 '--dart2js_main=pkg/compiler/lib/src/dart2js.dart',
39 '--package_root=<(PRODUCT_DIR)/packages/',
40 ], 38 ],
41 }, 39 },
42 ], 40 ],
43 }, 41 },
44 # Other targets depend on dart2js files, but have to many inputs, 42 # Other targets depend on dart2js files, but have to many inputs,
45 # which causes issues on some platforms. 43 # which causes issues on some platforms.
46 # This target lists all the files in pkg/compiler, 44 # This target lists all the files in pkg/compiler,
47 # and creates a single dart2js_files.stamp 45 # and creates a single dart2js_files.stamp
48 { 46 {
49 'target_name': 'dart2js_files_stamp', 47 'target_name': 'dart2js_files_stamp',
(...skipping 11 matching lines...) Expand all
61 ], 59 ],
62 'action': [ 60 'action': [
63 'python', '../../tools/create_timestamp_file.py', 61 'python', '../../tools/create_timestamp_file.py',
64 '<@(_outputs)', 62 '<@(_outputs)',
65 ], 63 ],
66 }, 64 },
67 ], 65 ],
68 } 66 }
69 ], 67 ],
70 } 68 }
OLDNEW
« no previous file with comments | « utils/analysis_server/analysis_server.gyp ('k') | utils/compiler/create_snapshot.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698