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

Side by Side Diff: pkg/pkg_files.gyp

Issue 1516803002: Split up list of package files in build process, to work around xcode limits. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, 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 # Other targets depend on pkg files, but have to many inputs, which causes 7 # Other targets depend on pkg files, but have too many inputs, which causes
8 # issues on some platforms. 8 # issues on some platforms.
9 # This target lists all the files in pkg and third_party/pkg, 9 # This target lists all the files in pkg and third_party/pkg,
10 # and creates a single pkg_files.stamp 10 # and creates the timestamp pkg_files.stamp, which depends on some
11 # intermediate helper timestamps.
12 # We split third_party/pkg up into three groups, based on the last
13 # character before .dart at the end of the filename.
11 { 14 {
12 'target_name': 'pkg_files_stamp', 15 'target_name': 'pkg_files_stamp',
13 'type': 'none', 16 'type': 'none',
14 'actions': [ 17 'actions': [
15 { 18 {
16 'action_name': 'make_pkg_files_stamp', 19 'action_name': 'make_pkg_files_stamp',
17 'inputs': [ 20 'inputs': [
18 '../tools/create_timestamp_file.py', 21 '../tools/create_timestamp_file.py',
19 '<!@(["python", "../tools/list_files.py", "\\.dart$", "."])', 22 '<!@(["python", "../tools/list_files.py", "\\.dart$", "."])',
20 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', 23 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_1.stamp',
24 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_2.stamp',
25 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_3.stamp',
21 ], 26 ],
22 'outputs': [ 27 'outputs': [
23 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', 28 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp',
24 ], 29 ],
25 'action': [ 30 'action': [
26 'python', '../tools/create_timestamp_file.py', 31 'python', '../tools/create_timestamp_file.py',
27 '<@(_outputs)', 32 '<@(_outputs)',
28 ], 33 ],
29 }, 34 },
30 { 35 {
31 'action_name': 'make_third_party_pkg_files_stamp', 36 'action_name': 'make_third_party_pkg_files_1_stamp',
32 'inputs': [ 37 'inputs': [
33 '../tools/create_timestamp_file.py', 38 '../tools/create_timestamp_file.py',
34 '<!@(["python", "../tools/list_files.py",' 39 '<!@(["python", "../tools/list_files.py",'
35 '"^(?!.*_test.dart).*dart$",' 40 '"^(?!.*_test\.dart).*[a-k]\.dart$",'
36 '"../third_party/pkg"])', 41 '"../third_party/pkg"])',
37 ], 42 ],
38 'outputs': [ 43 'outputs': [
39 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files.stamp', 44 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_1.stamp',
40 ], 45 ],
41 'action': [ 46 'action': [
42 'python', '../tools/create_timestamp_file.py', 47 'python', '../tools/create_timestamp_file.py',
48 '<@(_outputs)',
49 ],
50 },
51 {
52 'action_name': 'make_third_party_pkg_files_2_stamp',
53 'inputs': [
54 '../tools/create_timestamp_file.py',
55 '<!@(["python", "../tools/list_files.py",'
56 '"^(?!.*_test\.dart).*[l-r]\.dart$",'
57 '"../third_party/pkg"])',
58 ],
59 'outputs': [
60 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_2.stamp',
61 ],
62 'action': [
63 'python', '../tools/create_timestamp_file.py',
64 '<@(_outputs)',
65 ],
66 },
67 {
68 'action_name': 'make_third_party_pkg_files_3_stamp',
69 'inputs': [
70 '../tools/create_timestamp_file.py',
71 '<!@(["python", "../tools/list_files.py",'
72 '"^(?!.*_test\.dart).*[^a-r]\.dart$",'
73 '"../third_party/pkg"])',
74 ],
75 'outputs': [
76 '<(SHARED_INTERMEDIATE_DIR)/third_party_pkg_files_3.stamp',
77 ],
78 'action': [
79 'python', '../tools/create_timestamp_file.py',
43 '<@(_outputs)', 80 '<@(_outputs)',
44 ], 81 ],
45 }, 82 },
46 ], 83 ],
47 }, 84 },
48 ], 85 ],
49 } 86 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698