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

Side by Side Diff: sync/sync_tests.gypi

Issue 151963002: Remove duplicated code from sync related unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed a const qualifier. Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « sync/api/sync_change_processor_wrapper_for_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 # Test support files for the 'sync_core' target. 7 # Test support files for the 'sync_core' target.
8 { 8 {
9 'target_name': 'test_support_sync_core', 9 'target_name': 'test_support_sync_core',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 ], 208 ],
209 'export_dependent_settings': [ 209 'export_dependent_settings': [
210 '../testing/gmock.gyp:gmock', 210 '../testing/gmock.gyp:gmock',
211 'sync', 211 'sync',
212 ], 212 ],
213 'sources': [ 213 'sources': [
214 'api/fake_syncable_service.cc', 214 'api/fake_syncable_service.cc',
215 'api/fake_syncable_service.h', 215 'api/fake_syncable_service.h',
216 'api/fake_sync_change_processor.cc', 216 'api/fake_sync_change_processor.cc',
217 'api/fake_sync_change_processor.h', 217 'api/fake_sync_change_processor.h',
218 'api/sync_change_processor_wrapper_for_test.cc',
219 'api/sync_change_processor_wrapper_for_test.h',
218 'api/sync_error_factory_mock.cc', 220 'api/sync_error_factory_mock.cc',
219 'api/sync_error_factory_mock.h', 221 'api/sync_error_factory_mock.h',
220 ], 222 ],
221 }, 223 },
222 224
223 # Unit tests for the 'sync_core' target. This cannot be a static 225 # Unit tests for the 'sync_core' target. This cannot be a static
224 # library because the unit test files have to be compiled directly 226 # library because the unit test files have to be compiled directly
225 # into the executable, so we push the target files to the 227 # into the executable, so we push the target files to the
226 # depending executable target via direct_dependent_settings. 228 # depending executable target via direct_dependent_settings.
227 { 229 {
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 'variables': { 654 'variables': {
653 'test_suite_name': 'sync_unit_tests', 655 'test_suite_name': 'sync_unit_tests',
654 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 656 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
655 }, 657 },
656 'includes': [ '../build/apk_test.gypi' ], 658 'includes': [ '../build/apk_test.gypi' ],
657 }, 659 },
658 ], 660 ],
659 }], 661 }],
660 ], 662 ],
661 } 663 }
OLDNEW
« no previous file with comments | « sync/api/sync_change_processor_wrapper_for_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698