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

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

Issue 2690163008: Route through a JobService when receiving a message for the GCM Driver (Closed)
Patch Set: Route through a JobService when receiving a message for the GCM Driver Created 3 years, 9 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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 6
7 generate_jni("jni_headers") { 7 generate_jni("jni_headers") {
8 sources = [ 8 sources = [
9 "java/src/org/chromium/components/gcm_driver/GCMDriver.java", 9 "java/src/org/chromium/components/gcm_driver/GCMDriver.java",
10 ] 10 ]
11 jni_package = "components/gcm_driver" 11 jni_package = "components/gcm_driver"
12 } 12 }
13 13
14 android_library("gcm_driver_java") { 14 android_library("gcm_driver_java") {
15 deps = [ 15 deps = [
16 "//base:base_java", 16 "//base:base_java",
17 "//content/public/android:content_java", 17 "//content/public/android:content_java",
18 "//third_party/android_tools:android_gcm_java", 18 "//third_party/android_tools:android_gcm_java",
19 "//third_party/jsr-305:jsr_305_javalib", 19 "//third_party/jsr-305:jsr_305_javalib",
20 ] 20 ]
21 21
22 java_files = [ 22 java_files = [
23 "java/src/org/chromium/components/gcm_driver/GCMDriver.java", 23 "java/src/org/chromium/components/gcm_driver/GCMDriver.java",
24 "java/src/org/chromium/components/gcm_driver/GCMMessage.java",
24 "java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingSubscriber. java", 25 "java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingSubscriber. java",
25 "java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java", 26 "java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java",
26 ] 27 ]
27 } 28 }
29
30 junit_binary("components_gcm_driver_junit_tests") {
31 java_files =
32 [ "junit/src/org/chromium/components/gcm_driver/GCMMessageTest.java" ]
33 deps = [
34 ":gcm_driver_java",
35 "//base:base_java",
36 "//base:base_java_test_support",
37 "//third_party/hamcrest:hamcrest_java",
38 ]
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698