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

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: Review feedback 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') | util/win/process_info.cc » ('J')
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 'stdlib/strlcpy.cc', 124 'stdlib/strlcpy.cc',
125 'stdlib/strlcpy.h', 125 'stdlib/strlcpy.h',
126 'stdlib/strnlen.cc', 126 'stdlib/strnlen.cc',
127 'stdlib/strnlen.h', 127 'stdlib/strnlen.h',
128 'synchronization/semaphore_mac.cc', 128 'synchronization/semaphore_mac.cc',
129 'synchronization/semaphore_posix.cc', 129 'synchronization/semaphore_posix.cc',
130 'synchronization/semaphore_win.cc', 130 'synchronization/semaphore_win.cc',
131 'synchronization/semaphore.h', 131 'synchronization/semaphore.h',
132 'win/process_info.cc', 132 'win/process_info.cc',
133 'win/process_info.h', 133 'win/process_info.h',
134 'win/process_structs.h',
134 'win/scoped_handle.cc', 135 'win/scoped_handle.cc',
135 'win/scoped_handle.h', 136 'win/scoped_handle.h',
136 'win/time.cc', 137 'win/time.cc',
137 'win/time.h', 138 'win/time.h',
138 ], 139 ],
139 'conditions': [ 140 'conditions': [
140 ['OS=="mac"', { 141 ['OS=="mac"', {
141 'conditions': [ 142 'conditions': [
142 ['GENERATOR=="ninja"', { 143 ['GENERATOR=="ninja"', {
143 # ninja’s rules can’t deal with sources that have paths relative 144 # ninja’s rules can’t deal with sources that have paths relative
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 'type': 'executable', 336 'type': 'executable',
336 'sources': [ 337 'sources': [
337 'test/multiprocess_exec_test_child.cc', 338 'test/multiprocess_exec_test_child.cc',
338 ], 339 ],
339 }, 340 },
340 ], 341 ],
341 'conditions': [ 342 'conditions': [
342 ['OS=="win"', { 343 ['OS=="win"', {
343 'targets': [ 344 'targets': [
344 { 345 {
345 'target_name': 'util_test_process_info_test_child', 346 'target_name': 'util_test_process_info_test_child_x64',
Mark Mentovai 2015/03/09 22:44:44 Do you want to add a TargetMachine: 17 definition
scottmg 2015/03/09 23:23:57 Good point, done. Needed an msvs_configuration_pla
346 'type': 'executable', 347 'type': 'executable',
347 'sources': [ 348 'sources': [
348 'win/process_info_test_child.cc', 349 'win/process_info_test_child.cc',
349 ], 350 ],
350 # Set an unusually high load address to make sure that the main 351 # Set an unusually high load address to make sure that the main
351 # executable still appears as the first element in 352 # executable still appears as the first element in
352 # ProcessInfo::Modules(). 353 # ProcessInfo::Modules().
353 'msvs_settings': { 354 'msvs_settings': {
354 'VCLinkerTool': { 355 'VCLinkerTool': {
355 'AdditionalOptions': [ 356 'AdditionalOptions': [
356 '/BASE:0x78000000', 357 '/BASE:0x78000000',
357 '/FIXED', 358 '/FIXED',
358 ], 359 ],
359 }, 360 },
360 }, 361 },
361 }, 362 },
363 {
364 # Same as above, but explicitly x86 to test 64->32 access.
365 'target_name': 'util_test_process_info_test_child_x86',
366 'type': 'executable',
367 'sources': [
368 'win/process_info_test_child.cc',
369 ],
370 'msvs_configuration_platform': 'x86',
371 # Set an unusually high load address to make sure that the main
372 # executable still appears as the first element in
373 # ProcessInfo::Modules().
374 'msvs_settings': {
375 'VCLinkerTool': {
376 'AdditionalOptions': [
377 '/BASE:0x78000000',
378 '/FIXED',
379 ],
380 'TargetMachine': '1', # x86.
381 },
382 },
383 },
362 ] 384 ]
363 }], 385 }],
364 ], 386 ],
365 } 387 }
OLDNEW
« no previous file with comments | « no previous file | util/win/process_info.h » ('j') | util/win/process_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698