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

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

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android Created 4 years, 5 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
« no previous file with comments | « components/gcm_driver/crypto/BUILD.gn ('k') | components/guest_view/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 ]
(...skipping 12 matching lines...) Expand all
29 ] 29 ]
30 sources += [ 30 sources += [
31 "instance_id_android.cc", 31 "instance_id_android.cc",
32 "instance_id_android.h", 32 "instance_id_android.h",
33 ] 33 ]
34 deps += [ "android:jni_headers" ] 34 deps += [ "android:jni_headers" ]
35 } 35 }
36 } 36 }
37 37
38 # GYP version: components/gcm_driver.gypi:instance_id_test_support 38 # GYP version: components/gcm_driver.gypi:instance_id_test_support
39 source_set("test_support") { 39 static_library("test_support") {
40 testonly = true 40 testonly = true
41 sources = [ 41 sources = [
42 "fake_gcm_driver_for_instance_id.cc", 42 "fake_gcm_driver_for_instance_id.cc",
43 "fake_gcm_driver_for_instance_id.h", 43 "fake_gcm_driver_for_instance_id.h",
44 "scoped_use_fake_instance_id_android.cc", 44 "scoped_use_fake_instance_id_android.cc",
45 "scoped_use_fake_instance_id_android.h", 45 "scoped_use_fake_instance_id_android.h",
46 ] 46 ]
47 47
48 public_deps = [ 48 public_deps = [
49 ":instance_id", 49 ":instance_id",
(...skipping 16 matching lines...) Expand all
66 ] 66 ]
67 67
68 deps = [ 68 deps = [
69 ":instance_id", 69 ":instance_id",
70 ":test_support", 70 ":test_support",
71 "//base", 71 "//base",
72 "//google_apis/gcm", 72 "//google_apis/gcm",
73 "//testing/gtest", 73 "//testing/gtest",
74 ] 74 ]
75 } 75 }
OLDNEW
« no previous file with comments | « components/gcm_driver/crypto/BUILD.gn ('k') | components/guest_view/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698