naiveproxy/components/gcm_driver/instance_id/android/BUILD.gn
2018-08-11 05:35:24 +00:00

42 lines
1.2 KiB
Plaintext

# 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")
generate_jni("jni_headers") {
sources = [
"java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
]
jni_package = "components/gcm_driver/instance_id"
}
generate_jni("test_support_jni_headers") {
sources = [
"javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java",
]
jni_package = "components/gcm_driver/instance_id"
}
android_library("instance_id_driver_java") {
deps = [
"$google_play_services_package:google_play_services_iid_java",
"//base:base_java",
]
java_files = [
"java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDBridge.java",
"java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java",
]
}
android_library("instance_id_driver_test_support_java") {
deps = [
":instance_id_driver_java",
"$google_play_services_package:google_play_services_iid_java",
"//base:base_java",
]
java_files = [ "javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java" ]
}