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

Side by Side Diff: sandbox/win/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: cleanup / review Created 5 years, 10 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 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "src/target_services.cc", 128 "src/target_services.cc",
129 "src/target_services.h", 129 "src/target_services.h",
130 "src/win_utils.cc", 130 "src/win_utils.cc",
131 "src/win_utils.h", 131 "src/win_utils.h",
132 "src/win2k_threadpool.cc", 132 "src/win2k_threadpool.cc",
133 "src/win2k_threadpool.h", 133 "src/win2k_threadpool.h",
134 "src/window.cc", 134 "src/window.cc",
135 "src/window.h", 135 "src/window.h",
136 ] 136 ]
137 137
138 if (cpu_arch == "x64") { 138 if (current_cpu == "x64") {
139 sources += [ 139 sources += [
140 "src/interceptors_64.cc", 140 "src/interceptors_64.cc",
141 "src/interceptors_64.h", 141 "src/interceptors_64.h",
142 "src/resolver_64.cc", 142 "src/resolver_64.cc",
143 "src/service_resolver_64.cc", 143 "src/service_resolver_64.cc",
144 "src/Wow64_64.cc", 144 "src/Wow64_64.cc",
145 ] 145 ]
146 } else if (cpu_arch == "x86") { 146 } else if (current_cpu == "x86") {
147 sources += [ 147 sources += [
148 "src/resolver_32.cc", 148 "src/resolver_32.cc",
149 "src/service_resolver_32.cc", 149 "src/service_resolver_32.cc",
150 "src/sidestep_resolver.cc", 150 "src/sidestep_resolver.cc",
151 "src/sidestep_resolver.h", 151 "src/sidestep_resolver.h",
152 "src/sidestep/ia32_modrm_map.cpp", 152 "src/sidestep/ia32_modrm_map.cpp",
153 "src/sidestep/ia32_opcode_map.cpp", 153 "src/sidestep/ia32_opcode_map.cpp",
154 "src/sidestep/mini_disassembler_types.h", 154 "src/sidestep/mini_disassembler_types.h",
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", 165 ":copy_wow_helper",
166 "//base", 166 "//base",
167 ] 167 ]
168 } 168 }
169 169
170 if (cpu_arch == "x86") { 170 if (current_cpu == "x86") {
171 # Make a target that copies the wow_helper files to the out dir. 171 # Make a target that copies the wow_helper files to the out dir.
172 # 172 #
173 # TODO(brettw) we can probably just build this now that we have proper 173 # TODO(brettw) we can probably just build this now that we have proper
174 # toolchain support. 174 # toolchain support.
175 copy("copy_wow_helper") { 175 copy("copy_wow_helper") {
176 sources = [ 176 sources = [
177 "wow_helper/wow_helper.exe", 177 "wow_helper/wow_helper.exe",
178 "wow_helper/wow_helper.pdb", 178 "wow_helper/wow_helper.pdb",
179 ] 179 ]
180 outputs = [ 180 outputs = [
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 "sandbox_poc/pocdll/network.cc", 290 "sandbox_poc/pocdll/network.cc",
291 "sandbox_poc/pocdll/pocdll.cc", 291 "sandbox_poc/pocdll/pocdll.cc",
292 "sandbox_poc/pocdll/processes_and_threads.cc", 292 "sandbox_poc/pocdll/processes_and_threads.cc",
293 "sandbox_poc/pocdll/registry.cc", 293 "sandbox_poc/pocdll/registry.cc",
294 "sandbox_poc/pocdll/spyware.cc", 294 "sandbox_poc/pocdll/spyware.cc",
295 "sandbox_poc/pocdll/utils.h", 295 "sandbox_poc/pocdll/utils.h",
296 ] 296 ]
297 297
298 defines = [ "POCDLL_EXPORTS" ] 298 defines = [ "POCDLL_EXPORTS" ]
299 } 299 }
OLDNEW
« ppapi/BUILD.gn ('K') | « sandbox/linux/BUILD.gn ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698