diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 18:18:34 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-12 18:18:34 +0000 |
commit | 79e2336c1782fff5147a447495a20729007935c2 (patch) | |
tree | 08e8d6c59381ed89bab615ef9618fd0f5db7186f /build/temp_gyp | |
parent | 45316d6f9cd510bd1b4604c38713272b2c8a7c9e (diff) | |
download | chromium_src-79e2336c1782fff5147a447495a20729007935c2.zip chromium_src-79e2336c1782fff5147a447495a20729007935c2.tar.gz chromium_src-79e2336c1782fff5147a447495a20729007935c2.tar.bz2 |
The gyp files don't have a way to refer to POSIX-like OS's as a group, so I defined os_posix, toolkit_gtk, and use_x11 in common.gypi to handle them. I used something similar when porting Chromium 10 and 11 to OpenBSD and Solaris, plus a version of this patch has been tested on FreeBSD.
Chromium has also been built on other BSDs, so rather than adding each Unix to every gyp file individually every time another port is added, these broad defines can be used instead and modified with specific logic only where necessary.
I included a few modified gyp files so the usage can be seen. I also added sunos5 to some grd/html files and set the default host_arch on i86pc solaris to ia32.
BUG=0
TEST={}
Patch by ruben <chromium@hybridsource.org>.
Review URL: http://codereview.chromium.org/6965007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85154 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/temp_gyp')
-rw-r--r-- | build/temp_gyp/googleurl.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/temp_gyp/googleurl.gyp b/build/temp_gyp/googleurl.gyp index 8e87a70..b59d994 100644 --- a/build/temp_gyp/googleurl.gyp +++ b/build/temp_gyp/googleurl.gyp @@ -86,7 +86,7 @@ '../../base/test/run_all_unittests.cc', ], 'conditions': [ - ['OS=="linux" or OS=="freebsd"', { + ['os_posix==1 and OS!="mac"', { 'conditions': [ ['linux_use_tcmalloc==1', { 'dependencies': [ |