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 source_set("sandbox") { | 5 source_set("sandbox") { |
6 sources = [ | 6 sources = [ |
7 "src/acl.cc", | 7 "src/acl.cc", |
8 "src/acl.h", | 8 "src/acl.h", |
9 "src/app_container.cc", | 9 "src/app_container.cc", |
10 "src/app_container.h", | 10 "src/app_container.h", |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 "src/target_services.cc", | 120 "src/target_services.cc", |
121 "src/target_services.h", | 121 "src/target_services.h", |
122 "src/win_utils.cc", | 122 "src/win_utils.cc", |
123 "src/win_utils.h", | 123 "src/win_utils.h", |
124 "src/win2k_threadpool.cc", | 124 "src/win2k_threadpool.cc", |
125 "src/win2k_threadpool.h", | 125 "src/win2k_threadpool.h", |
126 "src/window.cc", | 126 "src/window.cc", |
127 "src/window.h", | 127 "src/window.h", |
128 ] | 128 ] |
129 | 129 |
130 if (cpu_arch == "x64" ){ | 130 if (cpu_arch == "x64") { |
131 sources += [ | 131 sources += [ |
132 "src/interceptors_64.cc", | 132 "src/interceptors_64.cc", |
133 "src/interceptors_64.h", | 133 "src/interceptors_64.h", |
134 "src/resolver_64.cc", | 134 "src/resolver_64.cc", |
135 "src/service_resolver_64.cc", | 135 "src/service_resolver_64.cc", |
136 "src/Wow64_64.cc", | 136 "src/Wow64_64.cc", |
137 ] | 137 ] |
138 } else if (cpu_arch == "x86") { | 138 } else if (cpu_arch == "x86") { |
139 sources += [ | 139 sources += [ |
140 "src/resolver_32.cc", | 140 "src/resolver_32.cc", |
(...skipping 21 matching lines...) Expand all Loading... |
162 if (cpu_arch == "x86") { | 162 if (cpu_arch == "x86") { |
163 # Make a target that copies the wow_helper files to the out dir. | 163 # Make a target that copies the wow_helper files to the out dir. |
164 # | 164 # |
165 # TODO(brettw) we can probably just build this now that we have proper | 165 # TODO(brettw) we can probably just build this now that we have proper |
166 # toolchain support. | 166 # toolchain support. |
167 copy("copy_wow_helper") { | 167 copy("copy_wow_helper") { |
168 sources = [ | 168 sources = [ |
169 "wow_helper/wow_helper.exe", | 169 "wow_helper/wow_helper.exe", |
170 "wow_helper/wow_helper.pdb", | 170 "wow_helper/wow_helper.pdb", |
171 ] | 171 ] |
172 outputs = [ "$root_out_dir/{{source_file_part}}" ] | 172 outputs = [ |
| 173 "$root_out_dir/{{source_file_part}}", |
| 174 ] |
173 } | 175 } |
174 } | 176 } |
175 | 177 |
176 test("sbox_integration_tests") { | 178 test("sbox_integration_tests") { |
177 sources = [ | 179 sources = [ |
178 "src/app_container_test.cc", | 180 "src/app_container_test.cc", |
179 "src/file_policy_test.cc", | 181 "src/file_policy_test.cc", |
180 "src/handle_inheritance_test.cc", | 182 "src/handle_inheritance_test.cc", |
181 "src/handle_policy_test.cc", | 183 "src/handle_policy_test.cc", |
182 "tests/integration_tests/integration_tests_test.cc", | 184 "tests/integration_tests/integration_tests_test.cc", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 "sandbox_poc/pocdll/network.cc", | 278 "sandbox_poc/pocdll/network.cc", |
277 "sandbox_poc/pocdll/pocdll.cc", | 279 "sandbox_poc/pocdll/pocdll.cc", |
278 "sandbox_poc/pocdll/processes_and_threads.cc", | 280 "sandbox_poc/pocdll/processes_and_threads.cc", |
279 "sandbox_poc/pocdll/registry.cc", | 281 "sandbox_poc/pocdll/registry.cc", |
280 "sandbox_poc/pocdll/spyware.cc", | 282 "sandbox_poc/pocdll/spyware.cc", |
281 "sandbox_poc/pocdll/utils.h", | 283 "sandbox_poc/pocdll/utils.h", |
282 ] | 284 ] |
283 | 285 |
284 defines = [ "POCDLL_EXPORTS" ] | 286 defines = [ "POCDLL_EXPORTS" ] |
285 } | 287 } |
OLD | NEW |