| 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 'conditions': [ | 6 'conditions': [ |
| 7 ['OS!="ios" or "<(GENERATOR)"=="ninja"', { | 7 ['OS!="ios" or "<(GENERATOR)"=="ninja"', { |
| 8 'targets': [ | 8 'targets': [ |
| 9 { | 9 { |
| 10 'target_name': 'iossim', | 10 'target_name': 'iossim', |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 }, { # else, OS=="ios" and "<(GENERATOR)"!="ninja" | 129 }, { # else, OS=="ios" and "<(GENERATOR)"!="ninja" |
| 130 'variables': { | 130 'variables': { |
| 131 'ninja_output_dir': 'ninja-iossim', | 131 'ninja_output_dir': 'ninja-iossim', |
| 132 'ninja_product_dir': | 132 'ninja_product_dir': |
| 133 '$(SYMROOT)/<(ninja_output_dir)/<(CONFIGURATION_NAME)', | 133 '$(SYMROOT)/<(ninja_output_dir)/<(CONFIGURATION_NAME)', |
| 134 }, | 134 }, |
| 135 'targets': [ | 135 'targets': [ |
| 136 { | 136 { |
| 137 'target_name': 'iossim', | 137 'target_name': 'iossim', |
| 138 'type': 'none', | 138 'type': 'none', |
| 139 'toolsets': ['host'], |
| 139 'variables': { | 140 'variables': { |
| 140 # Gyp to rerun | 141 # Gyp to rerun |
| 141 're_run_targets': [ | 142 're_run_targets': [ |
| 142 'testing/iossim/iossim.gyp', | 143 'testing/iossim/iossim.gyp', |
| 143 ], | 144 ], |
| 144 }, | 145 }, |
| 145 'includes': ['../../build/ios/mac_build.gypi'], | 146 'includes': ['../../build/ios/mac_build.gypi'], |
| 146 'actions': [ | 147 'actions': [ |
| 147 { | 148 { |
| 148 'action_name': 'compile iossim', | 149 'action_name': 'compile iossim', |
| 149 'inputs': [], | 150 'inputs': [], |
| 150 'outputs': [], | 151 'outputs': [], |
| 151 'action': [ | 152 'action': [ |
| 152 '<@(ninja_cmd)', | 153 '<@(ninja_cmd)', |
| 153 'iossim', | 154 'iossim', |
| 154 ], | 155 ], |
| 155 'message': 'Generating the iossim executable', | 156 'message': 'Generating the iossim executable', |
| 156 }, | 157 }, |
| 157 ], | 158 ], |
| 158 }, | 159 }, |
| 159 ], | 160 ], |
| 160 }], | 161 }], |
| 161 ], | 162 ], |
| 162 } | 163 } |
| OLD | NEW |