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