Index: chrome/chrome_common.gypi |
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi |
index 4d95f87f8f2a3f1d6444f23b83ad00b2a727a00a..4e5447daf152ecc063efe42b47de6b61e4c2e9d8 100644 |
--- a/chrome/chrome_common.gypi |
+++ b/chrome/chrome_common.gypi |
@@ -240,8 +240,6 @@ |
'common/instant_types.h', |
'common/localized_error.cc', |
'common/localized_error.h', |
- 'common/local_discovery/service_discovery_client.cc', |
- 'common/local_discovery/service_discovery_client.h', |
'common/logging_chrome.cc', |
'common/logging_chrome.h', |
'common/mac/app_mode_common.h', |
@@ -426,6 +424,18 @@ |
'<(DEPTH)/printing/printing.gyp:printing', |
], |
}], |
+ ['enable_service_discovery==1', { |
+ 'sources' : [ |
+ 'common/local_discovery/service_discovery_client.cc', |
+ 'common/local_discovery/service_discovery_client.h', |
+ ] |
+ }], |
+ ['enable_mdns==1', { |
+ 'sources' : [ |
+ 'common/local_discovery/service_discovery_client_impl.cc', |
+ 'common/local_discovery/service_discovery_client_impl.h', |
+ ] |
+ }], |
['OS=="android"', { |
'sources/': [ |
['exclude', '^common/chrome_version_info_posix.cc'], |