Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1927)

Unified Diff: base/android/BUILD.gn

Issue 640363002: Make crazy linker work in gn build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-shell-apk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | base/base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/BUILD.gn
diff --git a/base/android/BUILD.gn b/base/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..befe39795f2e97faec3764cddb7703581d13be9f
--- /dev/null
+++ b/base/android/BUILD.gn
@@ -0,0 +1,18 @@
+import("//build/config/android/config.gni")
+
+assert(is_android)
+assert(!is_android_webview_build)
+
+shared_library("chromium_android_linker") {
+ sources = [ "linker/linker_jni.cc" ]
+ # 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 = [ "//third_party/android_crazy_linker" ]
+
+ # TODO(GYP):
+ # The crazy linker is never instrumented.
+ #'cflags!': [
+ #'-finstrument-functions',
+ #],
+}
« no previous file with comments | « BUILD.gn ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698