load("@fbsource//tools/build_defs/android:fb_android_library.bzl", "fb_android_library")

fb_android_library(
    name = "core",
    srcs = glob(["*.java"]),
    provided_deps = [
        "//third-party/android/support-annotations:android-support-annotations",
        "//third-party/android/support-new:support-v4",
    ],
    required_for_source_only_abi = True,
    tests = [
        "//libraries/batterymetrics/metrics/src/test/java/com/facebook/battery/metrics/core:core",
    ],
    visibility = [
        "//java/com/facebook/battery/metrics/core:core",
        "//libraries/batterymetrics/...",
    ],
    exported_deps = [
        "//third-party/android/support-annotations:android-support-annotations",
        "//third-party/java/infer-annotations:infer-annotations",
        "//third-party/java/jsr-305:jsr-305",
    ],
)
