summaryrefslogtreecommitdiff
path: root/chromium/base/android/linker/BUILD.gn
blob: 5f85cc2d65fda107ea25632ac4c79776b2d176fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/android/config.gni")

assert(is_android)

shared_library("chromium_android_linker") {
  sources = [
    "android_dlext.h",
    "legacy_linker_jni.cc",
    "legacy_linker_jni.h",
    "linker_jni.cc",
    "linker_jni.h",
    "modern_linker_jni.cc",
    "modern_linker_jni.h",
  ]

  # The NDK contains the crazy_linker here:
  #   '<(android_ndk_root)/crazy_linker.gyp:crazy_linker'
  # However, we use our own fork.  See bug 384700.
  deps = [
    "//build/config:exe_and_shlib_deps",
    "//third_party/android_crazy_linker",
  ]
}