Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index d263238504cc9b29a470bbe35992c0f50c06af80..76096be58e0300f6db24c4a7d17bd36ac457a1f2 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -4484,6 +4484,15 @@ |
['exclude', '^browser/automation/'], |
], |
}], |
+ ['enable_session_service!=1', { |
+ 'sources!': [ |
+ 'browser/sessions/session_restore.cc', |
+ 'browser/sessions/session_service.cc', |
+ 'browser/sessions/session_service.h', |
+ 'browser/sessions/session_service_factory.cc', |
+ 'browser/sessions/session_service_factory.h', |
+ ], |
+ }], |
['OS=="android"', { |
'sources': [ |
'browser/sync/glue/synced_window_delegate_registry.cc', |
@@ -4517,9 +4526,6 @@ |
'browser/ui/browser_tab_restore_service_delegate.cc', |
'browser/ui/sync/browser_synced_window_delegate.cc', |
- # Custom implementation of session_restore for Android. |
- 'browser/sessions/session_restore.cc', |
- |
'browser/ui/sad_tab_helper.cc', |
'browser/ui/webui/certificate_viewer_webui.cc', |
'browser/ui/window_sizer.cc', |