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. | |
TVL
2013/12/16 18:50:28
add the -C ?
justincohen
2013/12/16 18:59:52
Done.
| |
45 './redirect-stdout.sh', | 46 './redirect-stdout.sh', |
46 '<(PRODUCT_DIR)/class-dump -CiPhoneSimulator <(iphone_sim_path)/ iPhoneSimulatorRemoteClient.framework', | 47 '<(PRODUCT_DIR)/class-dump -I -CiPhoneSimulator <(iphone_sim_pat h)/DVTiPhoneSimulatorRemoteClient.framework', |
47 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', | 48 '<(INTERMEDIATE_DIR)/iossim/DVTiPhoneSimulatorRemoteClient.h', |
48 ], | 49 ], |
49 'message': 'Generating header', | 50 'message': 'Generating header', |
50 }, | 51 }, |
51 ], | 52 ], |
52 'xcode_settings': { | 53 'xcode_settings': { |
53 'WARNING_CFLAGS': [ | 54 'WARNING_CFLAGS': [ |
54 '-Wno-objc-property-no-attribute', | 55 '-Wno-objc-property-no-attribute', |
55 ], | 56 ], |
56 }, | 57 }, |
57 }, | 58 }, |
(...skipping 25 matching lines...) Expand all Loading... | |
83 'iossim', | 84 'iossim', |
84 ], | 85 ], |
85 'message': 'Generating the iossim executable', | 86 'message': 'Generating the iossim executable', |
86 }, | 87 }, |
87 ], | 88 ], |
88 }, | 89 }, |
89 ], | 90 ], |
90 }], | 91 }], |
91 ], | 92 ], |
92 } | 93 } |
OLD | NEW |