The GN target we were patching before has been split into different ones
and we now need to move this patch to components/sync/engine/BUILD.gn.
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/2275afee7febb3e7e40207d2e05b7ed1b68d9d78
commit 2275afee7febb3e7e40207d2e05b7ed1b68d9d78
Author: Victor Hugo Vianna Silva <victorvianna@google.com>
Date: Mon Feb 8 15:02:16 2021 +0000
[sync] Split rest_of_sync build target into engine, model and nigori
This CL builds on the work of crrev.com/c/{2652625,2659120} to finally
split the rest_of_sync build target into smaller per-directory ones. A
few changes worth noting:
- Clean up some duplicates/self-deps entries in DEPS files, accidentally
introduced in crrev.com/c/2659120.
- Add one TODO about moving entity_data.h out of engine/, which should
have been added in crrev.com/c/2652625.
- Avoid one model/ include in base:test_support by moving the file with
the include to the test_support_model target.
- Remove unused dependencies //sql, //third_party/crc32c and //ui/base.
- Move from private to public dependency:
* //components/signin/public/identity_manager (AccountInfo used in
SyncEngine public API).
* //services/network/public/cpp (used in HttpBridge & SyncManagerImpl
public APIs).
- Keep the precompiled_headers build config only for targets with >50
.cc files [1]. This means adding it to engine/ and removing it from
base/, driver/ and protocol/.
[1] https://source.chromium.org/chromium/chromium/src/+/3abc98c09a9174a91f82e6f2eccf0ebb6c203fdf:build/config/BUILD.gn;l=375TBR=sky@chromium.org
Bug: 947443