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 static_library("instance_id") { | 6 static_library("instance_id") { |
7 sources = [ | 7 sources = [ |
8 "android/component_jni_registrar.cc", | 8 "android/component_jni_registrar.cc", |
9 "android/component_jni_registrar.h", | 9 "android/component_jni_registrar.h", |
10 "instance_id.cc", | 10 "instance_id.cc", |
11 "instance_id.h", | 11 "instance_id.h", |
12 "instance_id_driver.cc", | 12 "instance_id_driver.cc", |
13 "instance_id_driver.h", | 13 "instance_id_driver.h", |
14 "instance_id_impl.cc", | 14 "instance_id_impl.cc", |
15 "instance_id_impl.h", | 15 "instance_id_impl.h", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//components/gcm_driver", | |
21 "//crypto", | 20 "//crypto", |
22 ] | 21 ] |
23 allow_circular_includes_from = [ "//components/gcm_driver" ] | |
24 | 22 |
25 if (is_android) { | 23 if (is_android) { |
26 sources -= [ | 24 sources -= [ |
27 "instance_id_impl.cc", | 25 "instance_id_impl.cc", |
28 "instance_id_impl.h", | 26 "instance_id_impl.h", |
29 ] | 27 ] |
30 sources += [ | 28 sources += [ |
31 "instance_id_android.cc", | 29 "instance_id_android.cc", |
32 "instance_id_android.h", | 30 "instance_id_android.h", |
33 ] | 31 ] |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 65 |
68 deps = [ | 66 deps = [ |
69 ":instance_id", | 67 ":instance_id", |
70 ":test_support", | 68 ":test_support", |
71 "//base", | 69 "//base", |
72 "//google_apis/gcm", | 70 "//google_apis/gcm", |
73 "//net:test_support", | 71 "//net:test_support", |
74 "//testing/gtest", | 72 "//testing/gtest", |
75 ] | 73 ] |
76 } | 74 } |
OLD | NEW |