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

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: merge to #317214 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 "//base", 165 "//base",
166 ] 166 ]
167 if (cpu_arch == "x86") { 167 if (current_cpu == "x86") {
168 deps += [ ":copy_wow_helper" ] 168 deps += [ ":copy_wow_helper" ]
169 } 169 }
170 } 170 }
171 171
172 if (cpu_arch == "x86") { 172 if (current_cpu == "x86") {
173 # 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.
174 # 174 #
175 # 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
176 # toolchain support. 176 # toolchain support.
177 copy("copy_wow_helper") { 177 copy("copy_wow_helper") {
178 sources = [ 178 sources = [
179 "wow_helper/wow_helper.exe", 179 "wow_helper/wow_helper.exe",
180 "wow_helper/wow_helper.pdb", 180 "wow_helper/wow_helper.pdb",
181 ] 181 ]
182 outputs = [ 182 outputs = [
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 "sandbox_poc/pocdll/network.cc", 292 "sandbox_poc/pocdll/network.cc",
293 "sandbox_poc/pocdll/pocdll.cc", 293 "sandbox_poc/pocdll/pocdll.cc",
294 "sandbox_poc/pocdll/processes_and_threads.cc", 294 "sandbox_poc/pocdll/processes_and_threads.cc",
295 "sandbox_poc/pocdll/registry.cc", 295 "sandbox_poc/pocdll/registry.cc",
296 "sandbox_poc/pocdll/spyware.cc", 296 "sandbox_poc/pocdll/spyware.cc",
297 "sandbox_poc/pocdll/utils.h", 297 "sandbox_poc/pocdll/utils.h",
298 ] 298 ]
299 299
300 defines = [ "POCDLL_EXPORTS" ] 300 defines = [ "POCDLL_EXPORTS" ]
301 } 301 }
OLDNEW
« no previous file with comments | « sandbox/linux/BUILD.gn ('k') | skia/BUILD.gn » ('j') | third_party/widevine/cdm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698