Index: chrome/chrome_tests.gypi |
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi |
index ee312cea67b7c3a745df333ca847e22b3c032de3..17e86bfb82d33d3c8710a32d1ca94e97cd6f91aa 100644 |
--- a/chrome/chrome_tests.gypi |
+++ b/chrome/chrome_tests.gypi |
@@ -959,6 +959,7 @@ |
'../sync/sync.gyp:test_support_syncapi_service', |
'test_support_unit', |
# 3) anything tests directly depend on |
+ '../google_apis/google_apis.gyp:google_apis', |
'../skia/skia.gyp:skia', |
'../third_party/bzip2/bzip2.gyp:bzip2', |
'../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', |
@@ -976,9 +977,6 @@ |
'common/extensions/api/api.gyp:api', |
'chrome_resources.gyp:chrome_resources', |
'chrome_resources.gyp:chrome_strings', |
- # TODO(joi): Move these to their own unittest executable? |
- '../google_apis/google_apis.gyp:google_apis', |
- '../google_apis/google_apis.gyp:google_apis_unittests', |
], |
'include_dirs': [ |
'..', |
@@ -2095,6 +2093,21 @@ |
'../ash/test/test_launcher_delegate.cc', |
'../ash/test/test_launcher_delegate.h', |
'../ash/test/test_shell_delegate.cc', |
+ # TODO(joi): Move the google_apis tests to a separate |
+ # google_apis_unittests executable. |
+ '../google_apis/google_api_keys_unittest.cc', |
+ '../google_apis/gaia/mock_url_fetcher_factory.h', |
+ '../google_apis/gaia/gaia_auth_fetcher_unittest.cc', |
+ '../google_apis/gaia/gaia_auth_util_unittest.cc', |
+ '../google_apis/gaia/gaia_authenticator_unittest.cc', |
+ '../google_apis/gaia/gaia_oauth_client_unittest.cc', |
+ '../google_apis/gaia/google_service_auth_error_unittest.cc', |
+ '../google_apis/gaia/oauth_request_signer_unittest.cc', |
+ '../google_apis/gaia/oauth2_access_token_fetcher_unittest.cc', |
+ '../google_apis/gaia/oauth2_api_call_flow_unittest.cc', |
+ '../google_apis/gaia/oauth2_mint_token_fetcher_unittest.cc', |
+ '../google_apis/gaia/oauth2_mint_token_flow_unittest.cc', |
+ '../google_apis/gaia/oauth2_revocation_fetcher_unittest.cc', |
'../skia/ext/bitmap_platform_device_mac_unittest.cc', |
'../skia/ext/convolver_unittest.cc', |
'../skia/ext/image_operations_unittest.cc', |
@@ -2613,6 +2626,15 @@ |
'../content/common/socket_stream_dispatcher.cc', |
]}, |
], |
+ # We don't need the rest of what we do for the google_apis |
MAD
2012/09/20 15:39:39
Weird... I find this hard to process when I read t
Jói
2012/09/20 16:25:12
This made more sense in the context of google_apis
|
+ # target, we just need this to tell |
+ # google_api_keys_unittest.cc whether the internal key file is |
+ # available. |
+ # TODO(joi): Remove from this file once separate |
+ # google_apis_unittests target is established. |
+ ['use_official_google_api_keys==1', { |
+ 'defines': ['USE_OFFICIAL_GOOGLE_API_KEYS=1'], |
+ }], |
], |
}, |
{ |