blob: 6168aff07e3d74d1a772b415696eb60e19c2e6c0 [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
15# GYP version: components/gcm_driver.gypi:instance_id_driver_java
16android_library("instance_id_driver_java") {
17 deps = [
18 "//base:base_java",
19 google_play_services_library,
20 ]
21
22 java_files = [
23 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
24 "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java",
25 ]
26}