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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 == "ia32"', { |
| 214 'sources': [ | 219 'msvs_settings': { |
| 220 'VCLinkerTool': { | |
| 221 # Disable support for large address spaces. | |
| 222 'LargeAddressAware': 1, | |
| 223 }, | |
| 224 }, | |
| 225 }, { | |
| 226 'sources!': [ | |
| 227 # Static shadow doesn't work for large address spaces. | |
|
Sébastien Marchand
2016/09/13 21:11:33
Please remove the BL between each items, we rarely
| |
| 228 'static_shadow.cc', | |
| 229 | |
| 230 # Kasko is to be removed. | |
| 215 'reporters/kasko_reporter_unittest.cc', | 231 'reporters/kasko_reporter_unittest.cc', |
| 232 | |
| 233 # Redirectors are not currently implemented for win64. | |
| 234 'memory_interceptors_patcher_unittest.cc', | |
| 235 | |
| 236 # Relies on full set of probes. | |
| 237 'memory_interceptors_unittest.cc', | |
| 238 | |
| 239 # Win64 binaries currently don't have the version info. | |
| 240 'registry_cache_unittest.cc', | |
| 241 'logger_unittest.cc', | |
| 242 | |
| 243 # PE lib for win64 is sort of stub, so there's nothing to test there | |
|
Sébastien Marchand
2016/09/13 21:11:33
Missing period (I know that it means adding a new
| |
| 244 'iat_patcher_unittest.cc', | |
| 245 | |
| 246 # IsHeapCorrupt fails (TODO: fix it). | |
|
Sébastien Marchand
2016/09/13 21:11:33
Usually our TODO go on a separate line.
# Disable
| |
| 247 'heap_checker_unittest.cc', | |
| 248 | |
| 249 # Uses 32bit assembler. | |
| 250 'heap_managers/block_heap_manager_unittest.cc', | |
| 216 ], | 251 ], |
| 252 'sources': ['dummy_shadow.cc'] | |
| 217 }], | 253 }], |
| 218 ], | 254 ], |
| 219 'dependencies': [ | 255 'dependencies': [ |
| 220 'syzyasan_rtl_lib', | 256 'syzyasan_rtl_lib', |
| 221 'syzyasan_rtl', | 257 'syzyasan_rtl', |
| 222 'syzyasan_rtl_unittest_utils', | 258 'syzyasan_rtl_unittest_utils', |
| 223 '<(src)/base/base.gyp:base', | 259 '<(src)/base/base.gyp:base', |
| 224 '<(src)/base/base.gyp:test_support_base', | 260 '<(src)/base/base.gyp:test_support_base', |
| 225 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', | 261 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', |
| 226 '<(src)/syzygy/assm/assm.gyp:assm_lib', | 262 '<(src)/syzygy/assm/assm.gyp:assm_lib', |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 319 }, | 355 }, |
| 320 }, | 356 }, |
| 321 { | 357 { |
| 322 'target_name': 'syzyasan_rtl', | 358 'target_name': 'syzyasan_rtl', |
| 323 'type': 'loadable_module', | 359 'type': 'loadable_module', |
| 324 'includes': [ | 360 'includes': [ |
| 325 '../agent.gypi', | 361 '../agent.gypi', |
| 326 'agent_link_settings.gypi', | 362 'agent_link_settings.gypi', |
| 327 ], | 363 ], |
| 328 'sources': [ | 364 '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', | 365 'dummy_shadow.cc', |
| 333 'gen/system_interceptors.def', | |
| 334 'syzyasan_rtl.cc', | 366 'syzyasan_rtl.cc', |
| 335 'syzyasan_rtl.rc', | 367 'syzyasan_rtl.rc', |
| 336 ], | 368 ], |
| 337 'dependencies': [ | 369 'dependencies': [ |
| 338 'syzyasan_rtl_lib', | 370 'syzyasan_rtl_lib', |
| 339 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', | 371 '<(src)/syzygy/agent/common/common.gyp:agent_common_lib', |
| 340 '<(src)/syzygy/common/common.gyp:common_lib', | 372 '<(src)/syzygy/common/common.gyp:common_lib', |
| 341 '<(src)/syzygy/core/core.gyp:core_lib', | 373 '<(src)/syzygy/core/core.gyp:core_lib', |
| 342 '<(src)/syzygy/version/version.gyp:syzygy_version', | 374 '<(src)/syzygy/version/version.gyp:syzygy_version', |
| 343 ], | 375 ], |
| 344 'msvs_settings': { | 376 'msvs_settings': { |
| 345 'VCLinkerTool': { | 377 'VCLinkerTool': { |
| 346 # This module should delay load nothing. | 378 # This module should delay load nothing. |
| 347 'DelayLoadDLLs=': [ | 379 'DelayLoadDLLs=': [ |
| 348 ], | 380 ], |
| 349 }, | 381 }, |
| 350 }, | 382 }, |
| 351 'conditions': [ | 383 'conditions': [ |
| 384 ['target_arch == "ia32"', { | |
| 385 'sources': [ | |
| 386 # This file must have a .def extension in order for GYP to | |
| 387 # automatically configure it as the ModuleDefinitionFile | |
| 388 # (we usually suffix generated files with .gen). | |
| 389 'gen/system_interceptors.def', | |
| 390 ] | |
| 391 }, { | |
| 392 'sources': [ | |
| 393 'system_interceptors_x64.def' | |
| 394 ] | |
| 395 }], | |
| 352 ['pgo_phase==1', { | 396 ['pgo_phase==1', { |
| 353 'msvs_settings': { | 397 'msvs_settings': { |
| 354 'VCLinkerTool': { | 398 'VCLinkerTool': { |
| 355 # 2 corresponds to LTCG:PGINSTRUMENT. | 399 # 2 corresponds to LTCG:PGINSTRUMENT. |
| 356 'LinkTimeCodeGeneration': '2', | 400 'LinkTimeCodeGeneration': '2', |
| 357 }, | 401 }, |
| 358 }, | 402 }, |
| 359 }], | 403 }], |
| 360 ['pgo_phase==2', { | 404 ['pgo_phase==2', { |
| 361 'msvs_settings': { | 405 'msvs_settings': { |
| 362 'VCLinkerTool': { | 406 'VCLinkerTool': { |
| 363 # 3 corresponds to LTCG:PGOPTIMIZE. | 407 # 3 corresponds to LTCG:PGOPTIMIZE. |
| 364 'LinkTimeCodeGeneration': '3', | 408 'LinkTimeCodeGeneration': '3', |
| 365 }, | 409 }, |
| 366 }, | 410 }, |
| 367 }], | 411 }], |
| 368 ], | 412 ], |
| 369 }, | 413 }, |
| 370 ], | 414 ], |
| 371 } | 415 } |
| OLD | NEW |