| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 8 'conditions': [ |
| 9 ['OS=="mac"', { | 9 ['OS=="mac" or (OS=="ios" and "<(GENERATOR)"=="ninja")', { |
| 10 'targets' : [ | 10 'targets' : [ |
| 11 { | 11 { |
| 12 'target_name' : 'mach_override', | 12 'target_name' : 'mach_override', |
| 13 'type': 'static_library', | 13 'type': 'static_library', |
| 14 'toolsets': ['host', 'target'], | 14 'toolsets': ['host', 'target'], |
| 15 'sources': [ | 15 'sources': [ |
| 16 'mach_override.c', | 16 'mach_override.c', |
| 17 'mach_override.h', | 17 'mach_override.h', |
| 18 ], | 18 ], |
| 19 }, | 19 }, |
| 20 ], | 20 ], |
| 21 }], | 21 }], |
| 22 ], | 22 ], |
| 23 } | 23 } |
| OLD | NEW |