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

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

Issue 2992593002: [infra] Begin removing gyp (Closed)
Patch Set: Created 3 years, 4 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
OLDNEW
(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 'variables': {
7 'dart_dir': '../..',
8 },
9 'targets': [
10 {
11 'target_name': 'dart2js',
12 'type': 'none',
13 'dependencies': [
14 '../../runtime/dart-runtime.gyp:dart',
15 'dart2js_files_stamp',
16 ],
17 'actions': [
18 {
19 'action_name': 'generate_snapshots',
20 'inputs': [
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
22 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart',
23 '<!@(["python", "../../tools/list_files.py", "relative", '
24 '"\\.dart$", '
25 '"../../runtime/lib", '
26 '"../../sdk/lib/_internal/dartdoc"])',
27 'create_snapshot.dart',
28 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp',
29 '../../tools/VERSION',
30 ],
31 'outputs': [
32 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
33 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
34 ],
35 'action': [
36 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
37 '--packages=../../.packages',
38 'create_snapshot.dart',
39 '--output_dir=<(SHARED_INTERMEDIATE_DIR)',
40 '--dart2js_main=pkg/compiler/lib/src/dart2js.dart',
41 ],
42 },
43 ],
44 },
45 # Other targets depend on dart2js files, but have to many inputs,
46 # which causes issues on some platforms.
47 # This target lists all the files in pkg/compiler,
48 # and creates a single dart2js_files.stamp
49 {
50 'target_name': 'dart2js_files_stamp',
51 'type': 'none',
52 'actions': [
53 {
54 'action_name': 'make_dart2js_files_stamp',
55 'inputs': [
56 '../../tools/create_timestamp_file.py',
57 '<!@(["python", "../../tools/list_files.py", "relative", '
58 '"\\.dart$", '
59 ' "../../pkg/compiler/lib"])',
60 ],
61 'outputs': [
62 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp',
63 ],
64 'action': [
65 'python', '../../tools/create_timestamp_file.py',
66 '<@(_outputs)',
67 ],
68 },
69 ],
70 }
71 ],
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698