naiveproxy/components/gcm_driver/android/BUILD.gn

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
# Copyright 2014 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/GCMDriver.java",
]
jni_package = "components/gcm_driver"
}
android_library("gcm_driver_java") {
deps = [
"//base:base_java",
"//content/public/android:content_java",
"//third_party/android_tools:android_gcm_java",
"//third_party/jsr-305:jsr_305_javalib",
]
java_files = [
"java/src/org/chromium/components/gcm_driver/GCMDriver.java",
"java/src/org/chromium/components/gcm_driver/GCMMessage.java",
"java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingSubscriber.java",
"java/src/org/chromium/components/gcm_driver/GoogleCloudMessagingV2.java",
]
}
junit_binary("components_gcm_driver_junit_tests") {
java_files =
[ "junit/src/org/chromium/components/gcm_driver/GCMMessageTest.java" ]
deps = [
":gcm_driver_java",
"//base:base_java",
"//base:base_java_test_support",
"//base:base_junit_test_support",
"//third_party/hamcrest:hamcrest_java",
]
}