Port most sync targets to sync/BUILD.gn

Ports most of the sync GYP targets to GN.  Adds comments in the original
GYP files pointing to the new GN targets.  Fixes some TODOs in other
files that were blocked on sync GN support.

Adds several new linkable targets to the GN build.

The android-specific parts of sync have not been converted yet.

TBR=nyquist,rogerta
BUG=

Review URL: https://codereview.chromium.org/439533004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287905 0039d316-1c4b-4281-b951-d872f2087c98
parent d86550c0
......@@ -58,6 +58,7 @@ group("root") {
"//sdch",
"//skia",
"//sql",
"//sync",
"//third_party/WebKit/public:all_blink",
"//third_party/angle:translator",
"//third_party/brotli",
......
......@@ -19,6 +19,6 @@ static_library("webui") {
"//components/strings",
"//content/public/browser",
"//skia",
#'../sync/sync.gyp:sync', TODO(GYP)
"//sync",
]
}
......@@ -132,7 +132,6 @@ static_library("test_support") {
"//sync",
"//testing/gmock",
"//third_party/cacheinvalidation",
#'../sync/sync.gyp:test_support_sync_notifier', TODO(GYP)
#'gcm_driver_test_support', TODO(GYP)
]
}
......@@ -84,7 +84,7 @@ static_library("test_support") {
":sync_driver",
"//base",
"//sync",
#'../sync/sync.gyp:test_support_sync_internal_api', TODO(GYP)
"//sync:test_support_sync_internal_api",
"//testing/gmock",
"//testing/gtest",
]
......
......@@ -100,8 +100,8 @@ source_set("google_apis") {
"gaia/oauth_request_signer.cc",
"gaia/oauth_request_signer.h",
"gaia/oauth2_access_token_consumer.h",
"gaia/oauth2_access_token_fetcher.h",
"gaia/oauth2_access_token_fetcher.cc",
"gaia/oauth2_access_token_fetcher.h",
"gaia/oauth2_access_token_fetcher_impl.cc",
"gaia/oauth2_access_token_fetcher_impl.h",
"gaia/oauth2_api_call_flow.cc",
......@@ -110,6 +110,8 @@ source_set("google_apis") {
"gaia/oauth2_mint_token_flow.h",
"gaia/oauth2_token_service.cc",
"gaia/oauth2_token_service.h",
"gaia/oauth2_token_service_request.cc",
"gaia/oauth2_token_service_request.h",
"gaia/ubertoken_fetcher.cc",
"gaia/ubertoken_fetcher.h",
"google_api_keys.cc",
......
This diff is collapsed.
......@@ -5,6 +5,7 @@
{
'targets': [
# Test support files for the 'sync_core' target.
# GN version: //sync:test_support_sync_core
{
'target_name': 'test_support_sync_core',
'type': 'static_library',
......@@ -86,6 +87,7 @@
},
# Test support files for the python sync test server.
# GN version: //sync:test_support_sync_testserver
{
'target_name': 'test_support_sync_testserver',
'type': 'static_library',
......@@ -111,6 +113,7 @@
},
# Test support files for the fake sync server.
# GN version: //sync:test_support_sync_fake_server
{
'target_name': 'test_support_sync_fake_server',
'type': 'static_library',
......@@ -157,6 +160,7 @@
},
# Test support files for the 'sync_internal_api' target.
# GN version: //sync:test_support_sync_internal_api
{
'target_name': 'test_support_sync_internal_api',
'type': 'static_library',
......@@ -197,6 +201,7 @@
},
# Test support files for the 'sync_api' target.
# GN version: //sync:test_support_sync_api
{
'target_name': 'test_support_sync_api',
'type': 'static_library',
......@@ -227,6 +232,7 @@
},
# The unit test executable for sync tests.
# GN version: //sync:sync_unit_tests
{
'target_name': 'sync_unit_tests',
'type': '<(gtest_target_type)',
......@@ -357,6 +363,7 @@
},
# Test support files for using the Test Accounts service.
# GN version: //sync:test_support_accounts_client
{
'target_name': 'test_support_accounts_client',
'type': 'static_library',
......@@ -378,6 +385,7 @@
},
# The Sync end-to-end (and associated infrastructure) tests.
# GN version: //sync:sync_endtoend_tests
{
'target_name': 'sync_endtoend_tests',
'type': '<(gtest_target_type)',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment