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

Unified Diff: content/content_browser.gypi

Issue 59323007: Make dbus-based wifi data provider optional on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder gyp variable Created 7 years, 1 month 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 | « content/browser/geolocation/empty_wifi_data_provider.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_browser.gypi
diff --git a/content/content_browser.gypi b/content/content_browser.gypi
index a6aff109698a04f38631845bdea28021922ce49b..bbeeb0ea6afc985428841ddf8257d91557229531 100644
--- a/content/content_browser.gypi
+++ b/content/content_browser.gypi
@@ -1392,13 +1392,11 @@
}],
['toolkit_uses_gtk == 1', {
'dependencies': [
- '../build/linux/system.gyp:dbus',
# For FcLangSetAdd call in render_sandbox_host_linux.cc
'../build/linux/system.gyp:fontconfig',
'../build/linux/system.gyp:gtk',
# For XShm* in backing_store_x.cc
'../build/linux/system.gyp:x11',
- '../dbus/dbus.gyp:dbus',
],
}],
['OS=="linux"', {
@@ -1409,9 +1407,7 @@
}],
['OS=="linux" and use_aura==1', {
'dependencies': [
- '../build/linux/system.gyp:dbus',
'../build/linux/system.gyp:fontconfig',
- '../dbus/dbus.gyp:dbus',
],
}],
['use_x11==1', {
@@ -1474,6 +1470,9 @@
'sources/': [
['exclude', '^browser/device_orientation/data_fetcher_shared_memory_default.cc$'],
],
+ 'sources!': [
+ 'browser/geolocation/empty_wifi_data_provider.cc',
+ ],
'dependencies': [
'../third_party/sudden_motion_sensor/sudden_motion_sensor.gyp:sudden_motion_sensor',
],
@@ -1498,7 +1497,6 @@
['os_bsd==1', {
'sources/': [
['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$'],
- ['exclude', '^browser/geolocation/wifi_data_provider_linux\\.cc$'],
],
}],
['use_aura!=1 and OS!="win"', {
@@ -1584,5 +1582,23 @@
'../third_party/speex/speex.gyp:libspeex',
],
}],
+ ['OS == "win"', {
+ 'sources!': [
+ 'browser/geolocation/empty_wifi_data_provider.cc',
+ ],
+ }],
+ ['OS == "linux" and use_dbus==1', {
+ 'sources!': [
+ 'browser/geolocation/empty_wifi_data_provider.cc',
+ ],
+ 'dependencies': [
+ '../build/linux/system.gyp:dbus',
+ '../dbus/dbus.gyp:dbus',
+ ],
+ }, { # OS != "linux" or use_dbus==0
+ 'sources!': [
+ 'browser/geolocation/wifi_data_provider_linux.cc',
+ ],
+ }],
],
}
« no previous file with comments | « content/browser/geolocation/empty_wifi_data_provider.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698