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

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

Issue 570203002: Make chrome_shell_apk build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-jamesr
Patch Set: Rebase add chrome_version_java/page_connection_info_javagen Created 6 years, 2 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.gypi ('k') | components/gcm_driver/android/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:gcm_driver 5 # GYP version: components/gcm_driver.gypi:gcm_driver
6 static_library("gcm_driver") { 6 static_library("gcm_driver") {
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 "default_gcm_app_handler.cc", 10 "default_gcm_app_handler.cc",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "gcm_client_impl.cc", 64 "gcm_client_impl.cc",
65 "gcm_client_impl.h", 65 "gcm_client_impl.h",
66 "gcm_delayed_task_controller.cc", 66 "gcm_delayed_task_controller.cc",
67 "gcm_delayed_task_controller.h", 67 "gcm_delayed_task_controller.h",
68 "gcm_driver_desktop.cc", 68 "gcm_driver_desktop.cc",
69 "gcm_driver_desktop.h", 69 "gcm_driver_desktop.h",
70 "gcm_stats_recorder_impl.cc", 70 "gcm_stats_recorder_impl.cc",
71 "gcm_stats_recorder_impl.h", 71 "gcm_stats_recorder_impl.h",
72 ] 72 ]
73 deps -= [ 73 deps -= [
74 "//components/gcm_driver/proto",
75 "//google_apis/gcm", 74 "//google_apis/gcm",
76 ] 75 ]
77 deps += [ ":jni_headers" ] 76 deps += [ "android:jni_headers" ]
78 } 77 }
79 } 78 }
80 79
81 static_library("test_support") { 80 static_library("test_support") {
82 testonly = true 81 testonly = true
83 sources = [ 82 sources = [
84 "fake_gcm_app_handler.cc", 83 "fake_gcm_app_handler.cc",
85 "fake_gcm_app_handler.h", 84 "fake_gcm_app_handler.h",
86 "fake_gcm_client.cc", 85 "fake_gcm_client.cc",
87 "fake_gcm_client.h", 86 "fake_gcm_client.h",
(...skipping 13 matching lines...) Expand all
101 if (is_android) { 100 if (is_android) {
102 sources -= [ 101 sources -= [
103 "fake_gcm_client.cc", 102 "fake_gcm_client.cc",
104 "fake_gcm_client.h", 103 "fake_gcm_client.h",
105 "fake_gcm_client_factory.cc", 104 "fake_gcm_client_factory.cc",
106 "fake_gcm_client_factory.h", 105 "fake_gcm_client_factory.h",
107 ] 106 ]
108 deps -= [ "//google_apis/gcm" ] 107 deps -= [ "//google_apis/gcm" ]
109 } 108 }
110 } 109 }
111
112 if (is_android) {
113 import("//build/config/android/rules.gni")
114
115 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers
116 generate_jni("jni_headers") {
117 sources = [
118 "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java",
119 ]
120 jni_package = "components/gcm_driver"
121 }
122 }
OLDNEW
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698