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

Side by Side Diff: util/util.gyp

Issue 981393003: win: Support reading process info cross-bitness (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@64-port-test-2
Patch Set: rebase Created 5 years, 9 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 | « no previous file | util/win/process_info.h » ('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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 'stdlib/strlcpy.cc', 127 'stdlib/strlcpy.cc',
128 'stdlib/strlcpy.h', 128 'stdlib/strlcpy.h',
129 'stdlib/strnlen.cc', 129 'stdlib/strnlen.cc',
130 'stdlib/strnlen.h', 130 'stdlib/strnlen.h',
131 'synchronization/semaphore_mac.cc', 131 'synchronization/semaphore_mac.cc',
132 'synchronization/semaphore_posix.cc', 132 'synchronization/semaphore_posix.cc',
133 'synchronization/semaphore_win.cc', 133 'synchronization/semaphore_win.cc',
134 'synchronization/semaphore.h', 134 'synchronization/semaphore.h',
135 'win/process_info.cc', 135 'win/process_info.cc',
136 'win/process_info.h', 136 'win/process_info.h',
137 'win/process_structs.h',
137 'win/scoped_handle.cc', 138 'win/scoped_handle.cc',
138 'win/scoped_handle.h', 139 'win/scoped_handle.h',
139 'win/time.cc', 140 'win/time.cc',
140 'win/time.h', 141 'win/time.h',
141 ], 142 ],
142 'conditions': [ 143 'conditions': [
143 ['OS=="mac"', { 144 ['OS=="mac"', {
144 'conditions': [ 145 'conditions': [
145 ['GENERATOR=="ninja"', { 146 ['GENERATOR=="ninja"', {
146 # ninja’s rules can’t deal with sources that have paths relative 147 # ninja’s rules can’t deal with sources that have paths relative
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 'type': 'executable', 341 'type': 'executable',
341 'sources': [ 342 'sources': [
342 'test/multiprocess_exec_test_child.cc', 343 'test/multiprocess_exec_test_child.cc',
343 ], 344 ],
344 }, 345 },
345 ], 346 ],
346 'conditions': [ 347 'conditions': [
347 ['OS=="win"', { 348 ['OS=="win"', {
348 'targets': [ 349 'targets': [
349 { 350 {
350 'target_name': 'crashpad_util_test_process_info_test_child', 351 'target_name': 'crashpad_util_test_process_info_test_child_x64',
351 'type': 'executable', 352 'type': 'executable',
352 'sources': [ 353 'sources': [
353 'win/process_info_test_child.cc', 354 'win/process_info_test_child.cc',
354 ], 355 ],
356 'msvs_configuration_platform': 'x64',
355 # Set an unusually high load address to make sure that the main 357 # Set an unusually high load address to make sure that the main
356 # executable still appears as the first element in 358 # executable still appears as the first element in
357 # ProcessInfo::Modules(). 359 # ProcessInfo::Modules().
358 'msvs_settings': { 360 'msvs_settings': {
359 'VCLinkerTool': { 361 'VCLinkerTool': {
360 'AdditionalOptions': [ 362 'AdditionalOptions': [
361 '/BASE:0x78000000', 363 '/BASE:0x78000000',
362 '/FIXED', 364 '/FIXED',
363 ], 365 ],
366 'TargetMachine': '17', # x64.
364 }, 367 },
365 }, 368 },
366 }, 369 },
370 {
371 # Same as above, but explicitly x86 to test 64->32 access.
372 'target_name': 'crashpad_util_test_process_info_test_child_x86',
373 'type': 'executable',
374 'sources': [
375 'win/process_info_test_child.cc',
376 ],
377 'msvs_configuration_platform': 'x86',
378 # Set an unusually high load address to make sure that the main
379 # executable still appears as the first element in
380 # ProcessInfo::Modules().
381 'msvs_settings': {
382 'VCLinkerTool': {
383 'AdditionalOptions': [
384 '/BASE:0x78000000',
385 '/FIXED',
386 ],
387 'TargetMachine': '1', # x86.
388 },
389 },
390 },
367 ] 391 ]
368 }], 392 }],
369 ], 393 ],
370 } 394 }
OLDNEW
« no previous file with comments | « no previous file | util/win/process_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698