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

Side by Side Diff: chrome_elf/BUILD.gn

Issue 2345913003: [chrome_elf] NTRegistry - added wow64 redirection support. (Closed)
Patch Set: clang fixes. Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # Chrome elf targets (excepting tests) should only link in kernel32. 5 # Chrome elf targets (excepting tests) should only link in kernel32.
6 # Please don't add dependencies on any other system libraries. 6 # Please don't add dependencies on any other system libraries.
7 7
8 import("//build/config/win/manifest.gni") 8 import("//build/config/win/manifest.gni")
9 import("//chrome/version.gni") 9 import("//chrome/version.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 ldflags = [ 216 ldflags = [
217 "/DELAYLOAD:advapi32.dll", 217 "/DELAYLOAD:advapi32.dll",
218 "/DELAYLOAD:ole32.dll", 218 "/DELAYLOAD:ole32.dll",
219 "/DELAYLOAD:shell32.dll", 219 "/DELAYLOAD:shell32.dll",
220 "/DELAYLOAD:user32.dll", 220 "/DELAYLOAD:user32.dll",
221 "/DELAYLOAD:winmm.dll", 221 "/DELAYLOAD:winmm.dll",
222 ] 222 ]
223 } 223 }
224 224
225 shared_library("blacklist_test_main_dll") { 225 shared_library("blacklist_test_main_dll") {
226 testonly = true
226 sources = [ 227 sources = [
227 "blacklist/test/blacklist_test_main_dll.cc", 228 "blacklist/test/blacklist_test_main_dll.cc",
228 "blacklist/test/blacklist_test_main_dll.def", 229 "blacklist/test/blacklist_test_main_dll.def",
229 ] 230 ]
230 deps = [ 231 deps = [
231 ":blacklist", 232 ":blacklist",
232 "//base", 233 "//base",
233 "//build/config/sanitizers:deps", 234 "//build/config/sanitizers:deps",
234 "//chrome/install_static:install_static_util", 235 "//chrome/install_static:install_static_util",
235 "//chrome_elf/nt_registry:nt_registry", 236 "//chrome_elf/nt_registry:nt_registry",
236 ] 237 ]
237 } 238 }
238 239
239 loadable_module("blacklist_test_dll_1") { 240 loadable_module("blacklist_test_dll_1") {
241 testonly = true
240 sources = [ 242 sources = [
241 "blacklist/test/blacklist_test_dll_1.cc", 243 "blacklist/test/blacklist_test_dll_1.cc",
242 "blacklist/test/blacklist_test_dll_1.def", 244 "blacklist/test/blacklist_test_dll_1.def",
243 ] 245 ]
244 deps = [ 246 deps = [
245 "//build/config/sanitizers:deps", 247 "//build/config/sanitizers:deps",
246 ] 248 ]
247 } 249 }
248 250
249 loadable_module("blacklist_test_dll_2") { 251 loadable_module("blacklist_test_dll_2") {
252 testonly = true
250 sources = [ 253 sources = [
251 "blacklist/test/blacklist_test_dll_2.cc", 254 "blacklist/test/blacklist_test_dll_2.cc",
252 "blacklist/test/blacklist_test_dll_2.def", 255 "blacklist/test/blacklist_test_dll_2.def",
253 ] 256 ]
254 deps = [ 257 deps = [
255 "//build/config/sanitizers:deps", 258 "//build/config/sanitizers:deps",
256 ] 259 ]
257 } 260 }
258 261
259 # As-is, this does not generate a .lib file because there are no exports and no 262 # As-is, this does not generate a .lib file because there are no exports and no
260 # .def file. The current definition of loadable_module does not declare a .lib 263 # .def file. The current definition of loadable_module does not declare a .lib
261 # file as an output, so this is OK. If it did (or if this used shared_library 264 # file as an output, so this is OK. If it did (or if this used shared_library
262 # which does), Ninja would get confused and always rebuild this target because 265 # which does), Ninja would get confused and always rebuild this target because
263 # it sees a declared output file but that file doesn't exist on disk. 266 # it sees a declared output file but that file doesn't exist on disk.
264 loadable_module("blacklist_test_dll_3") { 267 loadable_module("blacklist_test_dll_3") {
268 testonly = true
265 sources = [ 269 sources = [
266 "blacklist/test/blacklist_test_dll_3.cc", 270 "blacklist/test/blacklist_test_dll_3.cc",
267 ] 271 ]
268 deps = [ 272 deps = [
269 "//build/config/sanitizers:deps", 273 "//build/config/sanitizers:deps",
270 ] 274 ]
271 } 275 }
272 276
273 shared_library("hook_util_test_dll") { 277 shared_library("hook_util_test_dll") {
278 testonly = true
274 sources = [ 279 sources = [
275 "hook_util/test/hook_util_test_dll.cc", 280 "hook_util/test/hook_util_test_dll.cc",
276 "hook_util/test/hook_util_test_dll.h", 281 "hook_util/test/hook_util_test_dll.h",
277 ] 282 ]
278 deps = [ 283 deps = [
279 "//build/config/sanitizers:deps", 284 "//build/config/sanitizers:deps",
280 ] 285 ]
281 } 286 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698