Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2012 Google Inc. All Rights Reserved. | 1 # Copyright 2012 Google Inc. 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 'timed_try_impl.h', | 109 'timed_try_impl.h', |
| 110 'windows_heap_adapter.cc', | 110 'windows_heap_adapter.cc', |
| 111 'windows_heap_adapter.h', | 111 'windows_heap_adapter.h', |
| 112 ], | 112 ], |
| 113 'dependencies': [ | 113 'dependencies': [ |
| 114 '<(src)/syzygy/crashdata/crashdata.gyp:crashdata_lib', | 114 '<(src)/syzygy/crashdata/crashdata.gyp:crashdata_lib', |
| 115 '<(src)/syzygy/common/common.gyp:common_lib', | 115 '<(src)/syzygy/common/common.gyp:common_lib', |
| 116 '<(src)/syzygy/trace/client/client.gyp:rpc_client_lib', | 116 '<(src)/syzygy/trace/client/client.gyp:rpc_client_lib', |
| 117 '<(src)/syzygy/trace/common/common.gyp:trace_common_lib', | 117 '<(src)/syzygy/trace/common/common.gyp:trace_common_lib', |
| 118 '<(src)/syzygy/trace/protocol/protocol.gyp:protocol_lib', | 118 '<(src)/syzygy/trace/protocol/protocol.gyp:protocol_lib', |
| 119 '<(src)/syzygy/trace/rpc/rpc.gyp:logger_rpc_lib', | |
| 119 '<(src)/third_party/crashpad/files/client/client.gyp:crashpad_client', | 120 '<(src)/third_party/crashpad/files/client/client.gyp:crashpad_client', |
| 120 ], | 121 ], |
| 121 'conditions': [ | 122 'conditions': [ |
| 122 # By default, target_arch is set to ia32 on Windows. | 123 # By default, target_arch is set to ia32 on Windows. |
| 123 # To get a 64-bit build, one needs to explicitly set | 124 # To get a 64-bit build, one needs to explicitly set |
| 124 # `target_arch` and `host_arch` to `x64`. | 125 # `target_arch` and `host_arch` to `x64`. |
| 125 ['target_arch=="ia32"', { | 126 ['target_arch == "ia32"', { |
| 126 'sources': [ | 127 'sources': [ |
| 127 'gen/memory_interceptors_impl.asm', | 128 'gen/memory_interceptors_impl.asm', |
| 128 'gen/memory_redirectors.asm', | 129 'gen/memory_redirectors.asm', |
| 129 'reporters/kasko_reporter.cc', | 130 'reporters/kasko_reporter.cc', |
| 130 'reporters/kasko_reporter.h', | 131 'reporters/kasko_reporter.h', |
| 131 ], | 132 ], |
| 132 'dependencies': [ | 133 'dependencies': [ |
| 133 '<(src)/syzygy/kasko/kasko.gyp:kasko', | 134 '<(src)/syzygy/kasko/kasko.gyp:kasko', |
| 134 '<(src)/syzygy/trace/rpc/rpc.gyp:logger_rpc_lib', | |
| 135 ], | 135 ], |
| 136 }, { | |
| 137 'sources': [ | |
| 138 'memory_interceptors_impl_x64.cc', | |
| 139 'memory_interceptors_impl_x64.h', | |
| 140 ] | |
| 136 }], | 141 }], |
| 137 ], | 142 ], |
| 138 'export_dependent_settings': [ | 143 'export_dependent_settings': [ |
| 139 # We depend on crashdata_lib, which means we can see the include | 144 # We depend on crashdata_lib, which means we can see the include |
| 140 # directories it exports via 'all_dependent_settings' or | 145 # directories it exports via 'all_dependent_settings' or |
| 141 # 'direct_dependent_settings'. However, our dependents will have | 146 # 'direct_dependent_settings'. However, our dependents will have |
| 142 # this same dependency, so we forward these settings to them. | 147 # this same dependency, so we forward these settings to them. |
| 143 '<(src)/syzygy/crashdata/crashdata.gyp:crashdata_lib', | 148 '<(src)/syzygy/crashdata/crashdata.gyp:crashdata_lib', |
| 144 ], | 149 ], |
| 145 }, | 150 }, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 203 'heap_managers/deferred_free_thread_unittest.cc', | 208 'heap_managers/deferred_free_thread_unittest.cc', |
| 204 'memory_notifiers/shadow_memory_notifier_unittest.cc', | 209 'memory_notifiers/shadow_memory_notifier_unittest.cc', |
| 205 'quarantines/sharded_quarantine_unittest.cc', | 210 'quarantines/sharded_quarantine_unittest.cc', |
| 206 'quarantines/size_limited_quarantine_unittest.cc', | 211 'quarantines/size_limited_quarantine_unittest.cc', |
| 207 'reporters/breakpad_reporter_unittest.cc', | 212 'reporters/breakpad_reporter_unittest.cc', |
| 208 'reporters/crashpad_reporter_unittest.cc', | 213 'reporters/crashpad_reporter_unittest.cc', |
| 209 'reporters/exported_function_unittest.cc', | 214 'reporters/exported_function_unittest.cc', |
| 210 '<(src)/syzygy/testing/run_all_unittests.cc', | 215 '<(src)/syzygy/testing/run_all_unittests.cc', |
| 211 ], | 216 ], |
| 212 'conditions': [ | 217 'conditions': [ |
| 213 ['target_arch == "ia32"', { | 218 ['target_arch == "x64"', { |
|
Sébastien Marchand
2016/09/13 18:23:05
Can you try to keep the same logic across the diff
| |
| 214 'sources': [ | 219 'sources!': [ |
| 215 'reporters/kasko_reporter_unittest.cc', | 220 # Static shadow doesn't work for large address spaces. |
| 221 'static_shadow.cc', | |
| 222 | |
| 223 'reporters/kasko_reporter_unittest.cc', # kasko is to be removed | |
|
Sébastien Marchand
2016/09/13 18:23:04
Move the comment on the previous line, for consist
| |
| 224 # Redirectors are not currently implemented for win64. | |
| 225 'memory_interceptors_patcher_unittest.cc', | |
| 226 | |
| 227 'memory_interceptors_unittest.cc', # relies on full set of probes | |
|
Sébastien Marchand
2016/09/13 18:23:05
Ditto , here and below
| |
| 228 | |
| 229 # Win64 binaries currently don't have the version info. | |
| 230 'registry_cache_unittest.cc', | |
| 231 'logger_unittest.cc', | |
| 232 | |
| 233 # PE lib for win64 is sort of stub, so there's nothing to test there | |
| 234 'iat_patcher_unittest.cc', | |
| 235 | |
| 236 'heap_checker_unittest.cc', # IsHeapCorrupt fails | |
| 237 'heap_managers/block_heap_manager_unittest.cc', # uses 32bit asm | |
| 216 ], | 238 ], |
| 239 'sources': ['dummy_shadow.cc'] | |
| 240 }, { | |
| 241 'msvs_settings': { | |
| 242 'VCLinkerTool': { | |
| 243 # Disable support for large address spaces. | |
| 244 'LargeAddressAware': 1, | |
| 245 }, | |
| 246 }, | |
| 217 }], | 247 }], |
| 218 ], | 248 ], |
| 219 'dependencies': [ | 249 'dependencies': [ |
| 220 'syzyasan_rtl_lib', | 250 'syzyasan_rtl_lib', |
| 221 'syzyasan_rtl', | 251 'syzyasan_rtl', |
| 222 'syzyasan_rtl_unittest_utils', | 252 'syzyasan_rtl_unittest_utils', |
| 223 '<(src)/base/base.gyp:base', | 253 '<(src)/base/base.gyp:base', |
| 224 '<(src)/base/base.gyp:test_support_base', | 254 '<(src)/base/base.gyp:test_support_base', |
| 225 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', | 255 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', |
| 226 '<(src)/syzygy/assm/assm.gyp:assm_lib', | 256 '<(src)/syzygy/assm/assm.gyp:assm_lib', |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 319 }, | 349 }, |
| 320 }, | 350 }, |
| 321 { | 351 { |
| 322 'target_name': 'syzyasan_rtl', | 352 'target_name': 'syzyasan_rtl', |
| 323 'type': 'loadable_module', | 353 'type': 'loadable_module', |
| 324 'includes': [ | 354 'includes': [ |
| 325 '../agent.gypi', | 355 '../agent.gypi', |
| 326 'agent_link_settings.gypi', | 356 'agent_link_settings.gypi', |
| 327 ], | 357 ], |
| 328 'sources': [ | 358 'sources': [ |
| 329 # This file must have a .def extension in order for GYP to | |
| 330 # automatically configure it as the ModuleDefinitionFile | |
| 331 # (we usually suffix generated files with .gen). | |
| 332 'dummy_shadow.cc', | 359 'dummy_shadow.cc', |
| 333 'gen/system_interceptors.def', | |
| 334 'syzyasan_rtl.cc', | 360 'syzyasan_rtl.cc', |
| 335 'syzyasan_rtl.rc', | 361 'syzyasan_rtl.rc', |
| 336 ], | 362 ], |
| 337 'dependencies': [ | 363 'dependencies': [ |
| 338 'syzyasan_rtl_lib', | 364 'syzyasan_rtl_lib', |
| 339 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', | 365 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', |
| 340 '<(src)/syzygy/common/common.gyp:common_lib', | 366 '<(src)/syzygy/common/common.gyp:common_lib', |
| 341 '<(src)/syzygy/core/core.gyp:core_lib', | 367 '<(src)/syzygy/core/core.gyp:core_lib', |
| 342 '<(src)/syzygy/version/version.gyp:syzygy_version', | 368 '<(src)/syzygy/version/version.gyp:syzygy_version', |
| 343 ], | 369 ], |
| 344 'msvs_settings': { | 370 'msvs_settings': { |
| 345 'VCLinkerTool': { | 371 'VCLinkerTool': { |
| 346 # This module should delay load nothing. | 372 # This module should delay load nothing. |
| 347 'DelayLoadDLLs=': [ | 373 'DelayLoadDLLs=': [ |
| 348 ], | 374 ], |
| 349 }, | 375 }, |
| 350 }, | 376 }, |
| 351 'conditions': [ | 377 'conditions': [ |
| 378 ['target_arch == "ia32"', { | |
| 379 'sources': [ | |
| 380 # This file must have a .def extension in order for GYP to | |
| 381 # automatically configure it as the ModuleDefinitionFile | |
| 382 # (we usually suffix generated files with .gen). | |
| 383 'gen/system_interceptors.def', | |
| 384 ] | |
| 385 }, { | |
| 386 'sources': [ | |
| 387 'system_interceptors_x64.def' | |
| 388 ] | |
| 389 }], | |
| 352 ['pgo_phase==1', { | 390 ['pgo_phase==1', { |
| 353 'msvs_settings': { | 391 'msvs_settings': { |
| 354 'VCLinkerTool': { | 392 'VCLinkerTool': { |
| 355 # 2 corresponds to LTCG:PGINSTRUMENT. | 393 # 2 corresponds to LTCG:PGINSTRUMENT. |
| 356 'LinkTimeCodeGeneration': '2', | 394 'LinkTimeCodeGeneration': '2', |
| 357 }, | 395 }, |
| 358 }, | 396 }, |
| 359 }], | 397 }], |
| 360 ['pgo_phase==2', { | 398 ['pgo_phase==2', { |
| 361 'msvs_settings': { | 399 'msvs_settings': { |
| 362 'VCLinkerTool': { | 400 'VCLinkerTool': { |
| 363 # 3 corresponds to LTCG:PGOPTIMIZE. | 401 # 3 corresponds to LTCG:PGOPTIMIZE. |
| 364 'LinkTimeCodeGeneration': '3', | 402 'LinkTimeCodeGeneration': '3', |
| 365 }, | 403 }, |
| 366 }, | 404 }, |
| 367 }], | 405 }], |
| 368 ], | 406 ], |
| 369 }, | 407 }, |
| 370 ], | 408 ], |
| 371 } | 409 } |
| OLD | NEW |