view auth/BUILD @ 275:78699f810817

Add Qwen3-VL and WebRTC dictation services Add Bazel targets for the CUDA-backed Qwen3-VL server and a local WebRTC faster-whisper dictation service. Co-authored-by: Copilot <[email protected]> Copilot-Session: e3d8cb06-6c95-4ae0-9757-651d3796ab00
author MrJuneJune <me@mrjunejune.com>
date Mon, 17 Aug 2026 10:58:47 -0700
parents 04fee26ecce0
children b3b547563ec7
line wrap: on
line source

load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_library.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
  name = "auth_crypto",
  srcs = ["auth_crypto.c"],
  hdrs = ["auth_crypto.h"],
  deps = [
    "//dowa:dowa",
    "@openssl//:crypto",
  ],
)

cc_library(
  name = "auth_store",
  srcs = ["auth_store.c"],
  hdrs = ["auth_store.h"],
  deps = [
    ":auth_crypto",
    "//deita:deita",
    "//dowa:dowa",
    "@openssl//:crypto",
  ],
  linkopts = ["-lpthread"],
)

cc_library(
  name = "auth",
  deps = [
    ":auth_crypto",
    ":auth_store",
  ],
)

cc_binary(
  name = "hash_password",
  srcs = ["hash_password.c"],
  deps = [
    ":auth_crypto",
    "@openssl//:crypto",
  ],
)