OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 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 'target_name': 'prefs', |
| 9 'type': '<(component)', |
| 10 'dependencies': [ |
| 11 '../../base/base.gyp:base', |
| 12 ], |
| 13 'include_dirs': [ |
| 14 '../..', |
| 15 ], |
| 16 'defines': [ |
| 17 'BASE_PREFS_IMPLEMENTATION', |
| 18 ], |
| 19 'sources': [ |
| 20 'default_pref_store.cc', |
| 21 'default_pref_store.h', |
| 22 'json_pref_store.cc', |
| 23 'json_pref_store.h', |
| 24 'overlay_user_pref_store.cc', |
| 25 'overlay_user_pref_store.h', |
| 26 'pref_change_registrar.cc', |
| 27 'pref_change_registrar.h', |
| 28 'pref_member.cc', |
| 29 'pref_member.h', |
| 30 'pref_notifier_impl.cc', |
| 31 'pref_notifier_impl.h', |
| 32 'pref_registry.cc', |
| 33 'pref_registry.h', |
| 34 'pref_registry_simple.cc', |
| 35 'pref_registry_simple.h', |
| 36 'pref_service.cc', |
| 37 'pref_service.h', |
| 38 'pref_service_factory.cc', |
| 39 'pref_service_factory.h', |
| 40 'pref_store.cc', |
| 41 'pref_store.h', |
| 42 'pref_value_map.cc', |
| 43 'pref_value_map.h', |
| 44 'pref_value_store.cc', |
| 45 'pref_value_store.h', |
| 46 'scoped_user_pref_update.cc', |
| 47 'scoped_user_pref_update.h', |
| 48 'value_map_pref_store.cc', |
| 49 'value_map_pref_store.h', |
| 50 ], |
| 51 'conditions': [ |
| 52 ['OS!="ios"', { |
| 53 'sources': [ |
| 54 'base_prefs_export.h', |
| 55 'persistent_pref_store.h', |
| 56 'pref_filter.h', |
| 57 'pref_notifier.h', |
| 58 'pref_observer.h', |
| 59 'writeable_pref_store.h', |
| 60 ] |
| 61 }] |
| 62 ], |
| 63 }, |
| 64 { |
| 65 'target_name': 'prefs_test_support', |
| 66 'type': 'static_library', |
| 67 'include_dirs': [ |
| 68 '../..', |
| 69 ], |
| 70 'dependencies': [ |
| 71 'prefs', |
| 72 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 73 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 74 ], |
| 75 'sources': [ |
| 76 'mock_pref_change_callback.cc', |
| 77 'mock_pref_change_callback.h', |
| 78 'pref_store_observer_mock.cc', |
| 79 'pref_store_observer_mock.h', |
| 80 'testing_pref_service.cc', |
| 81 'testing_pref_service.h', |
| 82 'testing_pref_store.cc', |
| 83 'testing_pref_store.h', |
| 84 ], |
| 85 }, |
| 86 ], |
| 87 } |
OLD | NEW |