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

Unified Diff: chrome/chrome_android.gypi

Issue 17820002: Add compiler flags that prevent text relocations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix patch. Created 7 years, 6 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 | « no previous file | content/content_shell.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_android.gypi
diff --git a/chrome/chrome_android.gypi b/chrome/chrome_android.gypi
index 8237fac6e5e923d2cdca9081b649fe2a1661ccc8..4d046b606ebc92cf2eabe27ee23411a849244e47 100644
--- a/chrome/chrome_android.gypi
+++ b/chrome/chrome_android.gypi
@@ -48,6 +48,13 @@
'dependencies': [
'../base/allocator/allocator.gyp:allocator', ],
}],
+ [ 'android_app_abi != "x86"', {
+ 'ldflags': [
+ # Do not allow text relocations.
+ '-Wl,--fatal-warnings',
Yaron 2013/07/02 00:56:06 Should be put this instead near werror in build/co
+ '-Wl,--warn-shared-textrel',
+ ],
+ }],
],
},
{
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698