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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | base/base.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 import("//build/config/android/config.gni")
2
3 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.
4
5 shared_library("chromium_android_linker") {
6 sources = [ "linker/linker_jni.cc" ]
7 # The NDK contains the crazy_linker here:
8 # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker'
9 # However, we use our own fork. See bug 384700.
10 deps = [ "//third_party/android_crazy_linker" ]
11
12 # TODO(GYP):
13 # The crazy linker is never instrumented.
14 #'cflags!': [
15 #'-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
16 #],
17 }
OLDNEW
« 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