scala_library(
    sources = ["*.scala"],
    compiler_option_sets = ["fatal_warnings"],
    strict_deps = True,
    tags = ["bazel-compatible"],
    dependencies = [
        "3rdparty/jvm/javax/inject:javax.inject",
        "cortex-deepbird/thrift/src/main/thrift:thrift-java",
        "finagle/finagle-http/src/main/scala",
        "finatra-internal/mtls/src/main/scala",
        "finatra/inject/inject-core/src/main/scala/com/twitter/inject",
        "product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate",
        "product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/scorer/common",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/feature/featuremap",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/feature/featuremap/datarecord",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/feature/featuremap/featurestorev1",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/configapi",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/scorer",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/pipeline",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/pipeline/pipeline_failure",
        "scrooge/scrooge-serializer",
        "src/java/com/twitter/ml/api:api-base",
        "src/java/com/twitter/ml/common/base",
        "src/java/com/twitter/ml/prediction/core",
        "src/thrift/com/twitter/ml/prediction_service:prediction_service-java",
        "src/thrift/com/twitter/ml/prediction_service:prediction_service-scala",
        "twml/runtime/src/main/scala/com/twitter/deepbird/runtime/prediction_engine",
    ],
    exports = [
        "cortex-deepbird/thrift/src/main/thrift:thrift-java",
        "product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate",
        "product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/scorer/common",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/feature/featuremap/datarecord",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/configapi",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/scorer",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/pipeline",
        "product-mixer/core/src/main/scala/com/twitter/product_mixer/core/pipeline/pipeline_failure",
        "src/java/com/twitter/ml/prediction/core",
        "src/thrift/com/twitter/ml/prediction_service:prediction_service-java",
        "twml/runtime/src/main/scala/com/twitter/deepbird/runtime/prediction_engine",
    ],
)
