Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: testing/iossim/iossim.gyp

Issue 10805004: Add iossim testing tool for running iOS unit tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Set correct revision for class-dump in DEPS Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
stuartmorgan 2012/07/20 07:45:44 Add a license block.
lliabraa 2012/07/26 19:14:11 Done.
2 'variables': {
3 'iphone_sim_path': '$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Deve loper/Library/PrivateFrameworks',
4 'other_frameworks_path': '$(DEVELOPER_DIR)/../OtherFrameworks'
5 },
6 'targets': [
7 {
8 'target_name': 'iossim',
9 'type': 'executable',
10 'dependencies': [
11 '<(DEPTH)/testing/iossim/third_party/class-dump/class-dump.gyp:class-dum p',
12 ],
13 'include_dirs': [
14 '<(INTERMEDIATE_DIR)/iossim',
15 ],
16 'sources': [
17 'iossim.mm',
18 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h',
19 ],
20 'libraries': [
21 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
22 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework',
23 ],
24 'mac_framework_dirs': [
25 '<(iphone_sim_path)',
26 ],
27 'xcode_settings': {
28 'LD_RUNPATH_SEARCH_PATHS': '<(iphone_sim_path) <(other_frameworks_path)' ,
29 },
30 'actions': [
31 {
32 'action_name': 'generate_iphone_sim_header',
33 'inputs': [
34 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework/Versions/C urrent/iPhoneSimulatorRemoteClient',
35 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump',
36 ],
37 'outputs': [
38 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h'
39 ],
40 'action': [
41 # Actions don't provide a way to redirect stdout, so a custom
42 # script is invoked that will execute the first argument and write
43 # the output to the file specified as the second argument.
44 '<(DEPTH)/testing/iossim/RedirectStdout.sh',
45 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump -CiPhoneSimulator <(iphone _sim_path)/iPhoneSimulatorRemoteClient.framework',
46 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h',
47 ],
48 'message': 'Generating header',
49 },
50 ],
51 },
52 ],
53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698