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

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

Issue 394033002: Add gcm, nfc and bluetooth to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/signin.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 static_library("gcm_driver") {
6 sources = [
7 "android/component_jni_registrar.cc",
8 "android/component_jni_registrar.h",
9 "default_gcm_app_handler.cc",
10 "default_gcm_app_handler.h",
11 "gcm_activity.cc",
12 "gcm_activity.h",
13 "gcm_app_handler.cc",
14 "gcm_app_handler.h",
15 "gcm_client.cc",
16 "gcm_client.h",
17 "gcm_client_factory.cc",
18 "gcm_client_factory.h",
19 "gcm_client_impl.cc",
20 "gcm_client_impl.h",
21 "gcm_driver.cc",
22 "gcm_driver.h",
23 "gcm_driver_android.cc",
24 "gcm_driver_android.h",
25 "gcm_driver_desktop.cc",
26 "gcm_driver_desktop.h",
27 "gcm_stats_recorder_impl.cc",
28 "gcm_stats_recorder_impl.h",
29 "system_encryptor.cc",
30 "system_encryptor.h",
31 ]
32
33 deps = [
34 "//base",
35 "//components/os_crypt",
36 "//google_apis/gcm",
37 "//net",
38 ]
39
40 if (is_android) {
41 sources -= [
42 "gcm_client_factory.cc",
43 "gcm_client_factory.h",
44 "gcm_client_impl.cc",
45 "gcm_client_impl.h",
46 "gcm_driver_desktop.cc",
47 "gcm_driver_desktop.h",
48 "gcm_stats_recorder_impl.cc",
49 "gcm_stats_recorder_impl.h",
50 ]
51 deps -= [ "//google_apis/gcm" ]
52 deps += [ ":jni_headers" ]
53 }
54 }
55
56 static_library("test_support") {
57 sources = [
58 "fake_gcm_app_handler.cc",
59 "fake_gcm_app_handler.h",
60 "fake_gcm_client.cc",
61 "fake_gcm_client.h",
62 "fake_gcm_client_factory.cc",
63 "fake_gcm_client_factory.h",
64 "fake_gcm_driver.cc",
65 "fake_gcm_driver.h",
66 ]
67
68 deps = [
69 ":gcm_driver",
70 "//base",
71 "//google_apis/gcm",
72 "//testing/gtest",
73 ]
74
75 if (is_android) {
76 sources -= [
77 "fake_gcm_client.cc",
78 "fake_gcm_client.h",
79 "fake_gcm_client_factory.cc",
80 "fake_gcm_client_factory.h",
81 ]
82 deps -= [ "//google_apis/gcm" ]
83 }
84 }
85
86 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers
OLDNEW
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/signin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698