Mercurial
view auth/BUILD @ 281:c57149ad216e default tip
Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 18 Aug 2026 22:18:15 -0700 |
| parents | b3b547563ec7 |
| children |
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_http", srcs = ["auth_http.c"], hdrs = ["auth_http.h"], deps = [ ":auth_crypto", ":auth_store", "//dowa:dowa", "//seobeo:seobeo", "@openssl//:crypto", ], ) cc_library( name = "auth", deps = [ ":auth_crypto", ":auth_http", ":auth_store", ], ) cc_binary( name = "hash_password", srcs = ["hash_password.c"], deps = [ ":auth_crypto", "@openssl//:crypto", ], )