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

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 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
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
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", 74 "//components/gcm_driver/proto",
75 "//google_apis/gcm", 75 "//google_apis/gcm",
76 ] 76 ]
77 deps += [ ":jni_headers" ] 77 deps += [ "android:jni_headers" ]
78 } 78 }
79 } 79 }
80 80
81 static_library("test_support") { 81 static_library("test_support") {
82 testonly = true 82 testonly = true
83 sources = [ 83 sources = [
84 "fake_gcm_app_handler.cc", 84 "fake_gcm_app_handler.cc",
85 "fake_gcm_app_handler.h", 85 "fake_gcm_app_handler.h",
86 "fake_gcm_client.cc", 86 "fake_gcm_client.cc",
87 "fake_gcm_client.h", 87 "fake_gcm_client.h",
(...skipping 13 matching lines...) Expand all
101 if (is_android) { 101 if (is_android) {
102 sources -= [ 102 sources -= [
103 "fake_gcm_client.cc", 103 "fake_gcm_client.cc",
104 "fake_gcm_client.h", 104 "fake_gcm_client.h",
105 "fake_gcm_client_factory.cc", 105 "fake_gcm_client_factory.cc",
106 "fake_gcm_client_factory.h", 106 "fake_gcm_client_factory.h",
107 ] 107 ]
108 deps -= [ "//google_apis/gcm" ] 108 deps -= [ "//google_apis/gcm" ]
109 } 109 }
110 } 110 }
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

Powered by Google App Engine
This is Rietveld 408576698