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', |
+ ], |
+ }], |
], |
} |