1 # Copyright 2014 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.
8 # GN version: //components/invalidation
9 'target_name': 'invalidation',
10 'type': 'static_library',
12 '../base/base.gyp:base',
13 '../google_apis/google_apis.gyp:google_apis',
14 '../jingle/jingle.gyp:notifier',
15 '../sync/sync.gyp:sync',
16 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
17 # TODO(akalin): Remove this (http://crbug.com/133352).
18 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
22 'signin_core_browser',
24 'export_dependent_settings': [
25 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
31 # Note: sources list duplicated in GN build.
32 'invalidation/ack_handle.cc',
33 'invalidation/ack_handle.h',
34 'invalidation/ack_handler.cc',
35 'invalidation/ack_handler.h',
36 'invalidation/invalidation.cc',
37 'invalidation/invalidation.h',
38 'invalidation/invalidation_handler.cc',
39 'invalidation/invalidation_handler.h',
40 'invalidation/invalidation_logger.cc',
41 'invalidation/invalidation_logger.h',
42 'invalidation/invalidation_logger_observer.h',
43 'invalidation/invalidation_prefs.cc',
44 'invalidation/invalidation_prefs.h',
45 'invalidation/invalidation_service.h',
46 'invalidation/invalidation_service_util.cc',
47 'invalidation/invalidation_service_util.h',
48 'invalidation/invalidation_state_tracker.cc',
49 'invalidation/invalidation_state_tracker.h',
50 'invalidation/invalidation_switches.cc',
51 'invalidation/invalidation_switches.h',
52 'invalidation/invalidation_util.cc',
53 'invalidation/invalidation_util.h',
54 'invalidation/invalidator.cc',
55 'invalidation/invalidator.h',
56 'invalidation/invalidator_registrar.cc',
57 'invalidation/invalidator_registrar.h',
58 'invalidation/invalidator_state.cc',
59 'invalidation/invalidator_state.h',
60 'invalidation/invalidator_storage.cc',
61 'invalidation/invalidator_storage.h',
62 'invalidation/mock_ack_handler.cc',
63 'invalidation/mock_ack_handler.h',
64 'invalidation/object_id_invalidation_map.cc',
65 'invalidation/object_id_invalidation_map.h',
66 'invalidation/profile_invalidation_provider.cc',
67 'invalidation/profile_invalidation_provider.h',
68 'invalidation/single_object_invalidation_set.cc',
69 'invalidation/single_object_invalidation_set.h',
70 'invalidation/unacked_invalidation_set.cc',
71 'invalidation/unacked_invalidation_set.h',
76 # Note: sources list duplicated in GN build.
77 'invalidation/gcm_invalidation_bridge.cc',
78 'invalidation/gcm_invalidation_bridge.h',
79 'invalidation/gcm_network_channel.cc',
80 'invalidation/gcm_network_channel.h',
81 'invalidation/gcm_network_channel_delegate.h',
82 'invalidation/invalidation_notifier.cc',
83 'invalidation/invalidation_notifier.h',
84 'invalidation/non_blocking_invalidator.cc',
85 'invalidation/non_blocking_invalidator.h',
86 'invalidation/notifier_reason_util.cc',
87 'invalidation/notifier_reason_util.h',
88 'invalidation/p2p_invalidator.cc',
89 'invalidation/p2p_invalidator.h',
90 'invalidation/push_client_channel.cc',
91 'invalidation/push_client_channel.h',
92 'invalidation/registration_manager.cc',
93 'invalidation/registration_manager.h',
94 'invalidation/state_writer.h',
95 'invalidation/sync_invalidation_listener.cc',
96 'invalidation/sync_invalidation_listener.h',
97 'invalidation/sync_system_resources.cc',
98 'invalidation/sync_system_resources.h',
99 'invalidation/ticl_invalidation_service.cc',
100 'invalidation/ticl_invalidation_service.h',
101 'invalidation/ticl_settings_provider.cc',
102 'invalidation/ticl_settings_provider.h',
109 # GN version: //components/invalidation:test_support
110 'target_name': 'invalidation_test_support',
111 'type': 'static_library',
113 '../base/base.gyp:base',
114 '../google_apis/google_apis.gyp:google_apis',
115 '../jingle/jingle.gyp:notifier',
116 '../jingle/jingle.gyp:notifier_test_util',
117 '../net/net.gyp:net',
118 '../sync/sync.gyp:sync',
119 '../testing/gmock.gyp:gmock',
120 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
121 'gcm_driver_test_support',
122 'keyed_service_core',
128 # Note: sources list duplicated in GN build.
129 'invalidation/fake_invalidation_handler.cc',
130 'invalidation/fake_invalidation_handler.h',
131 'invalidation/fake_invalidation_state_tracker.cc',
132 'invalidation/fake_invalidation_state_tracker.h',
133 'invalidation/fake_invalidator.cc',
134 'invalidation/fake_invalidator.h',
135 'invalidation/invalidation_service_test_template.cc',
136 'invalidation/invalidation_service_test_template.h',
137 'invalidation/invalidation_test_util.cc',
138 'invalidation/invalidation_test_util.h',
139 'invalidation/invalidator_test_template.cc',
140 'invalidation/invalidator_test_template.h',
141 'invalidation/object_id_invalidation_map_test_util.cc',
142 'invalidation/object_id_invalidation_map_test_util.h',
143 'invalidation/unacked_invalidation_set_test_util.cc',
144 'invalidation/unacked_invalidation_set_test_util.h',
147 ['OS != "android"', {
149 # Note: sources list duplicated in GN build.
150 'invalidation/p2p_invalidation_service.cc',
151 'invalidation/p2p_invalidation_service.h',