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