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

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

Issue 1830983002: Implement InstanceIDAndroid using InstanceIDWithSubtype.java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid1subtype
Patch Set: Make mNativeInstanceIDAndroid non-final Created 4 years, 8 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
OLDNEW
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 "android/component_jni_registrar.cc",
9 "android/component_jni_registrar.h",
8 "instance_id.cc", 10 "instance_id.cc",
9 "instance_id.h", 11 "instance_id.h",
10 "instance_id_driver.cc", 12 "instance_id_driver.cc",
11 "instance_id_driver.h", 13 "instance_id_driver.h",
12 "instance_id_impl.cc", 14 "instance_id_impl.cc",
13 "instance_id_impl.h", 15 "instance_id_impl.h",
14 ] 16 ]
15 17
16 deps = [ 18 deps = [
17 "//base", 19 "//base",
18 "//components/gcm_driver", 20 "//components/gcm_driver",
19 "//crypto", 21 "//crypto",
20 ] 22 ]
21 allow_circular_includes_from = [ "//components/gcm_driver" ] 23 allow_circular_includes_from = [ "//components/gcm_driver" ]
22 24
23 if (is_android) { 25 if (is_android) {
24 sources -= [ 26 sources -= [
25 "instance_id_impl.cc", 27 "instance_id_impl.cc",
26 "instance_id_impl.h", 28 "instance_id_impl.h",
27 ] 29 ]
28 sources += [ 30 sources += [
29 "instance_id_android.cc", 31 "instance_id_android.cc",
30 "instance_id_android.h", 32 "instance_id_android.h",
31 ] 33 ]
34 deps += [ "android:jni_headers" ]
32 } 35 }
33 } 36 }
34 37
35 # GYP version: components/gcm_driver.gypi:instance_id_test_support 38 # GYP version: components/gcm_driver.gypi:instance_id_test_support
36 source_set("test_support") { 39 source_set("test_support") {
37 testonly = true 40 testonly = true
38 sources = [ 41 sources = [
39 "fake_gcm_driver_for_instance_id.cc", 42 "fake_gcm_driver_for_instance_id.cc",
40 "fake_gcm_driver_for_instance_id.h", 43 "fake_gcm_driver_for_instance_id.h",
41 ] 44 ]
(...skipping 13 matching lines...) Expand all
55 ] 58 ]
56 59
57 deps = [ 60 deps = [
58 ":instance_id", 61 ":instance_id",
59 ":test_support", 62 ":test_support",
60 "//base", 63 "//base",
61 "//google_apis/gcm", 64 "//google_apis/gcm",
62 "//testing/gtest", 65 "//testing/gtest",
63 ] 66 ]
64 } 67 }
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_driver_android.cc ('k') | components/gcm_driver/instance_id/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698