OLD | NEW |
1 # Copyright (c) 2014 The Native ClientAuthors. All rights reserved. | 1 # Copyright (c) 2014 The Native ClientAuthors. 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 import("//build/config/sanitizers/sanitizers.gni") |
4 | 5 |
5 static_library("debug_stub") { | 6 static_library("debug_stub") { |
6 sources = [ | 7 sources = [ |
7 "abi.cc", | 8 "abi.cc", |
8 "debug_stub.cc", | 9 "debug_stub.cc", |
9 "nacl_debug.cc", | 10 "nacl_debug.cc", |
10 "packet.cc", | 11 "packet.cc", |
11 "session.cc", | 12 "session.cc", |
12 "target.cc", | 13 "target.cc", |
13 "thread_common.cc", | 14 "thread_common.cc", |
(...skipping 24 matching lines...) Expand all Loading... |
38 executable("gdb_rsp_unittest") { | 39 executable("gdb_rsp_unittest") { |
39 sources = [ | 40 sources = [ |
40 "abi_test.cc", | 41 "abi_test.cc", |
41 "packet_test.cc", | 42 "packet_test.cc", |
42 "session_test.cc", | 43 "session_test.cc", |
43 "test.cc", | 44 "test.cc", |
44 "util_test.cc", | 45 "util_test.cc", |
45 ] | 46 ] |
46 | 47 |
47 deps = [ | 48 deps = [ |
| 49 ":debug_stub", |
48 "//build/config/nacl:nacl_base", | 50 "//build/config/nacl:nacl_base", |
| 51 |
| 52 # All executables must have the sanitizer deps to properly link in |
| 53 # asan mode (this target will be empty in other cases). |
| 54 "//build/config/sanitizers:deps", |
49 "//build/win:default_exe_manifest", | 55 "//build/win:default_exe_manifest", |
50 ":debug_stub", | |
51 ] | 56 ] |
52 } | 57 } |
OLD | NEW |