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

Side by Side Diff: syzygy/integration_tests/integration_tests.gyp

Issue 2981233002: Add .def file for the clang instrumented integration tests dll. (Closed)
Patch Set: Add def file and a flag to the linker to generate the pdb file. Created 3 years, 5 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
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 { 45 {
46 'target_name': 'integration_tests', 46 'target_name': 'integration_tests',
47 'type': 'executable', 47 'type': 'executable',
48 'sources': [ 48 'sources': [
49 'integration_tests.rc', 49 'integration_tests.rc',
50 'instrument_integration_test.cc', 50 'instrument_integration_test.cc',
51 '<(src)/syzygy/testing/run_all_unittests.cc', 51 '<(src)/syzygy/testing/run_all_unittests.cc',
52 ], 52 ],
53 'dependencies': [ 53 'dependencies': [
54 'crash_for_exception_harness', 54 'crash_for_exception_harness',
55 'integration_tests_dll', 55 'integration_tests_dll',
Sébastien Marchand 2017/07/19 15:27:26 There should be a dependency on integration_tests_
njanevsk 2017/07/19 16:00:35 Done.
56 'integration_tests_harness', 56 'integration_tests_harness',
57 '<(src)/base/base.gyp:test_support_base', 57 '<(src)/base/base.gyp:test_support_base',
58 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl', 58 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl',
59 '<(src)/syzygy/agent/basic_block_entry/basic_block_entry.gyp:' 59 '<(src)/syzygy/agent/basic_block_entry/basic_block_entry.gyp:'
60 'basic_block_entry_client', 60 'basic_block_entry_client',
61 '<(src)/syzygy/agent/call_trace/call_trace.gyp:call_trace_client', 61 '<(src)/syzygy/agent/call_trace/call_trace.gyp:call_trace_client',
62 '<(src)/syzygy/agent/coverage/coverage.gyp:coverage_client', 62 '<(src)/syzygy/agent/coverage/coverage.gyp:coverage_client',
63 '<(src)/syzygy/agent/profiler/profiler.gyp:profile_client', 63 '<(src)/syzygy/agent/profiler/profiler.gyp:profile_client',
64 '<(src)/syzygy/core/core.gyp:core_unittest_utils', 64 '<(src)/syzygy/core/core.gyp:core_unittest_utils',
65 '<(src)/syzygy/grinder/grinder.gyp:grinder_lib', 65 '<(src)/syzygy/grinder/grinder.gyp:grinder_lib',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 'type': 'none', 115 'type': 'none',
116 'msvs_cygwin_shell': 0, 116 'msvs_cygwin_shell': 0,
117 'dependencies': [ 117 'dependencies': [
118 '<(src)/syzygy/pe/pe.gyp:export_dll', 118 '<(src)/syzygy/pe/pe.gyp:export_dll',
119 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl' 119 '<(src)/syzygy/agent/asan/asan.gyp:syzyasan_rtl'
120 ], 120 ],
121 'actions': [ 121 'actions': [
122 { 122 {
123 'action_name': 'make_integration_tests_clang', 123 'action_name': 'make_integration_tests_clang',
124 'inputs': ['<@(integration_tests_common_source_files)'], 124 'inputs': ['<@(integration_tests_common_source_files)'],
125 'outputs': ['<(PRODUCT_DIR)/integration_tests_clang_dll.dll'], 125 'outputs': ['<(PRODUCT_DIR)/integration_tests_clang_dll.dll'],
Sébastien Marchand 2017/07/19 15:27:26 Add the PDB to the list of outputs.
njanevsk 2017/07/19 16:00:35 Done.
126 'action': [ 126 'action': [
127 '<(python_exe)', 127 '<(python_exe)',
128 'make_integration_tests_clang.py', 128 'make_integration_tests_clang.py',
129 '--output-dir=<(PRODUCT_DIR)', 129 '--output-dir=<(PRODUCT_DIR)',
130 '--input-files=<(_inputs)', 130 '--input-files=<(_inputs)',
131 '--target-name=integration_tests_clang_dll', 131 '--target-name=integration_tests_clang_dll',
132 '--def-file=integration_tests_clang_dll.def'
132 ], 133 ],
133 }, 134 },
134 ], 135 ],
135 }, 136 },
136 { 137 {
137 'target_name': 'integration_tests_dll', 138 'target_name': 'integration_tests_dll',
138 'type': 'loadable_module', 139 'type': 'loadable_module',
139 'sources': [ 140 'sources': [
140 '<@(integration_tests_common_source_files)', 141 '<@(integration_tests_common_source_files)',
141 '<@(integration_tests_other_files)' 142 '<@(integration_tests_other_files)'
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 # Asan agent is compiled without large address spaces to allow a 246 # Asan agent is compiled without large address spaces to allow a
246 # memory optimization on the shadow memory. Agents should run in both 247 # memory optimization on the shadow memory. Agents should run in both
247 # modes, thus in the long term, we should remove this. 248 # modes, thus in the long term, we should remove this.
248 # Disable support for large address spaces. 249 # Disable support for large address spaces.
249 'LargeAddressAware': 1, 250 'LargeAddressAware': 1,
250 }, 251 },
251 }, 252 },
252 }, 253 },
253 ], 254 ],
254 } 255 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698