OLD | NEW |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 deps = [ | 48 deps = [ |
49 "crypto", | 49 "crypto", |
50 "//base", | 50 "//base", |
51 "//components/gcm_driver/common", | 51 "//components/gcm_driver/common", |
52 "//components/os_crypt", | 52 "//components/os_crypt", |
53 "//google_apis/gcm", | 53 "//google_apis/gcm", |
54 "//net", | 54 "//net", |
55 "//sync/protocol", | 55 "//sync/protocol", |
56 ] | 56 ] |
57 | 57 |
58 if (is_chromeos) { | 58 if (is_chromeos_ui) { |
59 deps += [ "//components/timers" ] | 59 deps += [ "//components/timers" ] |
60 } | 60 } |
61 | 61 |
62 if (is_android) { | 62 if (is_android) { |
63 sources -= [ | 63 sources -= [ |
64 "gcm_account_mapper.cc", | 64 "gcm_account_mapper.cc", |
65 "gcm_account_mapper.h", | 65 "gcm_account_mapper.h", |
66 "gcm_channel_status_request.cc", | 66 "gcm_channel_status_request.cc", |
67 "gcm_channel_status_request.h", | 67 "gcm_channel_status_request.h", |
68 "gcm_channel_status_syncer.cc", | 68 "gcm_channel_status_syncer.cc", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 ] | 126 ] |
127 | 127 |
128 deps = [ | 128 deps = [ |
129 ":gcm_driver", | 129 ":gcm_driver", |
130 ":test_support", | 130 ":test_support", |
131 "//testing/gtest", | 131 "//testing/gtest", |
132 "//third_party/protobuf:protobuf_lite", | 132 "//third_party/protobuf:protobuf_lite", |
133 ] | 133 ] |
134 } | 134 } |
135 } | 135 } |
OLD | NEW |