| 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 12 matching lines...) Expand all Loading... |
| 23 ], | 23 ], |
| 24 'sources': [ | 24 'sources': [ |
| 25 'iossim.mm', | 25 'iossim.mm', |
| 26 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', | 26 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', |
| 27 ], | 27 ], |
| 28 'libraries': [ | 28 'libraries': [ |
| 29 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 29 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 30 ], | 30 ], |
| 31 'actions': [ | 31 'actions': [ |
| 32 { | 32 { |
| 33 'action_name': 'generate_iphone_sim_header', | 33 'action_name': 'generate_dvt_iphone_sim_header', |
| 34 'inputs': [ | 34 'inputs': [ |
| 35 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework/Versio
ns/Current/iPhoneSimulatorRemoteClient', | 35 '<(iphone_sim_path)/DVTiPhoneSimulatorRemoteClient.framework/Ver
sions/Current/DVTiPhoneSimulatorRemoteClient', |
| 36 '<(PRODUCT_DIR)/class-dump', | 36 '<(PRODUCT_DIR)/class-dump', |
| 37 ], | 37 ], |
| 38 'outputs': [ | 38 'outputs': [ |
| 39 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h' | 39 '<(INTERMEDIATE_DIR)/iossim/DVTiPhoneSimulatorRemoteClient.h' |
| 40 ], | 40 ], |
| 41 'action': [ | 41 'action': [ |
| 42 # Actions don't provide a way to redirect stdout, so a custom | 42 # Actions don't provide a way to redirect stdout, so a custom |
| 43 # script is invoked that will execute the first argument and wri
te | 43 # script is invoked that will execute the first argument and |
| 44 # the output to the file specified as the second argument. | 44 # write the output to the file specified as the second argument. |
| 45 # -I sorts classes, categories, and protocols by inheritance. |
| 46 # -C <regex> only displays classes matching regular expression. |
| 45 './redirect-stdout.sh', | 47 './redirect-stdout.sh', |
| 46 '<(PRODUCT_DIR)/class-dump -CiPhoneSimulator <(iphone_sim_path)/
iPhoneSimulatorRemoteClient.framework', | 48 '<(PRODUCT_DIR)/class-dump -I -CiPhoneSimulator <(iphone_sim_pat
h)/DVTiPhoneSimulatorRemoteClient.framework', |
| 47 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', | 49 '<(INTERMEDIATE_DIR)/iossim/DVTiPhoneSimulatorRemoteClient.h', |
| 48 ], | 50 ], |
| 49 'message': 'Generating header', | 51 'message': 'Generating header', |
| 50 }, | 52 }, |
| 51 ], | 53 ], |
| 52 'xcode_settings': { | 54 'xcode_settings': { |
| 53 'WARNING_CFLAGS': [ | 55 'WARNING_CFLAGS': [ |
| 54 '-Wno-objc-property-no-attribute', | 56 '-Wno-objc-property-no-attribute', |
| 55 ], | 57 ], |
| 56 }, | 58 }, |
| 57 }, | 59 }, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 83 'iossim', | 85 'iossim', |
| 84 ], | 86 ], |
| 85 'message': 'Generating the iossim executable', | 87 'message': 'Generating the iossim executable', |
| 86 }, | 88 }, |
| 87 ], | 89 ], |
| 88 }, | 90 }, |
| 89 ], | 91 ], |
| 90 }], | 92 }], |
| 91 ], | 93 ], |
| 92 } | 94 } |
| OLD | NEW |