OLD | NEW |
(Empty) | |
| 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 static_library("invalidation") { |
| 6 sources = [ |
| 7 "invalidation_logger.cc", |
| 8 "invalidation_logger.h", |
| 9 "invalidation_logger_observer.h", |
| 10 "invalidation_prefs.cc", |
| 11 "invalidation_prefs.h", |
| 12 "invalidation_service.h", |
| 13 "invalidation_service_util.cc", |
| 14 "invalidation_service_util.h", |
| 15 "invalidation_switches.cc", |
| 16 "invalidation_switches.h", |
| 17 "invalidator_registrar.cc", |
| 18 "invalidator_registrar.h", |
| 19 "invalidator_storage.cc", |
| 20 "invalidator_storage.h", |
| 21 "profile_invalidation_provider.cc", |
| 22 "profile_invalidation_provider.h", |
| 23 ] |
| 24 if (!is_android) { |
| 25 sources += [ |
| 26 "gcm_invalidation_bridge.cc", |
| 27 "gcm_invalidation_bridge.h", |
| 28 "gcm_network_channel.cc", |
| 29 "gcm_network_channel.h", |
| 30 "gcm_network_channel_delegate.h", |
| 31 "invalidation_notifier.cc", |
| 32 "invalidation_notifier.h", |
| 33 "non_blocking_invalidator.cc", |
| 34 "non_blocking_invalidator.h", |
| 35 "notifier_reason_util.cc", |
| 36 "notifier_reason_util.h", |
| 37 "p2p_invalidator.cc", |
| 38 "p2p_invalidator.h", |
| 39 "push_client_channel.cc", |
| 40 "push_client_channel.h", |
| 41 "state_writer.h", |
| 42 "sync_invalidation_listener.cc", |
| 43 "sync_invalidation_listener.h", |
| 44 "sync_system_resources.cc", |
| 45 "sync_system_resources.h", |
| 46 "ticl_invalidation_service.cc", |
| 47 "ticl_invalidation_service.h", |
| 48 "ticl_settings_provider.cc", |
| 49 "ticl_settings_provider.h", |
| 50 ] |
| 51 } |
| 52 |
| 53 # TODO(GYP) remove this when libjingle is added. |
| 54 configs += [ "//content:libjingle_stub_config" ] |
| 55 |
| 56 deps = [ |
| 57 "//base", |
| 58 #"//components/gcm_driver", TODO(GYP) |
| 59 "//google_apis", |
| 60 "//components/keyed_service/core", |
| 61 "//components/pref_registry", |
| 62 #"//components/signin/core/browser", TODO(GYP) |
| 63 "//sync", |
| 64 "//third_party/cacheinvalidation", |
| 65 #'../jingle/jingle.gyp:notifier', TODO(GYP) |
| 66 ] |
| 67 } |
| 68 |
| 69 static_library("test_support") { |
| 70 sources = [ |
| 71 "fake_invalidation_handler.cc", |
| 72 "fake_invalidation_handler.h", |
| 73 "fake_invalidation_state_tracker.cc", |
| 74 "fake_invalidation_state_tracker.h", |
| 75 "fake_invalidator.cc", |
| 76 "fake_invalidator.h", |
| 77 "invalidation_service_test_template.cc", |
| 78 "invalidation_service_test_template.h", |
| 79 "invalidator_test_template.cc", |
| 80 "invalidator_test_template.h", |
| 81 ] |
| 82 if (!is_android) { |
| 83 sources += [ |
| 84 "p2p_invalidation_service.cc", |
| 85 "p2p_invalidation_service.h", |
| 86 ] |
| 87 } |
| 88 |
| 89 deps = [ |
| 90 "//base", |
| 91 "//google_apis", |
| 92 "//net", |
| 93 "//sync", |
| 94 "//testing/gmock", |
| 95 "//third_party/cacheinvalidation", |
| 96 #'../jingle/jingle.gyp:notifier', TODO(GYP) |
| 97 #'../jingle/jingle.gyp:notifier_test_util', TODO(GYP) |
| 98 #'../sync/sync.gyp:test_support_sync_notifier', TODO(GYP) |
| 99 #'gcm_driver_test_support', TODO(GYP) |
| 100 ] |
| 101 } |
OLD | NEW |