blob: aad7a57d01469d8c54207efff508e764de5f771d [file] [log] [blame]
# Copyright 2020 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")
android_library("java") {
sources = [ "java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchConfiguration.java" ]
deps = [
"//base:base_java",
"//chrome/browser/flags:java",
"//chrome/browser/profiles/android:java",
]
annotation_processor_deps = [ "//base/android/jni_generator:jni_processor" ]
}
generate_jni("jni_headers") {
sources = [ "java/src/org/chromium/chrome/browser/offlinepages/prefetch/PrefetchConfiguration.java" ]
}
generate_jni("native_j_unittests_jni_headers") {
testonly = true
sources = [ "java/src/org/chromium/chrome/browser/offlinepages/measurements/OfflineMeasurementsTestHelper.java" ]
}
android_library("native_java_unittests") {
testonly = true
deps = [
"//base:base_java",
"//chrome/browser/preferences:java",
"//third_party/android_deps:protobuf_lite_runtime_java",
]
sources = [ "java/src/org/chromium/chrome/browser/offlinepages/measurements/OfflineMeasurementsTestHelper.java" ]
}