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

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

Issue 530253002: Add GCMChannelStatusRequest to talk with server for all users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn build 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_backoff_policy.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",
16 "gcm_backoff_policy.h",
17 "gcm_channel_status_request.cc",
18 "gcm_channel_status_request.h",
15 "gcm_client.cc", 19 "gcm_client.cc",
16 "gcm_client.h", 20 "gcm_client.h",
17 "gcm_client_factory.cc", 21 "gcm_client_factory.cc",
18 "gcm_client_factory.h", 22 "gcm_client_factory.h",
19 "gcm_client_impl.cc", 23 "gcm_client_impl.cc",
20 "gcm_client_impl.h", 24 "gcm_client_impl.h",
21 "gcm_connection_observer.cc", 25 "gcm_connection_observer.cc",
22 "gcm_connection_observer.h", 26 "gcm_connection_observer.h",
23 "gcm_driver.cc", 27 "gcm_driver.cc",
24 "gcm_driver.h", 28 "gcm_driver.h",
25 "gcm_driver_android.cc", 29 "gcm_driver_android.cc",
26 "gcm_driver_android.h", 30 "gcm_driver_android.h",
27 "gcm_driver_desktop.cc", 31 "gcm_driver_desktop.cc",
28 "gcm_driver_desktop.h", 32 "gcm_driver_desktop.h",
29 "gcm_stats_recorder_impl.cc", 33 "gcm_stats_recorder_impl.cc",
30 "gcm_stats_recorder_impl.h", 34 "gcm_stats_recorder_impl.h",
31 "system_encryptor.cc", 35 "system_encryptor.cc",
32 "system_encryptor.h", 36 "system_encryptor.h",
33 ] 37 ]
34 38
35 deps = [ 39 deps = [
36 "//base", 40 "//base",
41 "//components/gcm_driver/proto",
37 "//components/os_crypt", 42 "//components/os_crypt",
38 "//google_apis/gcm", 43 "//google_apis/gcm",
39 "//net", 44 "//net",
40 ] 45 ]
41 46
42 if (is_android) { 47 if (is_android) {
43 sources -= [ 48 sources -= [
49 "gcm_channel_status_request.cc",
50 "gcm_channel_status_request.h",
44 "gcm_client_factory.cc", 51 "gcm_client_factory.cc",
45 "gcm_client_factory.h", 52 "gcm_client_factory.h",
46 "gcm_client_impl.cc", 53 "gcm_client_impl.cc",
47 "gcm_client_impl.h", 54 "gcm_client_impl.h",
48 "gcm_driver_desktop.cc", 55 "gcm_driver_desktop.cc",
49 "gcm_driver_desktop.h", 56 "gcm_driver_desktop.h",
50 "gcm_stats_recorder_impl.cc", 57 "gcm_stats_recorder_impl.cc",
51 "gcm_stats_recorder_impl.h", 58 "gcm_stats_recorder_impl.h",
52 ] 59 ]
53 deps -= [ "//google_apis/gcm" ] 60 deps -= [
61 "//components/gcm_driver/proto",
62 "//google_apis/gcm",
63 ]
54 deps += [ ":jni_headers" ] 64 deps += [ ":jni_headers" ]
55 } 65 }
56 } 66 }
57 67
58 static_library("test_support") { 68 static_library("test_support") {
59 sources = [ 69 sources = [
60 "fake_gcm_app_handler.cc", 70 "fake_gcm_app_handler.cc",
61 "fake_gcm_app_handler.h", 71 "fake_gcm_app_handler.h",
62 "fake_gcm_client.cc", 72 "fake_gcm_client.cc",
63 "fake_gcm_client.h", 73 "fake_gcm_client.h",
(...skipping 15 matching lines...) Expand all
79 "fake_gcm_client.cc", 89 "fake_gcm_client.cc",
80 "fake_gcm_client.h", 90 "fake_gcm_client.h",
81 "fake_gcm_client_factory.cc", 91 "fake_gcm_client_factory.cc",
82 "fake_gcm_client_factory.h", 92 "fake_gcm_client_factory.h",
83 ] 93 ]
84 deps -= [ "//google_apis/gcm" ] 94 deps -= [ "//google_apis/gcm" ]
85 } 95 }
86 } 96 }
87 97
88 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers 98 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers
OLDNEW
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/gcm_backoff_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698