naiveproxy/base/android/linker/BUILD.gn
2018-08-11 05:35:24 +00:00

30 lines
824 B
Plaintext

# 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 = [
"legacy_linker_jni.cc",
"legacy_linker_jni.h",
"linker_jni.cc",
"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:buildflag_header_h",
"//build/config:exe_and_shlib_deps",
"//third_party/android_crazy_linker",
]
# Export JNI symbols.
configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
configs += [ "//build/config/android:hide_all_but_jni" ]
}