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

Unified Diff: base/base.gyp

Issue 196009: Linux: set the process title (that shows in "ps" etc.) of renderers correctly when using the zygote. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | base/command_line.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
===================================================================
--- base/base.gyp (revision 25770)
+++ base/base.gyp (working copy)
@@ -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,8 +426,16 @@
'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
# inotify headers
« no previous file with comments | « no previous file | base/command_line.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698