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

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

Issue 683753002: Add a missing dependency from gcm_driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 6 years, 1 month 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 | « no previous file | no next file » | 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 28 matching lines...) Expand all
39 "gcm_driver_desktop.h", 39 "gcm_driver_desktop.h",
40 "gcm_stats_recorder_impl.cc", 40 "gcm_stats_recorder_impl.cc",
41 "gcm_stats_recorder_impl.h", 41 "gcm_stats_recorder_impl.h",
42 "system_encryptor.cc", 42 "system_encryptor.cc",
43 "system_encryptor.h", 43 "system_encryptor.h",
44 ] 44 ]
45 45
46 deps = [ 46 deps = [
47 "//base", 47 "//base",
48 "//components/os_crypt", 48 "//components/os_crypt",
49 "//components/timers",
49 "//google_apis/gcm", 50 "//google_apis/gcm",
50 "//net", 51 "//net",
51 "//sync/protocol", 52 "//sync/protocol",
52 ] 53 ]
53 54
54 if (is_android) { 55 if (is_android) {
55 sources -= [ 56 sources -= [
56 "gcm_account_mapper.cc", 57 "gcm_account_mapper.cc",
57 "gcm_account_mapper.h", 58 "gcm_account_mapper.h",
58 "gcm_channel_status_request.cc", 59 "gcm_channel_status_request.cc",
59 "gcm_channel_status_request.h", 60 "gcm_channel_status_request.h",
60 "gcm_channel_status_syncer.cc", 61 "gcm_channel_status_syncer.cc",
61 "gcm_channel_status_syncer.h", 62 "gcm_channel_status_syncer.h",
62 "gcm_client_factory.cc", 63 "gcm_client_factory.cc",
63 "gcm_client_factory.h", 64 "gcm_client_factory.h",
64 "gcm_client_impl.cc", 65 "gcm_client_impl.cc",
65 "gcm_client_impl.h", 66 "gcm_client_impl.h",
66 "gcm_delayed_task_controller.cc", 67 "gcm_delayed_task_controller.cc",
67 "gcm_delayed_task_controller.h", 68 "gcm_delayed_task_controller.h",
68 "gcm_driver_desktop.cc", 69 "gcm_driver_desktop.cc",
69 "gcm_driver_desktop.h", 70 "gcm_driver_desktop.h",
70 "gcm_stats_recorder_impl.cc", 71 "gcm_stats_recorder_impl.cc",
71 "gcm_stats_recorder_impl.h", 72 "gcm_stats_recorder_impl.h",
72 ] 73 ]
73 deps -= [ 74 deps -= [
75 "//components/timers",
74 "//google_apis/gcm", 76 "//google_apis/gcm",
75 ] 77 ]
76 deps += [ "android:jni_headers" ] 78 deps += [ "android:jni_headers" ]
77 } 79 }
78 } 80 }
79 81
80 static_library("test_support") { 82 static_library("test_support") {
81 testonly = true 83 testonly = true
82 sources = [ 84 sources = [
83 "fake_gcm_app_handler.cc", 85 "fake_gcm_app_handler.cc",
(...skipping 16 matching lines...) Expand all
100 if (is_android) { 102 if (is_android) {
101 sources -= [ 103 sources -= [
102 "fake_gcm_client.cc", 104 "fake_gcm_client.cc",
103 "fake_gcm_client.h", 105 "fake_gcm_client.h",
104 "fake_gcm_client_factory.cc", 106 "fake_gcm_client_factory.cc",
105 "fake_gcm_client_factory.h", 107 "fake_gcm_client_factory.h",
106 ] 108 ]
107 deps -= [ "//google_apis/gcm" ] 109 deps -= [ "//google_apis/gcm" ]
108 } 110 }
109 } 111 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698