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:instance_id_driver | 5 # GYP version: components/gcm_driver.gypi:instance_id_driver |
6 source_set("instance_id") { | 6 source_set("instance_id") { |
7 sources = [ | 7 sources = [ |
8 "instance_id.cc", | 8 "instance_id.cc", |
9 "instance_id.h", | 9 "instance_id.h", |
10 "instance_id_driver.cc", | 10 "instance_id_driver.cc", |
(...skipping 16 matching lines...) Expand all Loading... |
27 sources += [ | 27 sources += [ |
28 "instance_id_android.cc", | 28 "instance_id_android.cc", |
29 "instance_id_android.h", | 29 "instance_id_android.h", |
30 ] | 30 ] |
31 } | 31 } |
32 } | 32 } |
33 | 33 |
34 source_set("test_support") { | 34 source_set("test_support") { |
35 testonly = true | 35 testonly = true |
36 sources = [ | 36 sources = [ |
37 "fake_instance_id_driver.cc", | 37 "fake_gcm_driver_for_instance_id.cc", |
38 "fake_instance_id_driver.h", | 38 "fake_gcm_driver_for_instance_id.h", |
39 ] | 39 ] |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 ":instance_id", | 42 ":instance_id", |
| 43 "//components/gcm_driver:test_support", |
43 "//testing/gtest", | 44 "//testing/gtest", |
44 ] | 45 ] |
45 } | 46 } |
OLD | NEW |