diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 21:49:41 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-19 21:49:41 +0000 |
commit | cb5e507bf311305117bc727d94921e89c2dee7de (patch) | |
tree | 22f7032c4d0770a3042d5d5cd64e37733aa3af38 /chrome/chrome.gyp | |
parent | 0d920aacaa1c7439ad940b282ea84dd3c3dacfd4 (diff) | |
download | chromium_src-cb5e507bf311305117bc727d94921e89c2dee7de.zip chromium_src-cb5e507bf311305117bc727d94921e89c2dee7de.tar.gz chromium_src-cb5e507bf311305117bc727d94921e89c2dee7de.tar.bz2 |
Make use of the new cross-platform POSIX defines toolkit_uses_gtk, os_posix, and use_x11 for the gyp files. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. I also added Solaris to the remaining grit files.
Patch by ruben (chromium@hybridsource.org).
Review URL: http://codereview.chromium.org/7011032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 38b147c..57ef9a1 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -73,6 +73,10 @@ }], ], },], + ['os_posix == 1 and OS != "mac" and OS != "linux"', { + 'platform_locale_settings_grd': + 'app/resources/locale_settings_linux.grd', + },], ['OS=="mac"', { 'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist', 'nacl_defines': [ @@ -464,7 +468,7 @@ 'browser/debugger/inspectable_tab_proxy.h', ], 'conditions': [ - ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { + ['toolkit_uses_gtk == 1', { 'dependencies': [ '../build/linux/system.gyp:gtk', ], @@ -488,7 +492,7 @@ '..', ], 'conditions': [ - ['OS=="linux"', { + ['toolkit_uses_gtk == 1', { 'dependencies': [ '../build/linux/system.gyp:gtk', ], @@ -709,7 +713,7 @@ 'browser/sync/util/data_encryption.h', ], }], - ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { + ['toolkit_uses_gtk == 1', { 'dependencies': [ '../build/linux/system.gyp:gtk', ], @@ -840,7 +844,7 @@ 'service/cloud_print/print_system_win.cc', ], }], - ['OS=="linux"', { + ['toolkit_uses_gtk == 1', { 'dependencies': [ '../build/linux/system.gyp:gtk', ], @@ -1528,7 +1532,7 @@ }, ]}, # 'targets' ], # OS=="win" - ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { + ['os_posix == 1 and OS != "mac"', { 'targets': [{ 'target_name': 'packed_resources', 'type': 'none', @@ -1629,7 +1633,7 @@ }, ], }], # targets - }], # OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" + }], # os_posix == 1 and OS != "mac" ], # 'conditions' } |