| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN version: //components/syncable_prefs | |
| 9 'target_name': 'syncable_prefs', | |
| 10 'type': 'static_library', | |
| 11 'dependencies': [ | |
| 12 '../base/base.gyp:base', | |
| 13 '../components/sync.gyp:sync', | |
| 14 'pref_registry', | |
| 15 'prefs/prefs.gyp:prefs', | |
| 16 ], | |
| 17 'include_dirs': [ | |
| 18 '..', | |
| 19 ], | |
| 20 'sources': [ | |
| 21 'syncable_prefs/pref_model_associator.cc', | |
| 22 'syncable_prefs/pref_model_associator.h', | |
| 23 'syncable_prefs/pref_model_associator_client.h', | |
| 24 'syncable_prefs/pref_service_syncable.cc', | |
| 25 'syncable_prefs/pref_service_syncable.h', | |
| 26 'syncable_prefs/pref_service_syncable_factory.cc', | |
| 27 'syncable_prefs/pref_service_syncable_factory.h', | |
| 28 'syncable_prefs/pref_service_syncable_observer.h', | |
| 29 'syncable_prefs/synced_pref_change_registrar.cc', | |
| 30 'syncable_prefs/synced_pref_change_registrar.h', | |
| 31 'syncable_prefs/synced_pref_observer.h', | |
| 32 ], | |
| 33 'conditions': [ | |
| 34 ['configuration_policy==1', { | |
| 35 # This define is only used for compiling the .cc files in this target. | |
| 36 'defines': [ "SYNCABLE_PREFS_USE_POLICY" ], | |
| 37 'dependencies': [ | |
| 38 'cloud_policy_code_generate', | |
| 39 'policy_component_browser', | |
| 40 'policy_component_common', | |
| 41 ], | |
| 42 }], | |
| 43 ], | |
| 44 }, | |
| 45 { | |
| 46 # GN version: //components/syncable_prefs:test_support | |
| 47 'target_name': 'syncable_prefs_test_support', | |
| 48 'type': 'static_library', | |
| 49 'dependencies': [ | |
| 50 '../testing/gtest.gyp:gtest', | |
| 51 'syncable_prefs', | |
| 52 ], | |
| 53 'include_dirs': [ | |
| 54 '..', | |
| 55 ], | |
| 56 'sources': [ | |
| 57 'syncable_prefs/pref_service_mock_factory.cc', | |
| 58 'syncable_prefs/pref_service_mock_factory.h', | |
| 59 'syncable_prefs/testing_pref_service_syncable.cc', | |
| 60 'syncable_prefs/testing_pref_service_syncable.h', | |
| 61 ], | |
| 62 }, | |
| 63 ], | |
| 64 } | |
| OLD | NEW |