OLD | NEW |
---|---|
1 # Copyright 2013 Google Inc. All Rights Reserved. | 1 # Copyright 2013 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 21 matching lines...) Expand all Loading... | |
32 'behavior_tests.h', | 32 'behavior_tests.h', |
33 'behavior_tests.cc', | 33 'behavior_tests.cc', |
34 'coverage_tests.h', | 34 'coverage_tests.h', |
35 'coverage_tests.cc', | 35 'coverage_tests.cc', |
36 'deferred_free_tests.h', | 36 'deferred_free_tests.h', |
37 'integration_tests_dll.def', | 37 'integration_tests_dll.def', |
38 'integration_tests_dll.h', | 38 'integration_tests_dll.h', |
39 'integration_tests_dll.rc', | 39 'integration_tests_dll.rc', |
40 'profile_tests.h', | 40 'profile_tests.h', |
41 'profile_tests.cc', | 41 'profile_tests.cc', |
42 ] | 42 ], |
43 # These are dependencies that should be included only when compiling | |
44 # for 32 bits. | |
45 'integration_tests_32bit_dependencies': [ | |
Sébastien Marchand
2017/08/08 15:01:03
No need to put this in a global variable as it's o
njanevsk
2017/08/10 17:15:00
Done.
| |
46 'integration_tests_dll', | |
47 '<(src)/syzygy/agent/basic_block_entry/basic_block_entry.gyp:' | |
48 'basic_block_entry_client', | |
49 '<(src)/syzygy/agent/call_trace/call_trace.gyp:call_trace_client', | |
50 '<(src)/syzygy/agent/coverage/coverage.gyp:coverage_client', | |
51 '<(src)/syzygy/agent/profiler/profiler.gyp:profile_client', | |
52 '<(src)/syzygy/grinder/grinder.gyp:grinder_lib', | |
53 '<(src)/syzygy/instrument/instrument.gyp:instrument_lib', | |
54 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils', | |
55 '<(src)/syzygy/trace/common/common.gyp:trace_unittest_utils', | |
56 '<(src)/syzygy/trace/service/service.gyp:call_trace_service_exe', | |
57 ], | |
43 }, | 58 }, |
44 'targets': [ | 59 'targets': [ |
45 { | 60 { |
46 'target_name': 'integration_tests', | 61 'target_name': 'integration_tests', |
47 'type': 'executable', | 62 'type': 'executable', |
48 'sources': [ | 63 'sources': [ |
49 'integration_tests.rc', | 64 'integration_tests.rc', |
50 'instrument_integration_test.cc', | 65 'instrument_integration_test.cc', |
51 '<(src)/syzygy/testing/run_all_unittests.cc', | 66 '<(src)/syzygy/testing/run_all_unittests.cc', |
52 ], | 67 ], |
53 'dependencies': [ | 68 'dependencies': [ |
54 'crash_for_exception_harness', | 69 'crash_for_exception_harness', |
55 'integration_tests_clang_dll', | 70 'integration_tests_clang_dll', |
56 'integration_tests_dll', | |
57 'integration_tests_harness', | 71 'integration_tests_harness', |
58 '<(src)/base/base.gyp:test_support_base', | 72 '<(src)/base/base.gyp:test_support_base', |
59 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl', | 73 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl', |
60 '<(src)/syzygy/agent/basic_block_entry/basic_block_entry.gyp:' | |
61 'basic_block_entry_client', | |
62 '<(src)/syzygy/agent/call_trace/call_trace.gyp:call_trace_client', | |
63 '<(src)/syzygy/agent/coverage/coverage.gyp:coverage_client', | |
64 '<(src)/syzygy/agent/profiler/profiler.gyp:profile_client', | |
65 '<(src)/syzygy/core/core.gyp:core_unittest_utils', | 74 '<(src)/syzygy/core/core.gyp:core_unittest_utils', |
66 '<(src)/syzygy/grinder/grinder.gyp:grinder_lib', | |
67 '<(src)/syzygy/instrument/instrument.gyp:instrument_lib', | |
68 '<(src)/syzygy/pe/pe.gyp:pe_unittest_utils', | |
69 '<(src)/syzygy/poirot/poirot.gyp:poirot_lib', | 75 '<(src)/syzygy/poirot/poirot.gyp:poirot_lib', |
70 '<(src)/syzygy/testing/testing.gyp:testing_lib', | 76 '<(src)/syzygy/testing/testing.gyp:testing_lib', |
77 '<(src)/syzygy/trace/parse/parse.gyp:parse_lib', | |
71 '<(src)/syzygy/trace/agent_logger/agent_logger.gyp:agent_logger', | 78 '<(src)/syzygy/trace/agent_logger/agent_logger.gyp:agent_logger', |
72 '<(src)/syzygy/trace/common/common.gyp:trace_unittest_utils', | |
73 '<(src)/syzygy/trace/service/service.gyp:call_trace_service_exe', | |
74 '<(src)/testing/gmock.gyp:gmock', | 79 '<(src)/testing/gmock.gyp:gmock', |
75 '<(src)/third_party/pcre/pcre.gyp:pcre_lib', | 80 '<(src)/third_party/pcre/pcre.gyp:pcre_lib', |
76 '<(src)/third_party/protobuf/protobuf.gyp:protobuf_lite_lib', | 81 '<(src)/third_party/protobuf/protobuf.gyp:protobuf_lite_lib', |
77 ], | 82 ], |
83 'conditions': [ | |
84 ['target_arch == "ia32"', { | |
85 'dependencies': [ | |
86 '<@(integration_tests_32bit_dependencies)', | |
87 ], | |
88 }], | |
89 ], | |
78 'msvs_settings': { | 90 'msvs_settings': { |
79 'VCLinkerTool': { | 91 'VCLinkerTool': { |
80 # This test binary is initially compiled without large address | 92 # This test binary is initially compiled without large address |
81 # support. A second version of it that is LAA aware is created by | 93 # support. A second version of it that is LAA aware is created by |
82 # another build step. | 94 # another build step. |
83 'LargeAddressAware': 1, | 95 'LargeAddressAware': 1, |
84 }, | 96 }, |
85 }, | 97 }, |
86 'defines': [ | 98 'defines': [ |
87 'SYZYGY_UNITTESTS_CHECK_MEMORY_MODEL=1', | 99 'SYZYGY_UNITTESTS_CHECK_MEMORY_MODEL=1', |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 }, | 223 }, |
212 }, | 224 }, |
213 }, | 225 }, |
214 { | 226 { |
215 'target_name': 'integration_tests_harness', | 227 'target_name': 'integration_tests_harness', |
216 'type': 'executable', | 228 'type': 'executable', |
217 'sources': [ | 229 'sources': [ |
218 'integration_tests_harness.cc', | 230 'integration_tests_harness.cc', |
219 ], | 231 ], |
220 'dependencies': [ | 232 'dependencies': [ |
221 'integration_tests_dll', | |
222 '<(src)/base/base.gyp:base', | 233 '<(src)/base/base.gyp:base', |
223 '<(src)/syzygy/common/common.gyp:common_lib', | 234 '<(src)/syzygy/common/common.gyp:common_lib', |
224 ], | 235 ], |
236 'conditions': [ | |
237 ['target_arch == "ia32"', { | |
238 'dependencies': [ | |
239 'integration_tests_dll', | |
240 ], | |
241 }, | |
242 'target_arch == "x64"', { | |
243 'dependencies': [ | |
244 'integration_tests_clang_dll', | |
Sébastien Marchand
2017/08/08 15:01:03
You can't add this until this target compile succe
njanevsk
2017/08/10 17:15:00
Done.
| |
245 ], | |
246 }, | |
247 ], | |
248 ], | |
225 'msvs_settings': { | 249 'msvs_settings': { |
226 'VCLinkerTool': { | 250 'VCLinkerTool': { |
227 # Asan agent is compiled without large address spaces to allow a | 251 # Asan agent is compiled without large address spaces to allow a |
228 # memory optimization on the shadow memory. Agents should run in both | 252 # memory optimization on the shadow memory. Agents should run in both |
229 # modes, thus in the long term, we should remove this. | 253 # modes, thus in the long term, we should remove this. |
230 # Disable support for large address spaces. | 254 # Disable support for large address spaces. |
231 'LargeAddressAware': 1, | 255 'LargeAddressAware': 1, |
232 }, | 256 }, |
233 }, | 257 }, |
234 }, | 258 }, |
235 { | 259 { |
236 'target_name': 'crash_for_exception_harness', | 260 'target_name': 'crash_for_exception_harness', |
237 'type': 'executable', | 261 'type': 'executable', |
238 'sources': [ | 262 'sources': [ |
239 'crash_for_exception_export.cc', | 263 'crash_for_exception_export.cc', |
240 'integration_tests_harness.cc', | 264 'integration_tests_harness.cc', |
241 ], | 265 ], |
242 'dependencies': [ | 266 'dependencies': [ |
243 'integration_tests_dll', | |
244 '<(src)/base/base.gyp:base', | 267 '<(src)/base/base.gyp:base', |
245 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl_lib', | 268 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl_lib', |
246 '<(src)/syzygy/common/common.gyp:common_lib', | 269 '<(src)/syzygy/common/common.gyp:common_lib', |
247 ], | 270 ], |
271 'conditions': [ | |
272 ['target_arch == "ia32"', { | |
273 'dependencies': [ | |
274 'integration_tests_dll', | |
275 ], | |
276 }, | |
277 'target_arch == "x64"', { | |
278 'dependencies': [ | |
279 'integration_tests_clang_dll', | |
280 ], | |
281 }, | |
282 ], | |
283 ], | |
248 'msvs_settings': { | 284 'msvs_settings': { |
249 'VCLinkerTool': { | 285 'VCLinkerTool': { |
250 # Asan agent is compiled without large address spaces to allow a | 286 # Asan agent is compiled without large address spaces to allow a |
251 # memory optimization on the shadow memory. Agents should run in both | 287 # memory optimization on the shadow memory. Agents should run in both |
252 # modes, thus in the long term, we should remove this. | 288 # modes, thus in the long term, we should remove this. |
253 # Disable support for large address spaces. | 289 # Disable support for large address spaces. |
254 'LargeAddressAware': 1, | 290 'LargeAddressAware': 1, |
255 }, | 291 }, |
256 }, | 292 }, |
257 }, | 293 }, |
258 ], | 294 ], |
259 } | 295 } |
OLD | NEW |