OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 # This needs to be a static library rather than a sources set because small | 7 # This needs to be a static library rather than a sources set because small |
8 # portions of this are used in some contexts (like chrome_elf), and it | 8 # portions of this are used in some contexts (like chrome_elf), and it |
9 # doesnn't seem to dead-code strip very well. This saves 12K on chrome_elf.dll, | 9 # doesnn't seem to dead-code strip very well. This saves 12K on chrome_elf.dll, |
10 # over a source set, for example. | 10 # over a source set, for example. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 "src/win2k_threadpool.cc", | 134 "src/win2k_threadpool.cc", |
135 "src/win2k_threadpool.h", | 135 "src/win2k_threadpool.h", |
136 "src/win_utils.cc", | 136 "src/win_utils.cc", |
137 "src/win_utils.h", | 137 "src/win_utils.h", |
138 "src/window.cc", | 138 "src/window.cc", |
139 "src/window.h", | 139 "src/window.h", |
140 ] | 140 ] |
141 | 141 |
142 if (current_cpu == "x64") { | 142 if (current_cpu == "x64") { |
143 sources += [ | 143 sources += [ |
144 "src/Wow64_64.cc", | |
145 "src/interceptors_64.cc", | 144 "src/interceptors_64.cc", |
146 "src/interceptors_64.h", | 145 "src/interceptors_64.h", |
147 "src/resolver_64.cc", | 146 "src/resolver_64.cc", |
148 "src/service_resolver_64.cc", | 147 "src/service_resolver_64.cc", |
149 ] | 148 ] |
150 } else if (current_cpu == "x86") { | 149 } else if (current_cpu == "x86") { |
151 sources += [ | 150 sources += [ |
152 "src/Wow64.cc", | |
153 "src/Wow64.h", | |
154 "src/resolver_32.cc", | 151 "src/resolver_32.cc", |
155 "src/service_resolver_32.cc", | 152 "src/service_resolver_32.cc", |
156 "src/sidestep/ia32_modrm_map.cpp", | 153 "src/sidestep/ia32_modrm_map.cpp", |
157 "src/sidestep/ia32_opcode_map.cpp", | 154 "src/sidestep/ia32_opcode_map.cpp", |
158 "src/sidestep/mini_disassembler.cpp", | 155 "src/sidestep/mini_disassembler.cpp", |
159 "src/sidestep/mini_disassembler.h", | 156 "src/sidestep/mini_disassembler.h", |
160 "src/sidestep/mini_disassembler_types.h", | 157 "src/sidestep/mini_disassembler_types.h", |
161 "src/sidestep/preamble_patcher.h", | 158 "src/sidestep/preamble_patcher.h", |
162 "src/sidestep/preamble_patcher_with_stub.cpp", | 159 "src/sidestep/preamble_patcher_with_stub.cpp", |
163 "src/sidestep_resolver.cc", | 160 "src/sidestep_resolver.cc", |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 "sandbox_poc/pocdll/spyware.cc", | 302 "sandbox_poc/pocdll/spyware.cc", |
306 "sandbox_poc/pocdll/utils.h", | 303 "sandbox_poc/pocdll/utils.h", |
307 ] | 304 ] |
308 | 305 |
309 defines = [ "POCDLL_EXPORTS" ] | 306 defines = [ "POCDLL_EXPORTS" ] |
310 | 307 |
311 deps = [ | 308 deps = [ |
312 "//build/config/sanitizers:deps", | 309 "//build/config/sanitizers:deps", |
313 ] | 310 ] |
314 } | 311 } |
OLD | NEW |