blob: c2d903f5adb3cef96eb11a0be48efaaddb9c13b3 [file] [log] [blame]
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
static_library("invalidations") {
sources = [
"fcm_handler.cc",
"fcm_handler.h",
"invalidations_listener.h",
"switches.cc",
"switches.h",
"sync_invalidations_service.h",
"sync_invalidations_service_impl.cc",
"sync_invalidations_service_impl.h",
]
public_deps = [
"//base",
"//components/gcm_driver",
"//components/keyed_service/core",
]
}
static_library("test_support") {
testonly = true
sources = [
"mock_sync_invalidations_service.cc",
"mock_sync_invalidations_service.h",
]
public_deps = [ "//components/sync/invalidations" ]
deps = [ "//testing/gmock" ]
}