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 static_library("gcm_driver") { | 5 static_library("gcm_driver") { |
6 sources = [ | 6 sources = [ |
7 "android/component_jni_registrar.cc", | 7 "android/component_jni_registrar.cc", |
8 "android/component_jni_registrar.h", | 8 "android/component_jni_registrar.h", |
9 "default_gcm_app_handler.cc", | 9 "default_gcm_app_handler.cc", |
10 "default_gcm_app_handler.h", | 10 "default_gcm_app_handler.h", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 ] | 59 ] |
60 deps -= [ | 60 deps -= [ |
61 "//components/gcm_driver/proto", | 61 "//components/gcm_driver/proto", |
62 "//google_apis/gcm", | 62 "//google_apis/gcm", |
63 ] | 63 ] |
64 deps += [ ":jni_headers" ] | 64 deps += [ ":jni_headers" ] |
65 } | 65 } |
66 } | 66 } |
67 | 67 |
68 static_library("test_support") { | 68 static_library("test_support") { |
| 69 testonly = true |
69 sources = [ | 70 sources = [ |
70 "fake_gcm_app_handler.cc", | 71 "fake_gcm_app_handler.cc", |
71 "fake_gcm_app_handler.h", | 72 "fake_gcm_app_handler.h", |
72 "fake_gcm_client.cc", | 73 "fake_gcm_client.cc", |
73 "fake_gcm_client.h", | 74 "fake_gcm_client.h", |
74 "fake_gcm_client_factory.cc", | 75 "fake_gcm_client_factory.cc", |
75 "fake_gcm_client_factory.h", | 76 "fake_gcm_client_factory.h", |
76 "fake_gcm_driver.cc", | 77 "fake_gcm_driver.cc", |
77 "fake_gcm_driver.h", | 78 "fake_gcm_driver.h", |
78 ] | 79 ] |
(...skipping 10 matching lines...) Expand all Loading... |
89 "fake_gcm_client.cc", | 90 "fake_gcm_client.cc", |
90 "fake_gcm_client.h", | 91 "fake_gcm_client.h", |
91 "fake_gcm_client_factory.cc", | 92 "fake_gcm_client_factory.cc", |
92 "fake_gcm_client_factory.h", | 93 "fake_gcm_client_factory.h", |
93 ] | 94 ] |
94 deps -= [ "//google_apis/gcm" ] | 95 deps -= [ "//google_apis/gcm" ] |
95 } | 96 } |
96 } | 97 } |
97 | 98 |
98 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers | 99 #TODO(GYP) gcm_driver_java gcm_driver_jni_headers |
OLD | NEW |