blob: e5b2483fa3b0789a47a24b9f719cd252636b9da8 [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
26 java_files = [
27 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
28 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java",
29 ]
30}
johnme8638071c2016-04-22 16:07:3331
johnme8638071c2016-04-22 16:07:3332android_library("instance_id_driver_test_support_java") {
33 deps = [
34 ":instance_id_driver_java",
Andrew Grieve2ae37012017-08-04 14:16:4335 "$google_play_services_package:google_play_services_iid_java",
johnme8638071c2016-04-22 16:07:3336 "//base:base_java",
johnme8638071c2016-04-22 16:07:3337 ]
38
39 java_files = [ "javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java" ]
40}