diff options
author | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-10 18:02:17 +0000 |
---|---|---|
committer | mdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-10 18:02:17 +0000 |
commit | 7f113f39afed41b39d5c937039879c5d822c6b5e (patch) | |
tree | db014b39bf9cdc6daf6aae947a16c4c5ff5d1721 /base/base.gyp | |
parent | e4e3caed74ecfe1ef1da4c7ba8fc076f59a53ef1 (diff) | |
download | chromium_src-7f113f39afed41b39d5c937039879c5d822c6b5e.zip chromium_src-7f113f39afed41b39d5c937039879c5d822c6b5e.tar.gz chromium_src-7f113f39afed41b39d5c937039879c5d822c6b5e.tar.bz2 |
Linux: set the process title (that shows in "ps" etc.) of renderers correctly when using the zygote.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/196009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/base/base.gyp b/base/base.gyp index f6a7192..8c0ed39 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -261,6 +261,8 @@ 'scoped_variant_win.cc', 'scoped_variant_win.h', 'scoped_vector.h', + 'setproctitle_linux.c', + 'setproctitle_linux.h', 'sha2.cc', 'sha2.h', 'shared_memory.h', @@ -398,8 +400,8 @@ 'cflags': [ '-Wno-write-strings', ], - 'link_settings': { - 'libraries': [ + 'link_settings': { + 'libraries': [ # We need rt for clock_gettime(). '-lrt', ], @@ -424,7 +426,15 @@ 'nss_init.h', 'time_posix.cc', ], - } + }, + ], + [ 'OS != "linux"', { + 'sources!': [ + # Not automatically excluded by the *linux.cc rules. + 'setproctitle_linux.c', + 'setproctitle_linux.h', + ], + }, ], [ 'GENERATOR == "quentin"', { # Quentin builds don't have a recent enough glibc to include the |