OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'All', | 8 'target_name': 'All', |
9 'type': 'none', | 9 'type': 'none', |
10 'xcode_create_dependents_test_runner': 1, | 10 'xcode_create_dependents_test_runner': 1, |
11 'dependencies': [ | 11 'dependencies': [ |
12 'some.gyp:*', | 12 'some.gyp:*', |
13 '../base/base.gyp:*', | |
14 # Add new dependencies to the !ios section just below, not here (see | 13 # Add new dependencies to the !ios section just below, not here (see |
15 # the comment there). | 14 # the comment there). |
16 ], | 15 ], |
17 'conditions': [ | 16 'conditions': [ |
18 # TODO(ios): This is temporary; currently almost nothing builds with | 17 # TODO(ios): This is temporary; currently almost nothing builds with |
19 # OS=ios. Move dependencies back to the main dependencies section above | 18 # OS=ios. Move dependencies back to the main dependencies section above |
20 # as gyp files come online. | 19 # as gyp files come online. |
21 ['OS!="ios"', { | 20 ['OS!="ios"', { |
22 'dependencies': [ | 21 'dependencies': [ |
22 '../base/base.gyp:*', | |
23 '../chrome/chrome.gyp:*', | 23 '../chrome/chrome.gyp:*', |
24 '../content/content.gyp:*', | 24 '../content/content.gyp:*', |
25 '../crypto/crypto.gyp:*', | 25 '../crypto/crypto.gyp:*', |
26 '../ui/ui.gyp:*', | 26 '../ui/ui.gyp:*', |
27 '../gpu/gpu.gyp:*', | 27 '../gpu/gpu.gyp:*', |
28 '../gpu/tools/tools.gyp:*', | 28 '../gpu/tools/tools.gyp:*', |
29 '../ipc/ipc.gyp:*', | 29 '../ipc/ipc.gyp:*', |
30 '../jingle/jingle.gyp:*', | 30 '../jingle/jingle.gyp:*', |
31 '../media/media.gyp:*', | 31 '../media/media.gyp:*', |
32 '../net/net.gyp:*', | 32 '../net/net.gyp:*', |
(...skipping 27 matching lines...) Expand all Loading... | |
60 '../third_party/sqlite/sqlite.gyp:*', | 60 '../third_party/sqlite/sqlite.gyp:*', |
61 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*', | 61 '../third_party/WebKit/Source/WebKit/chromium/All.gyp:*', |
62 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_de vtools_zip', | 62 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_de vtools_zip', |
63 '../third_party/zlib/zlib.gyp:*', | 63 '../third_party/zlib/zlib.gyp:*', |
64 '../v8/tools/gyp/v8.gyp:*', | 64 '../v8/tools/gyp/v8.gyp:*', |
65 '../webkit/support/webkit_support.gyp:*', | 65 '../webkit/support/webkit_support.gyp:*', |
66 '../webkit/webkit.gyp:*', | 66 '../webkit/webkit.gyp:*', |
67 'temp_gyp/googleurl.gyp:*', | 67 'temp_gyp/googleurl.gyp:*', |
68 '<(libjpeg_gyp_path):*', | 68 '<(libjpeg_gyp_path):*', |
69 ], | 69 ], |
70 }, { | |
rohitrao (ping after 24h)
2012/07/11 11:52:31
I'm having trouble parsing this gyp file. Is the
stuartmorgan
2012/07/11 13:49:51
This is gyp-ese for if/else.
'conditions': [
[<
rohitrao (ping after 24h)
2012/07/11 14:01:58
Oh, I see. So this is the else-clause, OS==ios.
| |
71 'dependencies': [ | |
72 '../base/base.gyp:base', | |
73 ], | |
70 }], | 74 }], |
71 ['os_posix==1 and OS!="android" and OS!="ios"', { | 75 ['os_posix==1 and OS!="android" and OS!="ios"', { |
72 'dependencies': [ | 76 'dependencies': [ |
73 '../third_party/yasm/yasm.gyp:*#host', | 77 '../third_party/yasm/yasm.gyp:*#host', |
74 ], | 78 ], |
75 }], | 79 }], |
76 ['OS=="mac" or OS=="win"', { | 80 ['OS=="mac" or OS=="ios" or OS=="win"', { |
77 'dependencies': [ | 81 'dependencies': [ |
78 '../third_party/nss/nss.gyp:*', | 82 '../third_party/nss/nss.gyp:*', |
79 ], | 83 ], |
80 }], | 84 }], |
81 ['OS=="mac"', { | 85 ['OS=="mac"', { |
82 'dependencies': [ | 86 'dependencies': [ |
83 '../third_party/ocmock/ocmock.gyp:*', | 87 '../third_party/ocmock/ocmock.gyp:*', |
84 ], | 88 ], |
85 }], | 89 }], |
86 ['OS=="linux"', { | 90 ['OS=="linux"', { |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
668 'dependencies': [ | 672 'dependencies': [ |
669 '../chromeos/chromeos.gyp:chromeos_unittests', | 673 '../chromeos/chromeos.gyp:chromeos_unittests', |
670 ], | 674 ], |
671 }], | 675 }], |
672 ], | 676 ], |
673 }, | 677 }, |
674 ], # targets | 678 ], # targets |
675 }], # "use_aura==1" | 679 }], # "use_aura==1" |
676 ], # conditions | 680 ], # conditions |
677 } | 681 } |
OLD | NEW |