• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5import("//build/config/android/config.gni")
6
7assert(is_android)
8
9shared_library("chromium_android_linker") {
10  sources = [
11    "android_dlext.h",
12    "legacy_linker_jni.cc",
13    "legacy_linker_jni.h",
14    "linker_jni.cc",
15    "linker_jni.h",
16    "modern_linker_jni.cc",
17    "modern_linker_jni.h",
18  ]
19
20  # The NDK contains the crazy_linker here:
21  #   '<(android_ndk_root)/crazy_linker.gyp:crazy_linker'
22  # However, we use our own fork.  See bug 384700.
23  deps = [
24    "//build/config/sanitizers:deps",
25    "//third_party/android_crazy_linker",
26  ]
27}
28