Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: components/gcm_driver/BUILD.gn

Issue 551163002: [GCM] Extracting Delayed Task Controller from GCMDesktopDriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/gcm_delayed_task_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 static_library("gcm_driver") { 5 static_library("gcm_driver") {
6 sources = [ 6 sources = [
7 "android/component_jni_registrar.cc", 7 "android/component_jni_registrar.cc",
8 "android/component_jni_registrar.h", 8 "android/component_jni_registrar.h",
9 "default_gcm_app_handler.cc", 9 "default_gcm_app_handler.cc",
10 "default_gcm_app_handler.h", 10 "default_gcm_app_handler.h",
11 "gcm_activity.cc", 11 "gcm_activity.cc",
12 "gcm_activity.h", 12 "gcm_activity.h",
13 "gcm_app_handler.cc", 13 "gcm_app_handler.cc",
14 "gcm_app_handler.h", 14 "gcm_app_handler.h",
15 "gcm_backoff_policy.cc", 15 "gcm_backoff_policy.cc",
16 "gcm_backoff_policy.h", 16 "gcm_backoff_policy.h",
17 "gcm_channel_status_request.cc", 17 "gcm_channel_status_request.cc",
18 "gcm_channel_status_request.h", 18 "gcm_channel_status_request.h",
19 "gcm_client.cc", 19 "gcm_client.cc",
20 "gcm_client.h", 20 "gcm_client.h",
21 "gcm_client_factory.cc", 21 "gcm_client_factory.cc",
22 "gcm_client_factory.h", 22 "gcm_client_factory.h",
23 "gcm_client_impl.cc", 23 "gcm_client_impl.cc",
24 "gcm_client_impl.h", 24 "gcm_client_impl.h",
25 "gcm_connection_observer.cc", 25 "gcm_connection_observer.cc",
26 "gcm_connection_observer.h", 26 "gcm_connection_observer.h",
27 "gcm_delayed_task_controller.cc",
28 "gcm_delayed_task_controller.h",
27 "gcm_driver.cc", 29 "gcm_driver.cc",
28 "gcm_driver.h", 30 "gcm_driver.h",
29 "gcm_driver_android.cc", 31 "gcm_driver_android.cc",
30 "gcm_driver_android.h", 32 "gcm_driver_android.h",
31 "gcm_driver_desktop.cc", 33 "gcm_driver_desktop.cc",
32 "gcm_driver_desktop.h", 34 "gcm_driver_desktop.h",
33 "gcm_stats_recorder_impl.cc", 35 "gcm_stats_recorder_impl.cc",
34 "gcm_stats_recorder_impl.h", 36 "gcm_stats_recorder_impl.h",
35 "system_encryptor.cc", 37 "system_encryptor.cc",
36 "system_encryptor.h", 38 "system_encryptor.h",
37 ] 39 ]
38 40
39 deps = [ 41 deps = [
40 "//base", 42 "//base",
41 "//components/gcm_driver/proto", 43 "//components/gcm_driver/proto",
42 "//components/os_crypt", 44 "//components/os_crypt",
43 "//google_apis/gcm", 45 "//google_apis/gcm",
44 "//net", 46 "//net",
45 ] 47 ]
46 48
47 if (is_android) { 49 if (is_android) {
48 sources -= [ 50 sources -= [
49 "gcm_channel_status_request.cc", 51 "gcm_channel_status_request.cc",
50 "gcm_channel_status_request.h", 52 "gcm_channel_status_request.h",
51 "gcm_client_factory.cc", 53 "gcm_client_factory.cc",
52 "gcm_client_factory.h", 54 "gcm_client_factory.h",
53 "gcm_client_impl.cc", 55 "gcm_client_impl.cc",
54 "gcm_client_impl.h", 56 "gcm_client_impl.h",
57 "gcm_delayed_task_controller.cc",
58 "gcm_delayed_task_controller.h",
55 "gcm_driver_desktop.cc", 59 "gcm_driver_desktop.cc",
56 "gcm_driver_desktop.h", 60 "gcm_driver_desktop.h",
57 "gcm_stats_recorder_impl.cc", 61 "gcm_stats_recorder_impl.cc",
58 "gcm_stats_recorder_impl.h", 62 "gcm_stats_recorder_impl.h",
59 ] 63 ]
60 deps -= [ 64 deps -= [
61 "//components/gcm_driver/proto", 65 "//components/gcm_driver/proto",
62 "//google_apis/gcm", 66 "//google_apis/gcm",
63 ] 67 ]
64 deps += [ ":jni_headers" ] 68 deps += [ ":jni_headers" ]
(...skipping 25 matching lines...) Expand all
90 "fake_gcm_client.cc", 94 "fake_gcm_client.cc",
91 "fake_gcm_client.h", 95 "fake_gcm_client.h",
92 "fake_gcm_client_factory.cc", 96 "fake_gcm_client_factory.cc",
93 "fake_gcm_client_factory.h", 97 "fake_gcm_client_factory.h",
94 ] 98 ]
95 deps -= [ "//google_apis/gcm" ] 99 deps -= [ "//google_apis/gcm" ]
96 } 100 }
97 } 101 }
98 102
99 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers 103 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers
OLDNEW
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/gcm_delayed_task_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698