blob: a0e07754555fae14d7c88652758740ddecad26cc [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
johnme2f8daf92016-04-15 18:17:447generate_jni("jni_headers") {
8 sources = [
9 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
10 ]
johnme2f8daf92016-04-15 18:17:4411}
12
johnme8638071c2016-04-22 16:07:3313generate_jni("test_support_jni_headers") {
14 sources = [
15 "javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java",
16 ]
johnme8638071c2016-04-22 16:07:3317}
18
johnme2f8daf92016-04-15 18:17:4419android_library("instance_id_driver_java") {
20 deps = [
Andrew Grieve2ae37012017-08-04 14:16:4321 "$google_play_services_package:google_play_services_iid_java",
johnme2f8daf92016-04-15 18:17:4422 "//base:base_java",
Mohamed Amir Yosef1700f452018-10-29 10:19:4423 "//components/gcm_driver/android:gcm_driver_java",
johnme2f8daf92016-04-15 18:17:4424 ]
25
Richard Knoll882414b82019-08-05 15:19:4826 srcjar_deps =
27 [ "//components/gcm_driver/instance_id:instance_id_java_enums_srcjar" ]
28
johnme2f8daf92016-04-15 18:17:4429 java_files = [
30 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
31 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java",
32 ]
33}
johnme8638071c2016-04-22 16:07:3334
johnme8638071c2016-04-22 16:07:3335android_library("instance_id_driver_test_support_java") {
36 deps = [
37 ":instance_id_driver_java",
Andrew Grieve2ae37012017-08-04 14:16:4338 "$google_play_services_package:google_play_services_iid_java",
johnme8638071c2016-04-22 16:07:3339 "//base:base_java",
johnme8638071c2016-04-22 16:07:3340 ]
41
42 java_files = [ "javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java" ]
43}