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

Side by Side Diff: util/util_test.gyp

Issue 1349313003: win: support x64 reading x86 (wow64) (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: mac Created 5 years, 3 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
« no previous file with comments | « snapshot/win/thread_snapshot_win.cc ('k') | util/win/process_info_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Crashpad Authors. All rights reserved. 1 # Copyright 2014 The Crashpad Authors. All rights reserved.
2 # 2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 5 # You may obtain a copy of the License at
6 # 6 #
7 # http://www.apache.org/licenses/LICENSE-2.0 7 # http://www.apache.org/licenses/LICENSE-2.0
8 # 8 #
9 # Unless required by applicable law or agreed to in writing, software 9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 10 # distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 'conditions': [ 87 'conditions': [
88 ['OS=="mac"', { 88 ['OS=="mac"', {
89 'link_settings': { 89 'link_settings': {
90 'libraries': [ 90 'libraries': [
91 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 91 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
92 ], 92 ],
93 }, 93 },
94 }], 94 }],
95 ['OS=="win"', { 95 ['OS=="win"', {
96 'dependencies': [ 96 'dependencies': [
97 'crashpad_util_test_process_info_test_child_x64', 97 'crashpad_util_test_process_info_test_child',
98 'crashpad_util_test_process_info_test_child_x86',
99 ], 98 ],
100 'link_settings': { 99 'link_settings': {
101 'libraries': [ 100 'libraries': [
102 '-limagehlp.lib', 101 '-limagehlp.lib',
103 '-lrpcrt4.lib', 102 '-lrpcrt4.lib',
104 ], 103 ],
105 }, 104 },
106 }], 105 }],
107 ], 106 ],
108 }, 107 },
109 ], 108 ],
110 'conditions': [ 109 'conditions': [
111 ['OS=="win"', { 110 ['OS=="win"', {
112 'targets': [ 111 'targets': [
113 { 112 {
114 'target_name': 'crashpad_util_test_process_info_test_child_x64', 113 'target_name': 'crashpad_util_test_process_info_test_child',
115 'type': 'executable', 114 'type': 'executable',
116 'sources': [ 115 'sources': [
117 'win/process_info_test_child.cc', 116 'win/process_info_test_child.cc',
118 ], 117 ],
119 'msvs_configuration_platform': 'x64',
120 # Set an unusually high load address to make sure that the main 118 # Set an unusually high load address to make sure that the main
121 # executable still appears as the first element in 119 # executable still appears as the first element in
122 # ProcessInfo::Modules(). 120 # ProcessInfo::Modules().
123 'msvs_settings': { 121 'msvs_settings': {
124 'VCLinkerTool': { 122 'VCLinkerTool': {
125 'AdditionalOptions': [ 123 'AdditionalOptions': [
126 '/BASE:0x78000000', 124 '/BASE:0x78000000',
127 '/FIXED', 125 '/FIXED',
128 ], 126 ],
129 'MinimumRequiredVersion': '5.02', # Server 2003.
130 'TargetMachine': '17', # x64.
131 }, 127 },
132 }, 128 },
133 }, 129 },
134 {
135 # Same as above, but explicitly x86 to test 64->32 access.
136 'target_name': 'crashpad_util_test_process_info_test_child_x86',
137 'type': 'executable',
138 'sources': [
139 'win/process_info_test_child.cc',
140 ],
141 'msvs_configuration_platform': 'x86',
142 # Set an unusually high load address to make sure that the main
143 # executable still appears as the first element in
144 # ProcessInfo::Modules().
145 'msvs_settings': {
146 'VCLinkerTool': {
147 'AdditionalOptions': [
148 '/BASE:0x78000000',
149 '/FIXED',
150 ],
151 'TargetMachine': '1', # x86.
152 },
153 },
154 },
155 ] 130 ]
156 }], 131 }],
157 ], 132 ],
158 } 133 }
OLDNEW
« no previous file with comments | « snapshot/win/thread_snapshot_win.cc ('k') | util/win/process_info_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698