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

Unified Diff: sync/sync.gyp

Issue 9701094: [Sync] Clean up sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export gmock from test_support_sync also Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/util/nigori.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sync.gyp
diff --git a/sync/sync.gyp b/sync/sync.gyp
index f355761348d9ba07a05b34d67b25a0fc2ba4c1f6..82eb09fae9e38f3e4fc1e3e9163d314c46453000 100644
--- a/sync/sync.gyp
+++ b/sync/sync.gyp
@@ -28,11 +28,8 @@
'protocol/sync_proto.gyp:sync_proto',
],
'export_dependent_settings': [
- '../base/base.gyp:base',
- '../build/temp_gyp/googleurl.gyp:googleurl',
- '../crypto/crypto.gyp:crypto',
- '../net/net.gyp:net',
- '../sql/sql.gyp:sql',
+ # Propagate sync_proto since our headers include its generated
+ # files.
'protocol/sync_proto.gyp:sync_proto',
],
'sources': [
@@ -194,12 +191,15 @@
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'sync',
+ 'protocol/sync_proto.gyp:sync_proto',
Ryan Sleevi 2012/03/16 17:24:21 nit: ordering
akalin 2012/03/16 19:22:56 Done.
],
'export_dependent_settings': [
- '../base/base.gyp:base',
- '../testing/gmock.gyp:gmock',
- '../testing/gtest.gyp:gtest',
+ # Propagate sync and sync_proto, since our includes pick up
+ # generated files from both.
'sync',
+ 'protocol/sync_proto.gyp:sync_proto',
Ryan Sleevi 2012/03/16 17:24:21 nit: ordering
akalin 2012/03/16 19:22:56 Done.
+ # propagate gmock, since our includes include its includes.
Ryan Sleevi 2012/03/16 17:24:21 You don't need these comments - but they do reflec
akalin 2012/03/16 19:22:56 Done.
+ '../testing/gmock.gyp:gmock',
],
'sources': [
'js/js_test_util.cc',
@@ -250,17 +250,19 @@
'suppress_wildcard': 1,
'dependencies': [
'../base/base.gyp:base',
- '../base/base.gyp:test_support_base',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
+ 'protocol/sync_proto.gyp:sync_proto',
Ryan Sleevi 2012/03/16 17:24:21 I'm not sure stylistically which is more appropria
akalin 2012/03/16 19:22:56 I think first is the more common style so I'll sti
'sync',
'test_support_sync',
],
+ # Propagate all dependencies since the actual compilation
+ # happens in the dependents.
'export_dependent_settings': [
'../base/base.gyp:base',
- '../base/base.gyp:test_support_base',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
+ 'protocol/sync_proto.gyp:sync_proto',
'sync',
'test_support_sync',
],
@@ -331,13 +333,16 @@
{
'target_name': 'sync_unit_tests_canary',
'type': 'executable',
- 'sources': [
- '../base/test/run_all_unittests.cc',
+ 'include_dirs': [
+ '..',
],
'dependencies': [
+ '../base/base.gyp:test_support_base',
'sync_tests',
],
-
+ 'sources': [
+ '../base/test/run_all_unittests.cc',
+ ],
# TODO(akalin): This is needed because histogram.cc uses
# leak_annotations.h, which pulls this in. Make 'base'
# propagate this dependency.
« no previous file with comments | « no previous file | sync/util/nigori.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698