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

Issue 2419793005: [Sync] Fix test support targets + duplicate namespaces. (Closed)

Created:
4 years, 2 months ago by maxbogue
Modified:
4 years, 2 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, vabr+watchlistpasswordmanager_chromium.org, ntp-dev+reviews_chromium.org, rouslan+autofill_chromium.org, agrieve+watch_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, mikecase+watch_chromium.org, chromium-apps-reviews_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jbudorick+watch_chromium.org, sync-reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Fix test support targets + duplicate namespaces. Now there are four primary test support targets: base, engine, model, and driver. Hypothetically a model type would only need to depend on test_support_model, and an embedder would only need to depend on test_support_driver. This is currently not necessarily the case since some model-y things still live in driver, but we can dream. test_support_base is exposed via the public_deps of all three others so it should essentially never need to be depended on directly. The main sync target is now not exposed via the public_deps of the test support targets. Almost everywhere seemed to be explicitly adding it anyways, so I just made it required. All test_support_sync_* targets have been renamed test_support_*, as with the switch to GN the "sync" no longer adds anything. This CL also fixes some files that had two "namespace syncer" blocks left over from the namespace changes. BUG=631271 TBR=thestig,caitkp,lazyboy Committed: https://crrev.com/91ee60688589640ea58b3b29477fc1b5990b1ce8 Cr-Commit-Position: refs/heads/master@{#425762}

Patch Set 1 #

Patch Set 2 : Forgot building doesn't do header analysis... #

Patch Set 3 : Fix ChromeOS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -149 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 5 chunks +8 lines, -9 lines 0 comments Download
M components/autofill/core/browser/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/browser_sync/BUILD.gn View 1 2 chunks +5 lines, -5 lines 0 comments Download
M components/browsing_data/core/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/history/core/browser/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/sync/browser/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M components/search_engines/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M components/suggestions/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/BUILD.gn View 15 chunks +82 lines, -81 lines 0 comments Download
M components/sync/base/proto_value_ptr.h View 1 chunk +2 lines, -4 lines 0 comments Download
M components/sync/device_info/device_info_service.h View 1 chunk +3 lines, -8 lines 0 comments Download
M components/sync/driver/shared_change_processor.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/sync/engine_impl/model_type_registry.h View 1 chunk +6 lines, -9 lines 0 comments Download
M components/sync/tools/BUILD.gn View 1 2 chunks +4 lines, -2 lines 0 comments Download
M components/sync_bookmarks/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync_sessions/BUILD.gn View 1 1 chunk +3 lines, -3 lines 0 comments Download
M components/syncable_prefs/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M components/wifi_sync/BUILD.gn View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M extensions/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/android/eclipse/.classpath View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (20 generated)
maxbogue
Sky, PTAL!
4 years, 2 months ago (2016-10-17 17:58:21 UTC) #15
skym
lgtm
4 years, 2 months ago (2016-10-17 19:09:18 UTC) #16
maxbogue
TBR: thestig@ - chrome/ caitkp@ - components/ lazyboy@ - extensions/
4 years, 2 months ago (2016-10-17 19:47:25 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2419793005/40001
4 years, 2 months ago (2016-10-17 19:48:35 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-17 20:10:08 UTC) #24
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/91ee60688589640ea58b3b29477fc1b5990b1ce8 Cr-Commit-Position: refs/heads/master@{#425762}
4 years, 2 months ago (2016-10-17 20:11:56 UTC) #26
Lei Zhang
4 years, 2 months ago (2016-10-17 20:42:50 UTC) #27
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698