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

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

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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/BUILD.gn ('k') | components/metrics/BUILD.gn » ('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 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
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
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 }
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698