OLD | NEW |
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 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers | 7 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers |
8 generate_jni("jni_headers") { | 8 generate_jni("jni_headers") { |
9 sources = [ | 9 sources = [ |
10 "java/src/org/chromium/components/gcm_driver/GCMDriver.java", | 10 "java/src/org/chromium/components/gcm_driver/GCMDriver.java", |
11 ] | 11 ] |
12 jni_package = "components/gcm_driver" | 12 jni_package = "components/gcm_driver" |
13 } | 13 } |
14 | 14 |
15 # GYP version: components/gcm_driver.gypi:gcm_driver_java | 15 # GYP version: components/gcm_driver.gypi:gcm_driver_java |
16 android_library("gcm_driver_java") { | 16 android_library("gcm_driver_java") { |
17 deps = [ | 17 deps = [ |
18 "//base:base_java", | 18 "//base:base_java", |
19 "//content/public/android:content_java", | 19 "//content/public/android:content_java", |
20 "//sync/android:sync_java", | 20 "//sync/android:sync_java", |
21 "//third_party/android_tools:android_gcm_java", | 21 "//third_party/android_tools:android_gcm_java", |
22 "//third_party/cacheinvalidation:cacheinvalidation_javalib", | 22 "//third_party/cacheinvalidation:cacheinvalidation_javalib", |
23 "//third_party/jsr-305:jsr_305_javalib", | 23 "//third_party/jsr-305:jsr_305_javalib", |
24 ] | 24 ] |
25 | 25 |
26 DEPRECATED_java_in_dir = "java/src" | 26 java_files = [ |
| 27 "java/src/org/chromium/components/gcm_driver/FakeGoogleCloudMessagingSubscri
ber.java", |
| 28 "java/src/org/chromium/components/gcm_driver/GCMDriver.java", |
| 29 "java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingSubscriber.
java", |
| 30 "java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java", |
| 31 ] |
27 } | 32 } |
OLD | NEW |