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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'compiler', | 8 'target_name': 'compiler', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 ], | 114 ], |
115 }, | 115 }, |
116 { | 116 { |
117 'target_name': 'samples', | 117 'target_name': 'samples', |
118 'type': 'none', | 118 'type': 'none', |
119 'conditions': [ | 119 'conditions': [ |
120 ['OS=="android"', { | 120 ['OS=="android"', { |
121 'dependencies': [ | 121 'dependencies': [ |
122 'samples/android_sample/android_sample.gyp:android_sample', | 122 'samples/android_sample/android_sample.gyp:android_sample', |
123 ], | 123 ], |
124 }, | 124 }, |
vsm
2013/01/14 21:31:40
Note, if you add an extra {} clause, it's the else
gram
2013/01/16 01:49:16
I saw that but I find it more readable expanded ou
| |
125 ], | 125 ], |
126 ['OS!="android"', { | 126 ['OS=="win"', { |
127 'dependencies': [ | 127 'dependencies': [ |
128 'samples/sample_extension/sample_extension.gyp:sample_extension', | 128 'samples/sample_extension/sample_extension.gyp:sample_extension', |
129 ], | 129 ], |
130 }, | 130 }, |
131 ], | |
132 ['OS=="mac"', { | |
vsm
2013/01/14 21:31:40
I see "and", but not "or" in the chrome gyp files.
gram
2013/01/16 01:49:16
I used or elsewhere and it seemed to work so I'll
| |
133 'dependencies': [ | |
134 'samples/sample_extension/sample_extension.gyp:sample_extension', | |
135 'samples/mobile_emulator_sample/mobile_emulator_sample.gyp:mobile_ emulator_sample', | |
136 ], | |
137 }, | |
138 ], | |
139 ['OS=="linux"', { | |
140 'dependencies': [ | |
141 'samples/sample_extension/sample_extension.gyp:sample_extension', | |
142 'samples/mobile_emulator_sample/mobile_emulator_sample.gyp:mobile_ emulator_sample', | |
143 ], | |
144 }, | |
131 ] | 145 ] |
132 ], | 146 ], |
133 }, | 147 }, |
134 { | 148 { |
135 'target_name': 'packages', | 149 'target_name': 'packages', |
136 'type': 'none', | 150 'type': 'none', |
137 'dependencies': [ | 151 'dependencies': [ |
138 'pkg/pkg.gyp:pkg_packages', | 152 'pkg/pkg.gyp:pkg_packages', |
139 ], | 153 ], |
140 }, | 154 }, |
141 ], | 155 ], |
142 } | 156 } |
OLD | NEW |