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

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

Issue 10828070: Don't directly link to the private Xcode framework, instead find it at runtime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | testing/iossim/iossim.mm » ('j') | testing/iossim/iossim.mm » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'variables': { 6 'variables': {
7 'iphone_sim_path': '$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Deve loper/Library/PrivateFrameworks', 7 'iphone_sim_path': '$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Deve loper/Library/PrivateFrameworks',
8 'other_frameworks_path': '$(DEVELOPER_DIR)/../OtherFrameworks' 8 'other_frameworks_path': '$(DEVELOPER_DIR)/../OtherFrameworks'
9 }, 9 },
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'iossim', 12 'target_name': 'iossim',
13 'type': 'executable', 13 'type': 'executable',
14 'dependencies': [ 14 'dependencies': [
15 '<(DEPTH)/testing/iossim/third_party/class-dump/class-dump.gyp:class-dum p', 15 '<(DEPTH)/testing/iossim/third_party/class-dump/class-dump.gyp:class-dum p',
16 ], 16 ],
17 'include_dirs': [ 17 'include_dirs': [
18 '<(INTERMEDIATE_DIR)/iossim', 18 '<(INTERMEDIATE_DIR)/iossim',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'iossim.mm', 21 'iossim.mm',
22 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', 22 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h',
23 ], 23 ],
24 'libraries': [ 24 'libraries': [
25 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 25 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
26 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework',
27 ], 26 ],
28 'mac_framework_dirs': [
29 '<(iphone_sim_path)',
30 ],
31 'xcode_settings': {
32 'LD_RUNPATH_SEARCH_PATHS': [
33 '<(iphone_sim_path)',
34 '<(other_frameworks_path)',
35 ]
36 },
37 'actions': [ 27 'actions': [
38 { 28 {
39 'action_name': 'generate_iphone_sim_header', 29 'action_name': 'generate_iphone_sim_header',
40 'inputs': [ 30 'inputs': [
41 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework/Versions/C urrent/iPhoneSimulatorRemoteClient', 31 '<(iphone_sim_path)/iPhoneSimulatorRemoteClient.framework/Versions/C urrent/iPhoneSimulatorRemoteClient',
42 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump', 32 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump',
43 ], 33 ],
44 'outputs': [ 34 'outputs': [
45 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h' 35 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h'
46 ], 36 ],
47 'action': [ 37 'action': [
48 # Actions don't provide a way to redirect stdout, so a custom 38 # Actions don't provide a way to redirect stdout, so a custom
49 # script is invoked that will execute the first argument and write 39 # script is invoked that will execute the first argument and write
50 # the output to the file specified as the second argument. 40 # the output to the file specified as the second argument.
51 '<(DEPTH)/testing/iossim/redirect-stdout.sh', 41 '<(DEPTH)/testing/iossim/redirect-stdout.sh',
52 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump -CiPhoneSimulator <(iphone _sim_path)/iPhoneSimulatorRemoteClient.framework', 42 '$(BUILD_DIR)/$(CONFIGURATION)/class-dump -CiPhoneSimulator <(iphone _sim_path)/iPhoneSimulatorRemoteClient.framework',
53 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h', 43 '<(INTERMEDIATE_DIR)/iossim/iPhoneSimulatorRemoteClient.h',
54 ], 44 ],
55 'message': 'Generating header', 45 'message': 'Generating header',
56 }, 46 },
57 ], 47 ],
58 }, 48 },
59 ], 49 ],
60 } 50 }
OLDNEW
« no previous file with comments | « no previous file | testing/iossim/iossim.mm » ('j') | testing/iossim/iossim.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698