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

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

Issue 1325063002: Componentizing chrome/browser/services/gcm/gcm_desktop_utils.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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/DEPS » ('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 # GYP version: components/gcm_driver.gypi:gcm_driver 5 # GYP version: components/gcm_driver.gypi:gcm_driver
6 static_library("gcm_driver") { 6 static_library("gcm_driver") {
7 sources = [ 7 sources = [
8 "android/component_jni_registrar.cc", 8 "android/component_jni_registrar.cc",
9 "android/component_jni_registrar.h", 9 "android/component_jni_registrar.h",
10 "default_gcm_app_handler.cc", 10 "default_gcm_app_handler.cc",
(...skipping 15 matching lines...) Expand all
26 "gcm_client.cc", 26 "gcm_client.cc",
27 "gcm_client.h", 27 "gcm_client.h",
28 "gcm_client_factory.cc", 28 "gcm_client_factory.cc",
29 "gcm_client_factory.h", 29 "gcm_client_factory.h",
30 "gcm_client_impl.cc", 30 "gcm_client_impl.cc",
31 "gcm_client_impl.h", 31 "gcm_client_impl.h",
32 "gcm_connection_observer.cc", 32 "gcm_connection_observer.cc",
33 "gcm_connection_observer.h", 33 "gcm_connection_observer.h",
34 "gcm_delayed_task_controller.cc", 34 "gcm_delayed_task_controller.cc",
35 "gcm_delayed_task_controller.h", 35 "gcm_delayed_task_controller.h",
36 "gcm_desktop_utils.cc",
37 "gcm_desktop_utils.h",
36 "gcm_driver.cc", 38 "gcm_driver.cc",
37 "gcm_driver.h", 39 "gcm_driver.h",
38 "gcm_driver_android.cc", 40 "gcm_driver_android.cc",
39 "gcm_driver_android.h", 41 "gcm_driver_android.h",
40 "gcm_driver_desktop.cc", 42 "gcm_driver_desktop.cc",
41 "gcm_driver_desktop.h", 43 "gcm_driver_desktop.h",
42 "gcm_stats_recorder_impl.cc", 44 "gcm_stats_recorder_impl.cc",
43 "gcm_stats_recorder_impl.h", 45 "gcm_stats_recorder_impl.h",
44 "registration_info.cc", 46 "registration_info.cc",
45 "registration_info.h", 47 "registration_info.h",
46 "system_encryptor.cc", 48 "system_encryptor.cc",
47 "system_encryptor.h", 49 "system_encryptor.h",
48 ] 50 ]
49 51
50 deps = [ 52 deps = [
51 "crypto", 53 "crypto",
52 "//base", 54 "//base",
53 "//components/gcm_driver/common", 55 "//components/gcm_driver/common",
54 "//components/os_crypt", 56 "//components/os_crypt",
57 "//components/sync_driver",
55 "//google_apis/gcm", 58 "//google_apis/gcm",
56 "//net", 59 "//net",
57 "//sync/protocol", 60 "//sync/protocol",
61 "//url:url",
58 ] 62 ]
59 63
60 if (is_chromeos) { 64 if (is_chromeos) {
61 deps += [ "//components/timers" ] 65 deps += [ "//components/timers" ]
62 } 66 }
63 67
64 if (is_android) { 68 if (is_android) {
65 sources -= [ 69 sources -= [
66 "gcm_account_mapper.cc", 70 "gcm_account_mapper.cc",
67 "gcm_account_mapper.h", 71 "gcm_account_mapper.h",
68 "gcm_channel_status_request.cc", 72 "gcm_channel_status_request.cc",
69 "gcm_channel_status_request.h", 73 "gcm_channel_status_request.h",
70 "gcm_channel_status_syncer.cc", 74 "gcm_channel_status_syncer.cc",
71 "gcm_channel_status_syncer.h", 75 "gcm_channel_status_syncer.h",
72 "gcm_client_factory.cc", 76 "gcm_client_factory.cc",
73 "gcm_client_factory.h", 77 "gcm_client_factory.h",
74 "gcm_client_impl.cc", 78 "gcm_client_impl.cc",
75 "gcm_client_impl.h", 79 "gcm_client_impl.h",
80 "gcm_desktop_utils.cc",
81 "gcm_desktop_utils.h",
76 "gcm_driver_desktop.cc", 82 "gcm_driver_desktop.cc",
77 "gcm_driver_desktop.h", 83 "gcm_driver_desktop.h",
78 "gcm_stats_recorder_impl.cc", 84 "gcm_stats_recorder_impl.cc",
79 "gcm_stats_recorder_impl.h", 85 "gcm_stats_recorder_impl.h",
80 ] 86 ]
81 deps -= [ "//google_apis/gcm" ] 87 deps -= [ "//google_apis/gcm" ]
82 deps += [ "android:jni_headers" ] 88 deps += [ "android:jni_headers" ]
83 } 89 }
84 } 90 }
85 91
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ] 135 ]
130 136
131 deps = [ 137 deps = [
132 ":gcm_driver", 138 ":gcm_driver",
133 ":test_support", 139 ":test_support",
134 "//testing/gtest", 140 "//testing/gtest",
135 "//third_party/protobuf:protobuf_lite", 141 "//third_party/protobuf:protobuf_lite",
136 ] 142 ]
137 } 143 }
138 } 144 }
OLDNEW
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698