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. 4 5{ 6 'targets': [ 7 { 8 'target_name': 'invalidation', 9 'type': 'static_library', 10 'dependencies': [ 11 '../base/base.gyp:base', 12 '../google_apis/google_apis.gyp:google_apis', 13 '../jingle/jingle.gyp:notifier', 14 '../sync/sync.gyp:sync', 15 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', 16 'gcm_driver', 17 'keyed_service_core', 18 'pref_registry', 19 'signin_core_browser', 20 ], 21 'include_dirs': [ 22 '..', 23 ], 24 'sources': [ 25 'invalidation/invalidation_logger.cc', 26 'invalidation/invalidation_logger.h', 27 'invalidation/invalidation_logger_observer.h', 28 'invalidation/invalidation_prefs.cc', 29 'invalidation/invalidation_prefs.h', 30 'invalidation/invalidation_service.h', 31 'invalidation/invalidation_service_util.cc', 32 'invalidation/invalidation_service_util.h', 33 'invalidation/invalidation_switches.cc', 34 'invalidation/invalidation_switches.h', 35 'invalidation/invalidator_registrar.cc', 36 'invalidation/invalidator_registrar.h', 37 'invalidation/invalidator_storage.cc', 38 'invalidation/invalidator_storage.h', 39 'invalidation/profile_invalidation_provider.cc', 40 'invalidation/profile_invalidation_provider.h', 41 ], 42 'conditions': [ 43 ['OS != "android"', { 44 'sources': [ 45 'invalidation/gcm_invalidation_bridge.cc', 46 'invalidation/gcm_invalidation_bridge.h', 47 'invalidation/gcm_network_channel.cc', 48 'invalidation/gcm_network_channel.h', 49 'invalidation/gcm_network_channel_delegate.h', 50 'invalidation/invalidation_notifier.cc', 51 'invalidation/invalidation_notifier.h', 52 'invalidation/non_blocking_invalidator.cc', 53 'invalidation/non_blocking_invalidator.h', 54 'invalidation/notifier_reason_util.cc', 55 'invalidation/notifier_reason_util.h', 56 'invalidation/p2p_invalidator.cc', 57 'invalidation/p2p_invalidator.h', 58 'invalidation/push_client_channel.cc', 59 'invalidation/push_client_channel.h', 60 'invalidation/state_writer.h', 61 'invalidation/sync_invalidation_listener.cc', 62 'invalidation/sync_invalidation_listener.h', 63 'invalidation/sync_system_resources.cc', 64 'invalidation/sync_system_resources.h', 65 'invalidation/ticl_invalidation_service.cc', 66 'invalidation/ticl_invalidation_service.h', 67 'invalidation/ticl_settings_provider.cc', 68 'invalidation/ticl_settings_provider.h', 69 ], 70 }], 71 ], 72 }, 73 74 { 75 'target_name': 'invalidation_test_support', 76 'type': 'static_library', 77 'dependencies': [ 78 '../base/base.gyp:base', 79 '../google_apis/google_apis.gyp:google_apis', 80 '../jingle/jingle.gyp:notifier', 81 '../jingle/jingle.gyp:notifier_test_util', 82 '../net/net.gyp:net', 83 '../sync/sync.gyp:sync', 84 '../sync/sync.gyp:test_support_sync_notifier', 85 '../testing/gmock.gyp:gmock', 86 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', 87 'gcm_driver_test_support', 88 'keyed_service_core', 89 ], 90 'include_dirs': [ 91 '..', 92 ], 93 'sources': [ 94 'invalidation/fake_invalidation_handler.cc', 95 'invalidation/fake_invalidation_handler.h', 96 'invalidation/fake_invalidation_state_tracker.cc', 97 'invalidation/fake_invalidation_state_tracker.h', 98 'invalidation/fake_invalidator.cc', 99 'invalidation/fake_invalidator.h', 100 'invalidation/invalidation_service_test_template.cc', 101 'invalidation/invalidation_service_test_template.h', 102 'invalidation/invalidator_test_template.cc', 103 'invalidation/invalidator_test_template.h', 104 ], 105 'conditions': [ 106 ['OS != "android"', { 107 'sources': [ 108 'invalidation/p2p_invalidation_service.cc', 109 'invalidation/p2p_invalidation_service.h', 110 ], 111 }], 112 ], 113 }, 114 ], 115} 116