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

Issue 193103: Build sync engine as part of the browser build (Closed)

Created:
11 years, 3 months ago by ncarter (slow)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ncarter (slow), idana, John Grabowski, pam+watch_chromium.org, Paweł Hajdan Jr., darin (slow to review), brettw, Ben Goodger (Google), tim (not reviewing)
Visibility:
Public.

Description

Build sync engine as part of the browser build. As before, syncapi is built as a dynamic library, and only on windows. The difference is that it's built from source, rather than being pulled in as a binary. Changes to sync engine code: * Use OS_WIN instead of OS_WINDOWS (requires build_config.h). * Rename platform-specific files to match the chrome convention. This allows them to be excluded by rules that already exist in chrome.gyp. The convention is either a /win/ directory, or an _win.cc at the end of the file. Other valid platforms are _mac, _linux, and _posix Changes to DEPS: * On Windows, pull in pthreads-win32. Changes to chrome.gyp: * Add new library targets for sync, notifier, sync_proto, and syncapi. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26295

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -1323 lines) Patch
M DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/net/server_connection_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncapi.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/syncapi.cc View 7 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/sync/engine/syncer_thread.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/syncer_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_util.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/http_bridge.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/sync/glue/http_bridge_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
D chrome/browser/sync/notifier/base/win32/async_network_alive_win32.cc View 1 chunk +0 lines, -235 lines 0 comments Download
D chrome/browser/sync/notifier/base/win32/time_win32.cc View 1 chunk +0 lines, -157 lines 0 comments Download
D chrome/browser/sync/notifier/gaia_auth/win32window.cc View 1 chunk +0 lines, -115 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 7 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/sync/syncable/syncable_unittest.cc View 9 chunks +13 lines, -11 lines 0 comments Download
D chrome/browser/sync/util/character_set_converters-linux.cc View 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/sync/util/character_set_converters-win32.cc View 1 chunk +0 lines, -62 lines 0 comments Download
M chrome/browser/sync/util/character_set_converters_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
D chrome/browser/sync/util/compat-file.h View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/browser/sync/util/compat-file-posix.cc View 1 chunk +0 lines, -12 lines 0 comments Download
D chrome/browser/sync/util/compat-file-win.cc View 1 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/browser/sync/util/compat-pthread.h View 1 chunk +0 lines, -38 lines 0 comments Download
A + chrome/browser/sync/util/compat_file.h View 3 chunks +4 lines, -2 lines 0 comments Download
A + chrome/browser/sync/util/compat_file_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/sync/util/compat_file_win.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A + chrome/browser/sync/util/compat_pthread.h View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/sync/util/event_sys-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/event_sys_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/util/highres_timer.h View 1 chunk +5 lines, -3 lines 0 comments Download
D chrome/browser/sync/util/highres_timer-linux.h View 1 chunk +0 lines, -79 lines 0 comments Download
D chrome/browser/sync/util/highres_timer-linux.cc View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/sync/util/highres_timer-win32.h View 1 chunk +0 lines, -78 lines 0 comments Download
D chrome/browser/sync/util/highres_timer-win32.cc View 1 chunk +0 lines, -46 lines 0 comments Download
M chrome/browser/sync/util/highres_timer_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
A + chrome/browser/sync/util/highres_timer_win.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/util/path_helpers.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/path_helpers.cc View 1 chunk +4 lines, -3 lines 0 comments Download
D chrome/browser/sync/util/path_helpers-linux.cc View 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/browser/sync/util/path_helpers-posix.cc View 1 chunk +0 lines, -96 lines 0 comments Download
M chrome/browser/sync/util/path_helpers_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/util/pthread_helpers.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/util/pthread_helpers.cc View 1 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/sync/util/query_helpers.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/util/query_helpers.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/util/query_helpers_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/util/sync_types.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/util/user_settings.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/util/user_settings.cc View 2 chunks +4 lines, -2 lines 0 comments Download
D chrome/browser/sync/util/user_settings-posix.cc View 1 chunk +0 lines, -34 lines 0 comments Download
D chrome/browser/sync/util/user_settings-win32.cc View 1 chunk +0 lines, -66 lines 0 comments Download
M chrome/chrome.gyp View 1 2 4 chunks +348 lines, -36 lines 0 comments Download
A + chrome\browser\sync\notifier\base\win\async_network_alive_win32.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\notifier\base\win\time_win32.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\notifier\gaia_auth\win\win32window.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\character_set_converters_linux.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\character_set_converters_win.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\highres_timer_linux.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\highres_timer_linux.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\highres_timer_win.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\path_helpers_linux.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\path_helpers_posix.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\user_settings_posix.cc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome\browser\sync\util\user_settings_win.cc View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ncarter (slow)
11 years, 3 months ago (2009-09-14 23:55:16 UTC) #1
idana
LGTM assuming the win trybot passes. Also, it'd be nice if chron can take a ...
11 years, 3 months ago (2009-09-15 00:16:15 UTC) #2
ncarter (slow)
11 years, 3 months ago (2009-09-15 00:58:24 UTC) #3
chron_chromium.org
LGTM otherwise http://codereview.chromium.org/193103/diff/2001/2013 File chrome/browser/sync/engine/syncapi.h (right): http://codereview.chromium.org/193103/diff/2001/2013#newcode62 Line 62: #endif // OS_WIN || OS_WIN // ...
11 years, 3 months ago (2009-09-15 17:07:56 UTC) #4
ncarter (slow)
http://codereview.chromium.org/193103/diff/2001/2013 File chrome/browser/sync/engine/syncapi.h (right): http://codereview.chromium.org/193103/diff/2001/2013#newcode62 Line 62: #endif // OS_WIN || OS_WIN On 2009/09/15 17:07:56, ...
11 years, 3 months ago (2009-09-15 18:01:05 UTC) #5
Zachary Kuznia
11 years, 3 months ago (2009-09-15 18:43:48 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698