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 source_set("sandbox") { | 7 source_set("sandbox") { |
8 sources = [ | 8 sources = [ |
9 "src/acl.cc", | 9 "src/acl.cc", |
10 "src/acl.h", | 10 "src/acl.h", |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 "src/sidestep/mini_disassembler.cpp", | 155 "src/sidestep/mini_disassembler.cpp", |
156 "src/sidestep/mini_disassembler.h", | 156 "src/sidestep/mini_disassembler.h", |
157 "src/sidestep/preamble_patcher_with_stub.cpp", | 157 "src/sidestep/preamble_patcher_with_stub.cpp", |
158 "src/sidestep/preamble_patcher.h", | 158 "src/sidestep/preamble_patcher.h", |
159 "src/Wow64.cc", | 159 "src/Wow64.cc", |
160 "src/Wow64.h", | 160 "src/Wow64.h", |
161 ] | 161 ] |
162 } | 162 } |
163 | 163 |
164 deps = [ | 164 deps = [ |
165 ":copy_wow_helper", | |
166 "//base", | 165 "//base", |
167 ] | 166 ] |
| 167 if (cpu_arch == "x86") { |
| 168 deps += [ ":copy_wow_helper" ] |
| 169 } |
168 } | 170 } |
169 | 171 |
170 if (cpu_arch == "x86") { | 172 if (cpu_arch == "x86") { |
171 # Make a target that copies the wow_helper files to the out dir. | 173 # Make a target that copies the wow_helper files to the out dir. |
172 # | 174 # |
173 # TODO(brettw) we can probably just build this now that we have proper | 175 # TODO(brettw) we can probably just build this now that we have proper |
174 # toolchain support. | 176 # toolchain support. |
175 copy("copy_wow_helper") { | 177 copy("copy_wow_helper") { |
176 sources = [ | 178 sources = [ |
177 "wow_helper/wow_helper.exe", | 179 "wow_helper/wow_helper.exe", |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 "sandbox_poc/pocdll/network.cc", | 292 "sandbox_poc/pocdll/network.cc", |
291 "sandbox_poc/pocdll/pocdll.cc", | 293 "sandbox_poc/pocdll/pocdll.cc", |
292 "sandbox_poc/pocdll/processes_and_threads.cc", | 294 "sandbox_poc/pocdll/processes_and_threads.cc", |
293 "sandbox_poc/pocdll/registry.cc", | 295 "sandbox_poc/pocdll/registry.cc", |
294 "sandbox_poc/pocdll/spyware.cc", | 296 "sandbox_poc/pocdll/spyware.cc", |
295 "sandbox_poc/pocdll/utils.h", | 297 "sandbox_poc/pocdll/utils.h", |
296 ] | 298 ] |
297 | 299 |
298 defines = [ "POCDLL_EXPORTS" ] | 300 defines = [ "POCDLL_EXPORTS" ] |
299 } | 301 } |
OLD | NEW |