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

Side by Side Diff: base/android/linker/BUILD.gn

Issue 1318343003: Annotate GN executables and shared_libraries with sanitizer deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « base/BUILD.gn ('k') | base/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 6
7 assert(is_android) 7 assert(is_android)
8 8
9 # GYP: //base/base.gyp:chromium_android_linker 9 # GYP: //base/base.gyp:chromium_android_linker
10 shared_library("chromium_android_linker") { 10 shared_library("chromium_android_linker") {
11 sources = [ 11 sources = [
12 "android_dlext.h", 12 "android_dlext.h",
13 "legacy_linker_jni.cc", 13 "legacy_linker_jni.cc",
14 "legacy_linker_jni.h", 14 "legacy_linker_jni.h",
15 "linker_jni.cc", 15 "linker_jni.cc",
16 "linker_jni.h", 16 "linker_jni.h",
17 "modern_linker_jni.cc", 17 "modern_linker_jni.cc",
18 "modern_linker_jni.h", 18 "modern_linker_jni.h",
19 ] 19 ]
20 20
21 # The NDK contains the crazy_linker here: 21 # The NDK contains the crazy_linker here:
22 # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker' 22 # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker'
23 # However, we use our own fork. See bug 384700. 23 # However, we use our own fork. See bug 384700.
24 deps = [ 24 deps = [
25 "//build/config/sanitizers:deps",
25 "//third_party/android_crazy_linker", 26 "//third_party/android_crazy_linker",
26 ] 27 ]
27 28
28 # TODO(GYP): 29 # TODO(GYP):
29 # The crazy linker is never instrumented. 30 # The crazy linker is never instrumented.
30 #'cflags!': [ 31 #'cflags!': [
31 #'-finstrument-functions', 32 #'-finstrument-functions',
32 #], 33 #],
33 } 34 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698