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