Index: components/gcm_driver/instance_id/android/BUILD.gn |
diff --git a/components/gcm_driver/instance_id/android/BUILD.gn b/components/gcm_driver/instance_id/android/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a6815e23dac44d7c469088aea7d21741b4c9b77d |
--- /dev/null |
+++ b/components/gcm_driver/instance_id/android/BUILD.gn |
@@ -0,0 +1,23 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/android/rules.gni") |
+ |
+# GYP version: components/gcm_driver.gypi:instance_id_driver_jni_headers |
+generate_jni("jni_headers") { |
+ sources = [ |
+ "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java", |
+ ] |
+ jni_package = "components/gcm_driver/instance_id" |
+} |
+ |
+# GYP version: components/gcm_driver.gypi:instance_id_driver_java |
+android_library("instance_id_driver_java") { |
+ deps = [ |
+ "//base:base_java", |
+ google_play_services_library, |
+ ] |
+ |
+ java_files = [ "java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java" ] |
+} |