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

Unified Diff: content/content_shell.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
« chrome/chrome_android.gypi ('K') | « chrome/chrome_android.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_shell.gypi
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index 23806f8635208687cc38bfa6f758b3b57a6bb3df..8a5759e49e8de7c1db340e4b3c4062f692578e85 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -656,6 +656,13 @@
'-lgabi++', # For rtti
],
}],
+ ['android_app_abi != "x86"', {
+ 'ldflags': [
+ # Do not allow text relocations.
+ '-Wl,--fatal-warnings',
+ '-Wl,--warn-shared-textrel',
+ ],
+ }],
],
},
{
« chrome/chrome_android.gypi ('K') | « chrome/chrome_android.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698