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

Side by Side Diff: src/trusted/debug_stub/BUILD.gn

Issue 2049033004: Fix NaCl executable linkages under ASAN. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: add deps to sel_ldr, ncval_new as well Created 4 years, 6 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 (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
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 }
OLDNEW
« no previous file with comments | « no previous file | src/trusted/service_runtime/BUILD.gn » ('j') | src/trusted/validator/driver/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698