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

Unified Diff: chrome/chrome_browser.gypi

Issue 7011032: Make the gyp files more cross-platform across the Unices (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: updated to trunk and added spaces, collapsed one check Created 9 years, 7 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
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 7967900b9ec68d9ec82ca446b7d6fd6a89193a7b..1e229f54294d8817255806333c2c451ea0b1ac99 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -3578,7 +3578,7 @@
['exclude', '^browser/chromeos/input_method/candidate_window.h'],
],
}],
- ['OS=="linux"', {
+ ['toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:dbus-glib',
'../build/linux/system.gyp:gconf',
@@ -3646,7 +3646,7 @@
],
}],
],
- }, { # OS != "linux"
+ }, { # toolkit_uses_gtk != 1
'sources!': [
# TODO(mattm): Cert manager stuff is really !USE_NSS.
'browser/certificate_manager_model.cc',
@@ -3655,14 +3655,6 @@
'browser/ui/webui/options/certificate_manager_handler.h',
],
}],
- ['OS=="freebsd" or OS=="openbsd"', {
- 'dependencies': [
- '../build/linux/system.gyp:gtk',
- '../build/linux/system.gyp:gtkprint',
- '../build/linux/system.gyp:nss',
- '../build/linux/system.gyp:x11',
- ],
- }],
['OS=="mac"', {
'sources!': [
'browser/automation/automation_provider_list_generic.cc',
@@ -4264,14 +4256,14 @@
}],
# Exclude extension_input_ui_api again
# (Required because of the '^browser/extensions/' include abrove)
- ['OS=="linux" and ( touchui==0 or chromeos==0 )', {
+ ['toolkit_uses_gtk == 1 and ( touchui == 0 or chromeos == 0 )', {
'sources/': [
['exclude', '^browser/extensions/extension_input_ui_api.cc'],
['exclude', '^browser/extensions/extension_input_ui_api.h'],
],
}],
# GTK build only
- ['OS=="linux" and toolkit_views==0', {
+ ['toolkit_uses_gtk == 1 and toolkit_views == 0', {
'sources/': [
['include', '^browser/printing/print_dialog_gtk.cc'],
['include', '^browser/printing/print_dialog_gtk.h'],
@@ -4359,7 +4351,7 @@
},
],
}],
- ['OS=="linux" and gcc_version==45', {
+ ['os_posix == 1 and OS != "mac" and gcc_version == 45', {
# Avoid gcc 4.5 miscompilation of template_url.cc
# as per http://crbug.com/41887
'cflags': [
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_common.gypi » ('j') | chrome/chrome_tests.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698