OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # GN version: //components/mime_util/mime_util | 8 # GN version: //components/mime_util/mime_util |
9 'target_name': 'mime_util', | 9 'target_name': 'mime_util', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../../base/base.gyp:base', | 12 '../../base/base.gyp:base', |
13 '../../net/net.gyp:net', | 13 '../../net/net.gyp:net', |
14 ], | 14 ], |
15 'sources': [ | 15 'sources': [ |
16 'mime_util.cc', | 16 'mime_util.cc', |
17 'mime_util.h', | 17 'mime_util.h', |
18 ], | 18 ], |
| 19 'conditions': [ |
| 20 ['OS!="ios"', { |
| 21 # iOS doesn't use and must not depend on //media |
| 22 'dependencies': [ |
| 23 '../../media/media.gyp:media', |
| 24 ], |
| 25 }], |
| 26 ], |
19 } | 27 } |
20 ], | 28 ], |
21 } | 29 } |
OLD | NEW |