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 wri te |
44 # the output to the file specified as the second argument. | 44 # the output to the file specified as the second argument. |
TVL
2013/12/12 16:08:27
Document the args in the comment? (what's the -I
justincohen
2013/12/16 18:44:37
Done.
| |
45 './redirect-stdout.sh', | 45 './redirect-stdout.sh', |
46 '<(PRODUCT_DIR)/class-dump -CiPhoneSimulator <(iphone_sim_path)/ iPhoneSimulatorRemoteClient.framework', | 46 '<(PRODUCT_DIR)/class-dump -I -CiPhoneSimulator <(iphone_sim_pat h)/DVTiPhoneSimulatorRemoteClient.framework', |
47 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', | 47 '<(INTERMEDIATE_DIR)/iossim/DVTiPhoneSimulatorRemoteClient.h', |
48 ], | 48 ], |
49 'message': 'Generating header', | 49 'message': 'Generating header', |
50 }, | 50 }, |
51 ], | 51 ], |
52 'xcode_settings': { | 52 'xcode_settings': { |
53 'WARNING_CFLAGS': [ | 53 'WARNING_CFLAGS': [ |
54 '-Wno-objc-property-no-attribute', | 54 '-Wno-objc-property-no-attribute', |
55 ], | 55 ], |
56 }, | 56 }, |
57 }, | 57 }, |
(...skipping 25 matching lines...) Expand all Loading... | |
83 'iossim', | 83 'iossim', |
84 ], | 84 ], |
85 'message': 'Generating the iossim executable', | 85 'message': 'Generating the iossim executable', |
86 }, | 86 }, |
87 ], | 87 ], |
88 }, | 88 }, |
89 ], | 89 ], |
90 }], | 90 }], |
91 ], | 91 ], |
92 } | 92 } |
OLD | NEW |