diff options
author | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-10 23:39:52 +0000 |
---|---|---|
committer | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-10 23:39:52 +0000 |
commit | a9b08b5392ed3b37c80071e62c8696a95a990a1e (patch) | |
tree | d53bf3a09550948b635c025862af91dc79b4aaf9 /build | |
parent | 7525e31ba7dc94437e9f950af08919f3e1adbc98 (diff) | |
download | chromium_src-a9b08b5392ed3b37c80071e62c8696a95a990a1e.zip chromium_src-a9b08b5392ed3b37c80071e62c8696a95a990a1e.tar.gz chromium_src-a9b08b5392ed3b37c80071e62c8696a95a990a1e.tar.bz2 |
Temporarily add a disable_pie GYP flag
Add a flag that will disable building Chrome as a Position Independent Executable.
R=zelidrag@chromium.org,raymes@chromium.org
BUG=chromium-os:15161
TEST=Tested building with and without the flag; with the flag, symbols appear correctly in the remote session.
Review URL: http://codereview.chromium.org/7000015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index d8c2703..112d5294 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -139,6 +139,9 @@ # Has no effect if 'clang' is not set as well. 'clang_use_chrome_plugins%': 0, + # Allow a user to link Chromium as a non-position independent executable. + 'disable_pie%': 0, + 'conditions': [ # A flag to enable or disable our compile-time dependency # on gnome-keyring. If that dependency is disabled, no gnome-keyring @@ -205,6 +208,7 @@ 'remoting%': '<(remoting)', 'p2p_apis%': '<(p2p_apis)', 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', + 'disable_pie%': '<(disable_pie)', # The release channel that this build targets. This is used to restrict # channel-specific build options, like which installer packages to create. |