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.
5 # GYP version: components/gcm_driver.gypi:gcm_driver
6 static_library("gcm_driver") {
8 "android/component_jni_registrar.cc",
9 "android/component_jni_registrar.h",
10 "default_gcm_app_handler.cc",
11 "default_gcm_app_handler.h",
14 "gcm_account_mapper.cc",
15 "gcm_account_mapper.h",
18 "gcm_backoff_policy.cc",
19 "gcm_backoff_policy.h",
20 "gcm_channel_status_request.cc",
21 "gcm_channel_status_request.h",
22 "gcm_channel_status_syncer.cc",
23 "gcm_channel_status_syncer.h",
26 "gcm_client_factory.cc",
27 "gcm_client_factory.h",
30 "gcm_connection_observer.cc",
31 "gcm_connection_observer.h",
32 "gcm_delayed_task_controller.cc",
33 "gcm_delayed_task_controller.h",
36 "gcm_driver_android.cc",
37 "gcm_driver_android.h",
38 "gcm_driver_desktop.cc",
39 "gcm_driver_desktop.h",
40 "gcm_stats_recorder_impl.cc",
41 "gcm_stats_recorder_impl.h",
42 "system_encryptor.cc",
48 "//components/os_crypt",
49 "//components/timers",
57 "gcm_account_mapper.cc",
58 "gcm_account_mapper.h",
59 "gcm_channel_status_request.cc",
60 "gcm_channel_status_request.h",
61 "gcm_channel_status_syncer.cc",
62 "gcm_channel_status_syncer.h",
63 "gcm_client_factory.cc",
64 "gcm_client_factory.h",
67 "gcm_delayed_task_controller.cc",
68 "gcm_delayed_task_controller.h",
69 "gcm_driver_desktop.cc",
70 "gcm_driver_desktop.h",
71 "gcm_stats_recorder_impl.cc",
72 "gcm_stats_recorder_impl.h",
75 "//components/timers",
78 deps += [ "android:jni_headers" ]
82 static_library("test_support") {
85 "fake_gcm_app_handler.cc",
86 "fake_gcm_app_handler.h",
89 "fake_gcm_client_factory.cc",
90 "fake_gcm_client_factory.h",
104 "fake_gcm_client.cc",
106 "fake_gcm_client_factory.cc",
107 "fake_gcm_client_factory.h",
109 deps -= [ "//google_apis/gcm" ]