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

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: Rebase 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..eec970c94c347c6a253119513e4b3c597151ce46
--- /dev/null
+++ b/base/android/BUILD.gn
@@ -0,0 +1,17 @@
+import("//build/config/android/config.gni")
+
+assert(is_android && !is_android_webview_build)
Yaron 2014/10/17 19:16:27 will gn split out each value in the assert? if not
cjhopman 2014/10/17 21:05:37 Done.
+
+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',
Yaron 2014/10/17 19:16:27 why is this commented out?
cjhopman 2014/10/17 21:05:20 The "TODO(GYP)" above marks this as part of the GY
+ #],
+}
« 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