blob: 9d980403b92aa5c4c75467ec79936fd4b74482d0 [file] [log] [blame]
johnme2f8daf92016-04-15 18:17:441# Copyright 2016 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/android/rules.gni")
6
7# GYP version: components/gcm_driver.gypi:instance_id_driver_jni_headers
8generate_jni("jni_headers") {
9 sources = [
10 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
11 ]
12 jni_package = "components/gcm_driver/instance_id"
13}
14
johnme8638071c2016-04-22 16:07:3315# GYP version: components/gcm_driver.gypi:instance_id_driver_test_support_jni_headers
16generate_jni("test_support_jni_headers") {
17 sources = [
18 "javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java",
19 ]
20 jni_package = "components/gcm_driver/instance_id"
21}
22
johnme2f8daf92016-04-15 18:17:4423# GYP version: components/gcm_driver.gypi:instance_id_driver_java
24android_library("instance_id_driver_java") {
25 deps = [
26 "//base:base_java",
27 google_play_services_library,
28 ]
29
30 java_files = [
31 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
32 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java",
33 ]
34}
johnme8638071c2016-04-22 16:07:3335
36# GYP version: components/gcm_driver.gypi:instance_id_driver_test_support_java
37android_library("instance_id_driver_test_support_java") {
38 deps = [
39 ":instance_id_driver_java",
40 "//base:base_java",
41 google_play_services_library,
42 ]
43
44 java_files = [ "javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java" ]
45}