| 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 import("//build/config/features.gni") |
| 6 |
| 5 # GYP version: components/gcm_driver.gypi:gcm_driver | 7 # GYP version: components/gcm_driver.gypi:gcm_driver |
| 6 static_library("gcm_driver") { | 8 static_library("gcm_driver") { |
| 7 sources = [ | 9 sources = [ |
| 8 "android/component_jni_registrar.cc", | 10 "android/component_jni_registrar.cc", |
| 9 "android/component_jni_registrar.h", | 11 "android/component_jni_registrar.h", |
| 10 "default_gcm_app_handler.cc", | 12 "default_gcm_app_handler.cc", |
| 11 "default_gcm_app_handler.h", | 13 "default_gcm_app_handler.h", |
| 12 "gcm_account_mapper.cc", | 14 "gcm_account_mapper.cc", |
| 13 "gcm_account_mapper.h", | 15 "gcm_account_mapper.h", |
| 14 "gcm_activity.cc", | 16 "gcm_activity.cc", |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 deps = [ | 50 deps = [ |
| 49 "crypto", | 51 "crypto", |
| 50 "//base", | 52 "//base", |
| 51 "//components/gcm_driver/common", | 53 "//components/gcm_driver/common", |
| 52 "//components/os_crypt", | 54 "//components/os_crypt", |
| 53 "//google_apis/gcm", | 55 "//google_apis/gcm", |
| 54 "//net", | 56 "//net", |
| 55 "//sync/protocol", | 57 "//sync/protocol", |
| 56 ] | 58 ] |
| 57 | 59 |
| 58 if (is_chromeos) { | 60 if (use_cros_fe) { |
| 59 deps += [ "//components/timers" ] | 61 deps += [ "//components/timers" ] |
| 60 } | 62 } |
| 61 | 63 |
| 62 if (is_android) { | 64 if (is_android) { |
| 63 sources -= [ | 65 sources -= [ |
| 64 "gcm_account_mapper.cc", | 66 "gcm_account_mapper.cc", |
| 65 "gcm_account_mapper.h", | 67 "gcm_account_mapper.h", |
| 66 "gcm_channel_status_request.cc", | 68 "gcm_channel_status_request.cc", |
| 67 "gcm_channel_status_request.h", | 69 "gcm_channel_status_request.h", |
| 68 "gcm_channel_status_syncer.cc", | 70 "gcm_channel_status_syncer.cc", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 ] | 128 ] |
| 127 | 129 |
| 128 deps = [ | 130 deps = [ |
| 129 ":gcm_driver", | 131 ":gcm_driver", |
| 130 ":test_support", | 132 ":test_support", |
| 131 "//testing/gtest", | 133 "//testing/gtest", |
| 132 "//third_party/protobuf:protobuf_lite", | 134 "//third_party/protobuf:protobuf_lite", |
| 133 ] | 135 ] |
| 134 } | 136 } |
| 135 } | 137 } |
| OLD | NEW |