| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/android/config.gni") | |
| 6 | |
| 7 assert(is_android) | |
| 8 | |
| 9 # GYP: //base/base.gyp:chromium_android_linker | |
| 10 shared_library("chromium_android_linker") { | |
| 11 sources = [ | |
| 12 "legacy_linker_jni.cc", | |
| 13 ] | |
| 14 | |
| 15 # The NDK contains the crazy_linker here: | |
| 16 # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker' | |
| 17 # However, we use our own fork. See bug 384700. | |
| 18 deps = [ | |
| 19 "//third_party/android_crazy_linker", | |
| 20 ] | |
| 21 | |
| 22 # TODO(GYP): | |
| 23 # The crazy linker is never instrumented. | |
| 24 #'cflags!': [ | |
| 25 #'-finstrument-functions', | |
| 26 #], | |
| 27 } | |
| OLD | NEW |