OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'iphone_sim_path': '$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Deve loper/Library/PrivateFrameworks', | |
8 'other_frameworks_path': '$(DEVELOPER_DIR)/../OtherFrameworks' | |
9 }, | |
10 'targets': [ | |
11 { | |
12 'target_name': 'iossim', | |
13 'type': 'executable', | |
14 'dependencies': [ | |
15 '<(DEPTH)/testing/iossim/third_party/class-dump/class-dump.gyp:class-dum p', | |
16 ], | |
17 'include_dirs': [ | |
18 '<(INTERMEDIATE_DIR)/iossim', | |
19 ], | |
20 'sources': [ | |
21 'iossim.mm', | |
22 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', | |
23 ], | |
24 'libraries': [ | |
25 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
26 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework', | |
27 ], | |
28 'mac_framework_dirs': [ | |
29 '<(iphone_sim_path)', | |
30 ], | |
31 'xcode_settings': { | |
32 'LD_RUNPATH_SEARCH_PATHS': '<(iphone_sim_path) <(other_frameworks_path)' , | |
stuartmorgan
2012/07/26 19:47:06
This should be an array (I think qsr just changed
lliabraa
2012/07/27 13:08:58
Done.
| |
33 }, | |
34 'actions': [ | |
35 { | |
36 'action_name': 'generate_iphone_sim_header', | |
37 'inputs': [ | |
38 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework/Versions/C urrent/iPhoneSimulatorRemoteClient', | |
39 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump', | |
40 ], | |
41 'outputs': [ | |
42 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h' | |
43 ], | |
44 'action': [ | |
45 # Actions don't provide a way to redirect stdout, so a custom | |
46 # script is invoked that will execute the first argument and write | |
47 # the output to the file specified as the second argument. | |
48 '<(DEPTH)/testing/iossim/RedirectStdout.sh', | |
stuartmorgan
2012/07/26 19:47:06
I noticed while upstreaming another script today t
lliabraa
2012/07/27 13:08:58
Done.
| |
49 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump -CiPhoneSimulator <(iphone _sim_path)/iPhoneSimulatorRemoteClient.framework', | |
50 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', | |
51 ], | |
52 'message': 'Generating header', | |
53 }, | |
54 ], | |
55 }, | |
56 ], | |
57 } | |
OLD | NEW |