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

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: Created 6 years, 3 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 "gcm_delayed_task_controller.h", 59 "gcm_delayed_task_controller.h",
60 "gcm_driver_desktop.cc", 60 "gcm_driver_desktop.cc",
61 "gcm_driver_desktop.h", 61 "gcm_driver_desktop.h",
62 "gcm_stats_recorder_impl.cc", 62 "gcm_stats_recorder_impl.cc",
63 "gcm_stats_recorder_impl.h", 63 "gcm_stats_recorder_impl.h",
64 ] 64 ]
65 deps -= [ 65 deps -= [
66 "//components/gcm_driver/proto", 66 "//components/gcm_driver/proto",
67 "//google_apis/gcm", 67 "//google_apis/gcm",
68 ] 68 ]
69 deps += [ ":jni_headers" ] 69 deps += [ "android:jni_headers" ]
70 } 70 }
71 } 71 }
72 72
73 static_library("test_support") { 73 static_library("test_support") {
74 testonly = true 74 testonly = true
75 sources = [ 75 sources = [
76 "fake_gcm_app_handler.cc", 76 "fake_gcm_app_handler.cc",
77 "fake_gcm_app_handler.h", 77 "fake_gcm_app_handler.h",
78 "fake_gcm_client.cc", 78 "fake_gcm_client.cc",
79 "fake_gcm_client.h", 79 "fake_gcm_client.h",
(...skipping 13 matching lines...) Expand all
93 if (is_android) { 93 if (is_android) {
94 sources -= [ 94 sources -= [
95 "fake_gcm_client.cc", 95 "fake_gcm_client.cc",
96 "fake_gcm_client.h", 96 "fake_gcm_client.h",
97 "fake_gcm_client_factory.cc", 97 "fake_gcm_client_factory.cc",
98 "fake_gcm_client_factory.h", 98 "fake_gcm_client_factory.h",
99 ] 99 ]
100 deps -= [ "//google_apis/gcm" ] 100 deps -= [ "//google_apis/gcm" ]
101 } 101 }
102 } 102 }
103
104 if (is_android) {
105 import("//build/config/android/rules.gni")
106
107 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers
108 generate_jni("jni_headers") {
109 sources = [
110 "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java",
111 ]
112 jni_package = "components/gcm_driver"
113 }
114 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698