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", |
11 "instance_id_driver.h", | 11 "instance_id_driver.h", |
12 "instance_id_impl.cc", | 12 "instance_id_impl.cc", |
13 "instance_id_impl.h", | 13 "instance_id_impl.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
| 18 "//components/gcm_driver", |
18 "//crypto", | 19 "//crypto", |
19 "//components/gcm_driver", | |
20 ] | 20 ] |
21 | 21 |
22 if (is_android) { | 22 if (is_android) { |
23 sources -= [ | 23 sources -= [ |
24 "instance_id_impl.cc", | 24 "instance_id_impl.cc", |
25 "instance_id_impl.h", | 25 "instance_id_impl.h", |
26 ] | 26 ] |
27 sources += [ | 27 sources += [ |
28 "instance_id_android.cc", | 28 "instance_id_android.cc", |
29 "instance_id_android.h", | 29 "instance_id_android.h", |
(...skipping 21 matching lines...) Expand all Loading... |
51 sources = [ | 51 sources = [ |
52 "instance_id_driver_unittest.cc", | 52 "instance_id_driver_unittest.cc", |
53 ] | 53 ] |
54 | 54 |
55 deps = [ | 55 deps = [ |
56 ":instance_id", | 56 ":instance_id", |
57 ":test_support", | 57 ":test_support", |
58 "//testing/gtest", | 58 "//testing/gtest", |
59 ] | 59 ] |
60 } | 60 } |
OLD | NEW |